Hi,
Im getting a build error since I upgraded to Mandrake 7.2:
gcc -c -I. -I. -I../../include -I../../include -g -O2 -Wall
-fno-strength-reduce -mpreferred-stack-boundary=2 -fPIC -D__WINE__
-D_REENTRANT -I/usr/X11R6/include -o d3ddevice/mesa.o d3ddevice/mesa.c
d3ddevice/mesa.c:37: redefinition of `PFNGLCOLORTABLEEXTPROC'
/usr/X11R6/include/GL/glext.h:2131: `PFNGLCOLORTABLEEXTPROC' previously
declared here
make[2]: *** [d3ddevice/mesa.o] Error 1
The problem is the code assumes that the definition of
`PFNGLCOLORTABLEEXTPROC will be wrapped in an ifdef GL_GLEXT_PROTOTYPES, but
this isn't true in this case.
FWIW, The header came from XFree86-devel-4.0.1-28mdk, Mesa version is
Mesa-3.3-14mdk, and the GL_GLEXT_VERSION in glext.h is 6.
I'm just nuking the definition from the file, but a better solution is
probably needed....
Cheers,
Jon
--
"May their negative actions ripen upon me. And may all my virtues ripen upon
them."
"If it could be talked about, everybody would have told their brother."
[EMAIL PROTECTED] , [EMAIL PROTECTED]