[Wine] Re: 64 bit compilation SUSE 10.2

Markus Kossmann markus.kossmann at inka.de
Mon Mar 19 00:52:50 CDT 2007


richardrosa wrote:

> Greetings All,
> 
>   I am attempting to compile wine under the SUSE 10.2 64 bit
> distribution, and am running into a bit of
> a problem.
> 
>   I have installed every 32 bit library that I could find in the
> distro, including  the xorg-X11 libs. I ran the following commands:
> 
>   ./configure --prefix=/usr --x-libraries=/usr/X11R6/lib
>   make depend && make
Sometime ago a also tried that and didn't succeed 

>  The compilation chugs away for about 15 min, and then stops with the
> following messages:
>    ....
> gcc -m32 -c -I. -I. -I../../../include -I../../../include
> -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
> -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -g -O2  -o
> esound.o esound.c
> gcc -m32 -c -I. -I. -I../../../include -I../../../include
> -D__WINESRC__  -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
> -gstabs+ -Wdeclaration-after-statement -Wpointer-arith  -g -O2  -o
> audio.o audio.c
> ../../../tools/winegcc/winegcc -B../../../tools/winebuild -shared
> ./wineesd.drv.spec    esound.o audio.o     -o wineesd.drv.so -lwinmm
> -luser32 -lkernel32  -L/usr/lib64 -lesd -laudiofile -lm -lasound
> -ldxguid -luuid ../../../libs/port/libwine_port.a
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> skipping incompatible /usr/lib64/libesd.so when searching for -lesd
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> skipping incompatible /usr/lib64/libesd.a when searching for -lesd
> /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld:
> skipping incompatible /usr/lib64/libaudiofile.so when searching for
> -laudiofile
Actually the problem here is that there no 32bit libesd.so (without any
version number) or libesd.a in /usr/lib available. So ld tries to use the
64bit version in /usr/lib64 and fails. Workaround: Make a
link /usr/lib/libesd.so -> /usr/lib/libesd.so.0. The same thing for
libaudiofile.
And you might also have a look at the /usr/bin/linux32 command to fake a
32bit environment when configuring/compiling wine.


More information about the wine-users mailing list