compiling wine for amd64 on ubuntu dapper 6.06

Gerald Britton gerald.britton at gmail.com
Mon Oct 2 08:18:52 CDT 2006


Looking at config.log, I see these messages:

configure:9418: checking for glXCreateContext in -lGL
configure:9453: gcc -m32 -o conftest -g -O2    conftest.c -lGL
-L/usr/X11R6/lib -lXext -lX11 -lm   >&5
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../libGL.so when searching
for -lGL
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libGL.so when
searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib/libGL.so when searching for -lGL
/usr/bin/ld: cannot find -lGL


How does .configure determine that libGL is incompatible?

Also the second problem is much worse as it stops the make altogether:

> > Relocatable linking with relocations from format elf64-x86-64
> > (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.ArPHdq.o)
> > is not supported



On 10/2/06, Damjan Jovanovic <damjan.jov at gmail.com> wrote:
> On 9/29/06, Gerald Britton <gerald.britton at gmail.com> wrote:
> > Hi -- I'm trying to get wine going on my ubuntu dapper installation on
> > an amd 64 box. I have followed the wiki instructions in
> > http://wiki.winehq.org/WineOn64bit for ubuntu and rechecked my work.
> > Two things go wrong:
> >
> > 1. /configure can't find opengl, and produces these messages:
> >
> > configure: WARNING: Wine will be build without OpenGL or Direct3D support
> > configure: WARNING: because something is wrong with the OpenGL setup:
> > configure: WARNING: No OpenGL library found on this system.
>
> It's been a while since I compiled wine on my Ubuntu Dapper (32-bit)
> box, but I had to install (too) many packages, among others
> nvidia-glx-dev and maybe even some mesa ones, to get wine to detect
> OpenGL. Are you sure you've got everything? Try building and running
> some OpenGL samples.
>
> Start by looking at config.log to see why wine didn't detect it.
>
> > 2. make depend works, but make all fails with this:
> >
> > LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc
> > --nostdinc -I. -I. -I../../include -I../../include
> > -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_  -foversion.res
> > version.rc
> > ../../tools/winegcc/winegcc -B../../tools/winebuild -shared
> > ./gdi32.spec dispdib.spec.o gdi.exe.spec.o wing.spec.o bidi16.o
> > dispdib.o env.o gdi16.o metafile16.o wing.o  bidi.o bitblt.o bitmap.o
> > brush.o clipping.o dc.o dib.o driver.o enhmetafile.o enhmfdrv/bitblt.o
> > enhmfdrv/dc.o enhmfdrv/graphics.o enhmfdrv/init.o enhmfdrv/mapping.o
> > enhmfdrv/objects.o font.o freetype.o gdi_main.o gdiobj.o icm.o
> > mapping.o metafile.o mfdrv/bitblt.o mfdrv/dc.o mfdrv/graphics.o
> > mfdrv/init.o mfdrv/mapping.o mfdrv/objects.o mfdrv/text.o painting.o
> > palette.o path.o pen.o printdrv.o region.o    version.res   -o
> > gdi32.dll.so  -ladvapi32 -lkernel32 -lntdll  /usr/lib/libsicuuc.a
> > /usr/lib/libsicudata.a -lstdc++ -lgcc_s ../../libs/port/libwine_port.a
> > -L/lib32 -L/usr/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32
> > ld: Relocatable linking with relocations from format elf64-x86-64
> > (/usr/lib/libsicuuc.a(ubidi.ao)) to format elf32-i386 (gdi32.ArPHdq.o)
> > is not supported
> > winebuild: ld -m elf_i386 -r failed with status 256
> > winegcc: ../../tools/winebuild/winebuild failed.
> > make[2]: *** [gdi32.dll.so] Error 2
> > make[2]: Leaving directory `/tmp/wine-0.9.22/dlls/gdi'
> > make[1]: *** [gdi] Error 2
> > make[1]: Leaving directory `/tmp/wine-0.9.22/dlls'
> > make: *** [dlls] Error 2
> >
> >
> >
> > I'm not sure what to do now.  Any feedback/suggestions would be appreciated.
> >
> >
> >
>



More information about the wine-devel mailing list