Compiling Wine on Fedora 7 64-bit (opengl fails)

Paul Vriens paul.vriens.wine at gmail.com
Tue Jun 19 11:06:45 CDT 2007


Hi,

I'm a total newbie to the 64-bit world (just built a system this weekend) and 
now I'm trying to get Wine compiled.

It fails with (the first failure that is):

LD_LIBRARY_PATH="../../libs/wine:$LD_LIBRARY_PATH" ../../tools/wrc/wrc 
--nostdinc -I. -I. -I../../include -I../../include  -D__WINESRC__ 
-foversion.res version.rc
../../tools/winegcc/winegcc -B../../tools/winebuild -shared ./opengl32.spec 
opengl_ext.o opengl_norm.o wgl.o     version.res    -o opengl32.dll.so  -luser32 
-lgdi32 -ladvapi32 -lkernel32 -lntdll  -L/usr/lib64  -lSM -lICE -lXxf86vm -lXext 
-lX11  -lGL ../../libs/port/libwine_port.a
/usr/bin/ld: skipping incompatible /usr/lib64/libSM.so when searching for -lSM
/usr/bin/ld: skipping incompatible /usr/lib64/libICE.so when searching for -lICE
/usr/bin/ld: skipping incompatible /usr/lib64/libXxf86vm.so when searching for 
-lXxf86vm
/usr/bin/ld: skipping incompatible /usr/lib64/libXext.so when searching for -lXext
/usr/bin/ld: skipping incompatible /usr/lib64/libX11.so when searching for -lX11
/usr/bin/ld: skipping incompatible /usr/lib64/libGL.so when searching for -lGL
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
wgl.o: In function `wglUseFontOutlines_common':
wgl.c:(.text+0xec6): undefined reference to `gluNewTess'
wgl.c:(.text+0xeec): undefined reference to `gluTessCallback'
wgl.c:(.text+0xf09): undefined reference to `gluTessCallback'
wgl.c:(.text+0xf26): undefined reference to `gluTessCallback'
wgl.c:(.text+0x13b9): undefined reference to `gluTessBeginPolygon'
wgl.c:(.text+0x1432): undefined reference to `gluTessBeginContour'
wgl.c:(.text+0x146e): undefined reference to `gluTessVertex'
wgl.c:(.text+0x1563): undefined reference to `gluTessVertex'
wgl.c:(.text+0x167f): undefined reference to `gluTessVertex'
wgl.c:(.text+0x16ca): undefined reference to `gluTessVertex'
wgl.c:(.text+0x174b): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x178b): undefined reference to `gluTessEndContour'
wgl.c:(.text+0x17b9): undefined reference to `gluTessEndPolygon'
wgl.c:(.text+0x18a0): undefined reference to `gluDeleteTess'
collect2: ld returned 1 exit status
winegcc: gcc failed.
make: *** [opengl32.dll.so] Error 2

Any suggestions where to start looking or how to approach this. I had a look at 
the Wiki to no avail.

I've tested with and without the NVIDIA drivers. I also have another F7 box, 
32-bit, that works fine.

Cheers,

Paul.



More information about the wine-devel mailing list