gl_globals.h `PFNGL*' does not name a type

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Elias
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Thu Oct 14, 2004 3:01 pm

gl_globals.h `PFNGL*' does not name a type

Post by Elias »

I couldn't find this problem anywhere else so I post it here.
I'm making an ebuild of vegastrike 0.4.2 for Gentoo and I cannot get it to compile. I'm using gcc-3.4 so it might have something to do with this..

This is what I get when it aborts compiling:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_AL=1 -DUSE_STENCIL_BUFFER=1 -I/usr/include/python2.3 -DHAVE_PYTHON=1 -DUSE_BOOST_131=1 -I../../src/boost129 -I../../src -pipe -gdwarf-2 -g3 -falign-loops=2 -falign-jumps=2 -falign-functions=2 -I/usr/include/SDL -D_REENTRANT -pthread -pipe -c -o gl_fog.o `test -f 'gl_fog.cpp' || echo './'`gl_fog.cpp
In file included from gl_globals.cpp:22:
gl_globals.h:132: error: `PFNGLBINDBUFFERARBPROC' does not name a type
gl_globals.h:133: error: `PFNGLGENBUFFERSARBPROC' does not name a type
gl_globals.h:134: error: `PFNGLDELETEBUFFERSARBPROC' does not name a type
gl_globals.h:135: error: `PFNGLBUFFERDATAARBPROC' does not name a type
gl_globals.h:136: error: `PFNGLMAPBUFFERARBPROC' does not name a type
gl_globals.h:137: error: `PFNGLUNMAPBUFFERARBPROC' does not name a type
make[3]: *** [gl_globals.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from gl_fog.cpp:2:
gl_globals.h:132: error: `PFNGLBINDBUFFERARBPROC' does not name a type
gl_globals.h:133: error: `PFNGLGENBUFFERSARBPROC' does not name a type
gl_globals.h:134: error: `PFNGLDELETEBUFFERSARBPROC' does not name a type
gl_globals.h:135: error: `PFNGLBUFFERDATAARBPROC' does not name a type
gl_globals.h:136: error: `PFNGLMAPBUFFERARBPROC' does not name a type
gl_globals.h:137: error: `PFNGLUNMAPBUFFERARBPROC' does not name a type
make[3]: *** [gl_fog.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.4.2/work/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vegastrike-0.4.2/work/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vegastrike-0.4.2/work/vegastrike'
make: *** [all] Error 2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Check the wiki FAQ to fix this error.
Post Reply