SDL_perl fails to compile

Auke Kok sofar at lunar-linux.org
Wed Nov 17 12:45:41 UTC 2004


Mike Mandel wrote:

>Hello!
>
>OpenGL.xs:4860: error: `GL_FUNC_REVERSE_SUBTRACT' undeclared (first use in this function)
>OpenGL.xs: In function `XS_SDL__OpenGL_GL_COLOR_TABLE_SCALE':
>OpenGL.xs:4867: error: `GL_COLOR_TABLE_SCALE' undeclared (first use in this function)
>OpenGL.xs: In function `XS_SDL__OpenGL_GL_COLOR_TABLE_BAIS':
>OpenGL.xs:4874: error: `GL_COLOR_TABLE_BIAS' undeclared (first use in this function)
>make: *** [OpenGL.o] Fehler 1
>++ Mark Compile stop   : "SDL_perl" "1.19.2" "Di Nov 16 23:00:16 UTC 2004"
>
>NVIDIA 1.0-6629, glibc 2.3.3, gcc 3.3.4, kernel 2.6.9
>
>Maybe someone knows how to fix it?
>  
>

the only way I have found is to have SDL_perl compile against the GL 
libraries from XOrg/XFree. to do that you must :

- lrm NVIDIA
- lin XOrg/XFree
- lin SDL
- lin SDL_perl
- lin NVIDIA

no idea why this happens, I think it's the NVIDIA headers or maybe even 
SDL headers.

sofar



More information about the Lunar mailing list