View Single Post
Old 09-28-04, 06:30 AM   #1
Posts: n/a
Unhappy [Cadega] Compile error with NVIDIA's glx-headers

I'm running linux 2.4.27 with XOrg 6.7.0, GCC 3.3.3 and NVIDIA drivers
1.0-6111. WineX compiles fine with the original glx header files from XOrg[1]
but after installing NVIDIA drivers the compile crashes:
make[2]: Entering directory `/home/beko/incoming/winex/dlls/d3dgl'
gcc -MMD -c  -I. -I. -I../../include -I../../include  -g -O2 -Wall
-mpreferred-stack-boundary=2 -fno-keep-static-consts -D__const=const
-fno-strict-aliasing -D__int8=char -D__int16=short -D__int32=int
"-D__int64=long long" -fPIC -D__WINE__  -D_REENTRANT -I/usr/X11R6/include
-o caps.o caps.c
caps.c: In function `D3DGL_Init':
caps.c:163: warning: unsigned int format, ULONG_PTR arg (arg 5)
caps.c:391: error: `GL_MAX_VERTEX_UNITS_ARB' undeclared (first use in this
caps.c:391: error: (Each undeclared identifier is reported only once
caps.c:391: error: for each function it appears in.)
make[2]: *** [caps.o] Error 1
make[2]: Leaving directory `/home/beko/incoming/winex/dlls/d3dgl'
make[1]: *** [d3dgl/] Error 2
make[1]: Leaving directory `/home/beko/incoming/winex/dlls'
make: *** [dlls] Error 2
Compiling and installing with original glx header files works fine, but I
can not use 3D this way using my nvidia (fx5900xt)

Any hints?

  Reply With Quote