Hartmut Wziontek
2005-Dec-06 06:05 UTC
[Wine] wine-0.9.2 compile problems under suse10-x86_64
hello all, cannot compile wine Version 0.9.2 under suse10-x86_64, neither from source nor from the src-rpm. there must be some trouble between libraries: ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec clip per.o ddraw_hal.o ddraw_main.o ddraw_thunks.o ddraw_user.o ddraw_utils.o main.o palette_hal.o palette_main.o regsvr.o surface_dib.o surface_fakezbuffer.o surfac e_gamma.o surface_hal.o surface_main.o surface_thunks.o surface_user.o surface_w ndproc.o version.res -o ddraw.dll.so -L../../dlls -L../../dlls/ole32 -L../../ dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -lole 32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -ldxguid -lu uid -L/usr/X11R6/lib64 -lXext -lX11 -L../../libs/port -lwine_port /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ski pping incompatible /usr/X11R6/lib64/libXext.so when searching for -lXext /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ski pping incompatible /usr/X11R6/lib64/libXext.a when searching for -lXext /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: can not find -lXext collect2: ld returned 1 exit status winegcc: gcc failed. make[2]: *** [ddraw.dll.so] Fehler 2 make[2]: Leaving directory `/usr/src/packages/BUILD/wine-0.9.2/dlls/ddraw' make[1]: *** [ddraw] Fehler 2 make[1]: Leaving directory `/usr/src/packages/BUILD/wine-0.9.2/dlls' make: *** [dlls] Fehler 2 error: Bad exit status from /var/tmp/rpm-tmp.75894 (%build) library libXext.a exists in /usr/X11R6/lib (32bit?) and /usr/X11R6/lib64 have no idea what to do... cheers - hartmut
Peter Beutner
2005-Dec-07 13:53 UTC
[Wine] wine-0.9.2 compile problems under suse10-x86_64
Hartmut Wziontek schrieb:> hello all, > > cannot compile wine Version 0.9.2 under suse10-x86_64, neither from source > nor from the src-rpm. there must be some trouble between libraries: > > ../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./ddraw.spec clip > per.o ddraw_hal.o ddraw_main.o ddraw_thunks.o ddraw_user.o ddraw_utils.o main.o > palette_hal.o palette_main.o regsvr.o surface_dib.o surface_fakezbuffer.o surfac > e_gamma.o surface_hal.o surface_main.o surface_thunks.o surface_user.o surface_w > ndproc.o version.res -o ddraw.dll.so -L../../dlls -L../../dlls/ole32 -L../../ > dlls/user32 -L../../dlls/gdi32 -L../../dlls/advapi32 -L../../dlls/kernel32 -lole > 32 -luser32 -lgdi32 -ladvapi32 -lkernel32 -L../../libs/wine -lwine -ldxguid -lu > uid -L/usr/X11R6/lib64 -lXext -lX11 -L../../libs/port -lwine_port^^^^^^^^^^^^^^^^^^^^ You point it to the 64bit libraries.Which won't work with wine.> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: ski > pping incompatible /usr/X11R6/lib64/libXext.so when searching for -lXextThats why it is skipping the found libXext.so.And complains about not finding a suitable one. Im not sure who to blame for this(the configure script or your setup) but you could try to look for the string(/usr/X11R6/lib64), which should be somewhere in the Makefiles and change it to /usr/X11R6/lib32. Or add -L/usr/X11R6/lib32 as an extra cflag. Of course if you could find out why configure chooses the wrong directory at all that would be nice as well ;) Peter
John Drescher
2007-Feb-14 11:11 UTC
[Wine] wine-0.9.2 compile problems under suse10-x86_64
On 2/13/07, rens <rens.groenewegen@xs4all.nl> wrote:> hi > > I had the same problem. > checking the configure.log, at the point where configure tries to find > out how to use the -R option with GCC > and gcc complains about an unknown option twice ( with or without space > after "-R" does not work ) > > I suppose that will lead to non-defined variables, after which .... etc > , etc. >0.9.2 are you sure? You do know the current version of wine is 0.9.30? John
John Drescher
2007-Feb-14 14:05 UTC
[Wine] wine-0.9.2 compile problems under suse10-x86_64
Sorry. The title of your message said "wine-0.9.2 compile problems under suse10-x86_64" and I thought that was odd. Could you post a copy of the exact error to the mailing list as its hard to help with the info provided. John On 2/14/07, rens <rens.groenewegen@xs4all.nl> wrote:> my version is 0.9.30 > > runs on x86_64 dual core AMD > kernel is 2.6.16.21-0.25-smp > suse 10.1 > rens >