[Wine] wine-0.9.2 compile problems under suse10-x86_64

Peter Beutner p.beutner at gmx.net
Wed Dec 7 13:55:53 CST 2005


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 -lXext
Thats 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



More information about the wine-users mailing list