wine cross-compilation and SONAME*

Grazvydas Ignotas notasas at gmail.com
Sun Jan 22 17:02:48 CST 2012


Hi,

cross-compiling wine to arm-linux fails with:
../../../wine/dlls/winex11.drv/x11drv_main.c: In function ‘process_attach’:
../../../wine/dlls/winex11.drv/x11drv_main.c:527: error:
‘SONAME_LIBX11’ undeclared (first use in this function)

This is because WINE_CHECK_SONAME in configure tries to run ldd on a
compiled test executable which fails, since host ldd knows nothing
about ARM, and all SONAME_* entries end up missing in ocnfig.h .
Running configure with LDD='/usr/bin/strings' helps, would it make
sense for configure to use something like strings instead of ldd when
cross-compiling?

-- 
Gražvydas



More information about the wine-devel mailing list