SDL_perl fails to compile

Mike Mandel mandel at stud.fh-hannover.de
Wed Nov 17 22:19:18 UTC 2004


On Wed, 17 Nov 2004 13:45:41 +0100
Auke Kok <sofar at lunar-linux.org> wrote:

> 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

Yes, that did it.

But I have found another way which worked for me.
I have installed the MesaLib, and SDL_perl compiles
fine.After that I have installed the NVIDIA module again.

I have attached a module for MesaLib. 

Thanks for your help,

Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MesaLib.tar.bz2
Type: application/octet-stream
Size: 894 bytes
Desc: not available
Url : http://lunar-linux.org/pipermail/lunar/attachments/20041117/e1886251/MesaLib.tar.obj


More information about the Lunar mailing list