On Sat, Oct 19, 2002 at 09:55:46PM +1000, Simon Fowler wrote: > On Sat, Oct 19, 2002 at 08:53:54PM +1000, Simon Fowler wrote: > > On Fri, Oct 18, 2002 at 11:16:25PM -0400, John Check wrote: > > > Okay now it dies with: > > > > > > g++ -DHAVE_CONFIG_H -I. -I. -I../../src/Include -I../.. -I../../src > > > -I/usr/X11R6/include -DPKGLIBDIR=\"/usr/local/lib/FlightGear\" -g -O2 > > > -D_REENTRANT -c -o main.o `test -f 'main.cxx' || echo './'`main.cxx > > > main.cxx:152: `void (*glPointParameterfEXT)(unsigned int, float)' redeclared > > > as > > > different kind of symbol > > > /usr/X11R6/include/GL/gl.h:2519: previous declaration of `void > > > glPointParameterfEXT(unsigned int, float)' > > > main.cxx:153: `void (*glPointParameterfvEXT)(unsigned int, const GLfloat*)' > > > redeclared as different kind of symbol > > > /usr/X11R6/include/GL/gl.h:2520: previous declaration of `void > > > glPointParameterfvEXT(unsigned int, const GLfloat*)' > > > > > Are you using Mesa 4, or Mesa 3? I've had some problems building > > Simgear and FlightGear recently, due to (apparently) some changes > > between Mesa 3.4 and Mesa 4.0 (which I'm using through the DRI cvs > > tree now). > > > Actually, I just got the same error with (according to GL/gl.h) Mesa > 3.4, so that's not it. > And it went away again, when I stopped defining GL_GLEXT_LEGACY . . .
In Mesa 3.4's gl.h glPointParameterfvEXT is wrapped in a #ifdef GL_GLEXT_LEGACY (as is glActiveTextureARB in Mesa 4.0, which is why I was playing around with it). I got the error above when GL_GLEXT_LEGACY was defined, and it went away without it. Anyone with more knowledge of OpenGL got any clues? Simon -- PGP public key Id 0x144A991C, or http://himi.org/stuff/himi.asc (crappy) Homepage: http://himi.org doe #237 (see http://www.lemuria.org/DeCSS) My DeCSS mirror: ftp://himi.org/pub/mirrors/css/
msg08978/pgp00000.pgp
Description: PGP signature