Wine CVS gl headers error in configure and compilation errors

Martin Wolf mwolf at adiumentum.com
Fri Jul 1 15:16:16 CDT 2005


hello

i just wanted to compile recent wine cvs and configure gives me this output
als you expect compilation is broken too.


checking GL/glx.h presence... yes
configure: WARNING: GL/glx.h: present but cannot be compiled
configure: WARNING: GL/glx.h:     check for missing prerequisite headers?
configure: WARNING: GL/glx.h: see the Autoconf documentation
configure: WARNING: GL/glx.h:     section "Present But Cannot Be Compiled"
configure: WARNING: GL/glx.h: proceeding with the preprocessor's result
configure: WARNING: GL/glx.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to wine-devel at winehq.org ##
configure: WARNING:     ## ------------------------------------ ##


here is the compilation error.

make[2]: Leaving directory `/home/martin/wine/dlls/glu32'
make[2]: Entering directory `/home/martin/wine/dlls/glut32'
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -O2 -march=athlon64 -pipe 
-fomit-frame-pointer -o glut.o glut.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wpointer-arith  -O2 -march=athlon64 -pipe -fomit-frame-pointer -o 
user.o user.c
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wpointer-arith  -O2 -march=athlon64 -pipe -fomit-frame-pointer -o 
window.o window.c
../../tools/winebuild/winebuild -D__WINESRC__   -o glut32.dll.dbg.c 
--debug -C. glut.c
gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__   
-D_REENTRANT -fPIC -Wall -pipe -mpreferred-stack-boundary=2 
-fno-strict-aliasing -gstabs+ -Wpointer-arith  -O2 -march=athlon64 -pipe 
-fomit-frame-pointer -o glut32.dll.dbg.o glut32.dll.dbg.c
../../tools/winegcc/winegcc -B../../tools/winebuild -shared 
./glut32.spec    glut.o  glut32.dll.dbg.o   -o glut32.dll.so 
-L../../dlls -L../../dlls/kernel32 -lkernel32  -L../../libs/wine -lwine 
-L/usr/X11R6/lib  -lSM -lICE -lXxf86dga -lXxf86vm -lXext -lX11  -lGL 
-lGLU -lglut -lXmu -lXi -L../../libs/port -lwine_port
make[2]: Leaving directory `/home/martin/wine/dlls/glut32'
gcc -c -I. -I. -I../include -I../include  -D__WINESRC__  -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wpointer-arith  -O2 -march=athlon64 -pipe -fomit-frame-pointer -o 
winstation.o winstation.c
make[2]: Entering directory `/home/martin/wine/dlls/d3d8'
gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include 
-D__WINESRC__   -D_REENTRANT -fPIC -Wall -pipe 
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ 
-Wpointer-arith  -O2 -march=athlon64 -pipe -fomit-frame-pointer -o 
basetexture.o basetexture.c
gcc -o wineserver atom.o change.o class.o clipboard.o console.o 
context_alpha.o context_i386.o context_powerpc.o context_sparc.o 
debugger.o event.o fd.o file.o handle.o hook.o mailslot.o main.o 
mapping.o mutex.o named_pipe.o object.o process.o ptrace.o queue.o 
region.o registry.o request.o semaphore.o serial.o signal.o snapshot.o 
sock.o thread.o timer.o token.o trace.o unicode.o user.o window.o 
winstation.o  -L../libs/wine -lwine -L../libs/unicode -lwine_unicode 
-L../libs/port -lwine_port
In file included from /usr/X11R6/include/GL/glx.h:336,
                 from d3d8_private.h:34,
                 from basetexture.c:31:
/usr/X11R6/include/GL/glxext.h:267: Fehler: Redefinition des typedef 
»GLXFBConfigSGIX«
/usr/X11R6/include/GL/glx.h:156: Fehler: vorherige Deklaration von 
»GLXFBConfigSGIX« war hier
make[2]: *** [basetexture.o] Fehler 1
make[2]: Leaving directory `/home/martin/wine/dlls/d3d8'
make[1]: *** [d3d8] Fehler 2
make[1]: Leaving directory `/home/martin/wine/dlls'
make: *** [dlls] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/home/martin/wine/server'

i hope you can help me...


regards martin



PS: get direct input8 working ;)



More information about the wine-devel mailing list