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 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 /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libaudiofile.a when searching for -laudiofile /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../libaudiofile.so when searching for -laudiofile /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../libaudiofile.a when searching for -laudiofile /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 /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/lib64/libaudiofile.a when searching for -laudiofile /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -laudiofile collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [wineesd.drv.so] Error 2 make[2]: Leaving directory `/home/quacker/install/wine-0.9.20/dlls/winmm/wineesd' make[1]: *** [winmm/wineesd] Error 2 make[1]: Leaving directory `/home/quacker/install/wine-0.9.20/dlls' make: *** [dlls] Error 2 I assume that there is either some additional library that is needed, or a parm on the configure, but I do not have a clue as to what is missing. Any assistance in getting this to finish compilation would be greatly appreciated. Thanx in advance Rich
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 && makeSometime 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 > -laudiofileActually 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.
On 2007-01-03, richardrosa <richardrosa@yahoo.com> 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 > > The compilation chugs away for about 15 min, and then stops with the > following messages: > .... > ... > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: > skipping incompatible /usr/lib64/libaudiofile.a when searching for > -laudiofile > /usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: > cannot find -laudiofile > collect2: ld returned 1 exit status > winegcc: gcc failed. > make[2]: *** [wineesd.drv.so] Error 2 > make[2]: Leaving directory > `/home/quacker/install/wine-0.9.20/dlls/winmm/wineesd' > make[1]: *** [winmm/wineesd] Error 2 > make[1]: Leaving directory `/home/quacker/install/wine-0.9.20/dlls' > make: *** [dlls] Error 2 > > > I assume that there is either some additional library that is needed, > or a parm on the configure, but I do not have a clue as to what is > missing. > > Any assistance in getting this to finish compilation would be greatly > appreciated.Until somebody who knows something responds... The above messages would lead me to believe the linker was not finding a 32-bit version of the audiofile library. Are you sure that's one of the 32-bit libraries you installed? Worse case, if you don't need audio, perhaps there is an option to Wine's .configure that will disable compilation of audio-related stuff. -- Robert Riches spamtrap42@verizon.net (Yes, that is one of my email addresses.)
Markus Kossmann wrote:> 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.Thanx. That was the answer. The link to libaudiofile was what was missing. Compile finished with the addition of : ln -s /usr/lib/libaudiofile.so.0 /usr/lib/libaudiofile.so (There already was a link for libesd.so. ) Thanx again to all for your help! Rich