SDL_perl fails to compile

Mike Mandel mandel at stud.fh-hannover.de
Tue Nov 16 23:13:45 UTC 2004


Hello!

I wanted to install Frozen Bubble but 
SDL_perl fails to compile:

++ Mark Compile start  : "SDL_perl" "1.19.2" "Di Nov 16 22:58:43 UTC 2004"
Enabled GL              yes
Enabled GLU             yes
Enabled SDL_console     no
Enabled SDL_gfx         yes
Enabled SDL_image       yes
Enabled SDL_mixer       yes
Enabled SDL_net         yes
Enabled SDL_ttf         yes
Enabled jpeg            yes
Enabled png             yes
Enabled smpeg           yes
Detecting GLU Version
Checking if your kit is complete...
Looks good
Writing Makefile for SDL_perl
cp lib/SDL/Surface.pm blib/lib/SDL/Surface.pm
cp lib/SDL/Rect.pm blib/lib/SDL/Rect.pm
cp lib/SDL/GraphicTool.pm blib/lib/SDL/GraphicTool.pm
cp lib/SDL/Palette.pm blib/lib/SDL/Palette.pm
cp lib/SDL/Cursor.pm blib/lib/SDL/Cursor.pm
cp lib/SDL/OpenGL/Cube.pm blib/lib/SDL/OpenGL/Cube.pm
cp lib/SDL/Event.pm blib/lib/SDL/Event.pm
cp lib/SDL/Sound.pm blib/lib/SDL/Sound.pm
cp lib/SDL/Mixer.pm blib/lib/SDL/Mixer.pm
cp lib/SDL/OpenGL.pm blib/lib/SDL/OpenGL.pm
cp lib/SDL/Timer.pm blib/lib/SDL/Timer.pm
cp lib/SDL/Font.pm blib/lib/SDL/Font.pm
cp lib/SDL/OpenGL/Model.pm blib/lib/SDL/OpenGL/Model.pm
cp lib/SDL/Music.pm blib/lib/SDL/Music.pm
cp lib/SDL/Color.pm blib/lib/SDL/Color.pm
cp lib/SDL/Console.pm blib/lib/SDL/Console.pm
cp SDL_perl.pm blib/lib/SDL_perl.pm
cp lib/SDL/FontTool.pm blib/lib/SDL/FontTool.pm
cp SDL.pm blib/lib/SDL.pm
AutoSplitting blib/lib/SDL.pm (blib/lib/auto/SDL)
cp lib/SDL/Cdrom.pm blib/lib/SDL/Cdrom.pm
cp lib/SDL/Shell.pm blib/lib/SDL/Shell.pm
cp lib/SDL/App.pm blib/lib/SDL/App.pm
cp lib/SDL/TTFont.pm blib/lib/SDL/TTFont.pm
cc -c  -ggdb  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.19.2\" -DXS_VERSION=\"1.19.2\" -fpic "-I/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE"  -DHAVE_GLU_VERSION=0 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SFont.c
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  SDL_perl.xs > SDL_perl.xsc && mv SDL_perl.xsc SDL_perl.c
cc -c  -ggdb  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.19.2\" -DXS_VERSION=\"1.19.2\" -fpic "-I/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE"  -DHAVE_GLU_VERSION=0 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG SDL_perl.c
SDL_perl.xs: In function `XS_SDL_NetResolveIP':
SDL_perl.xs:4008: warning: assignment discards qualifiers from pointer target type
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap -typemap typemap  OpenGL.xs > OpenGL.xsc && mv OpenGL.xsc OpenGL.c
cc -c  -ggdb  -I/usr/include/SDL -D_REENTRANT -I/usr/local/include/SDL -I/usr/local/include -I/usr/local/include/smpeg -I/usr/include/SDL -I/usr/include -I/usr/include/smpeg -I/usr/local/include/GL -I/usr/local/include/gl -I/usr/include/GL -I/usr/include/gl -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2   -DVERSION=\"1.19.2\" -DXS_VERSION=\"1.19.2\" -fpic "-I/usr/lib/perl5/5.8.5/i686-linux-thread-multi/CORE"  -DHAVE_GLU_VERSION=0 -DHAVE_GL -DHAVE_GLU  -DHAVE_SDL_GFX -DHAVE_SDL_IMAGE -DHAVE_SDL_MIXER -DHAVE_SDL_NET -DHAVE_SDL_TTF -DHAVE_JPEG -DHAVE_PNG -DHAVE_SMPEG OpenGL.c
OpenGL.xs: In function `XS_SDL__OpenGL_ConvolutionParameter':
OpenGL.xs:1070: error: `GL_CONVOLUTION_BORDER_MODE' undeclared (first use in this function)
OpenGL.xs:1070: error: (Each undeclared identifier is reported only once
OpenGL.xs:1070: error: for each function it appears in.)
OpenGL.xs:1076: error: `GL_CONVOLUTION_FILTER_SCALE' undeclared (first use in this function)
OpenGL.xs:1077: error: `GL_CONVOLUTION_FILTER_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONSTANT_COLOR':
OpenGL.xs:3048: error: `GL_CONSTANT_COLOR' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_ONE_MINUS_CONSTANT_COLOR':
OpenGL.xs:3055: error: `GL_ONE_MINUS_CONSTANT_COLOR' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONSTANT_ALPHA':
OpenGL.xs:3062: error: `GL_CONSTANT_ALPHA' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_ONE_MINUS_CONSTANT_ALPHA':
OpenGL.xs:3069: error: `GL_ONE_MINUS_CONSTANT_ALPHA' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_RED_SCALE':
OpenGL.xs:3581: error: `GL_POST_CONVOLUTION_RED_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_GREEN_SCALE':
OpenGL.xs:3588: error: `GL_POST_CONVOLUTION_GREEN_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_BLUE_SCALE':
OpenGL.xs:3595: error: `GL_POST_CONVOLUTION_BLUE_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_ALPHA_SCALE':
OpenGL.xs:3602: error: `GL_POST_CONVOLUTION_ALPHA_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_RED_BIAS':
OpenGL.xs:3609: error: `GL_POST_CONVOLUTION_RED_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_GREEN_BIAS':
OpenGL.xs:3616: error: `GL_POST_CONVOLUTION_GREEN_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_BLUE_BIAS':
OpenGL.xs:3623: error: `GL_POST_CONVOLUTION_BLUE_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_ALPHA_BIAS':
OpenGL.xs:3630: error: `GL_POST_CONVOLUTION_ALPHA_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_RED_SCALE':
OpenGL.xs:3637: error: `GL_POST_COLOR_MATRIX_RED_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_GREEN_SCALE':
OpenGL.xs:3644: error: `GL_POST_COLOR_MATRIX_GREEN_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_BLUE_SCALE':
OpenGL.xs:3651: error: `GL_POST_COLOR_MATRIX_BLUE_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_ALPHA_SCALE':
OpenGL.xs:3658: error: `GL_POST_COLOR_MATRIX_ALPHA_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_RED_BIAS':
OpenGL.xs:3665: error: `GL_POST_COLOR_MATRIX_RED_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_GREEN_BIAS':
OpenGL.xs:3672: error: `GL_POST_COLOR_MATRIX_GREEN_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_BLUE_BIAS':
OpenGL.xs:3679: error: `GL_POST_COLOR_MATRIX_BLUE_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_ALPHA_BIAS':
OpenGL.xs:3686: error: `GL_POST_COLOR_MATRIX_ALPHA_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_COLOR_TABLE':
OpenGL.xs:4706: error: `GL_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_CONVOLUTION_COLOR_TABLE':
OpenGL.xs:4713: error: `GL_POST_CONVOLUTION_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_POST_COLOR_MATRIX_COLOR_TABLE':
OpenGL.xs:4720: error: `GL_POST_COLOR_MATRIX_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_PROXY_COLOR_TABLE':
OpenGL.xs:4727: error: `GL_PROXY_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_PROXY_POST_CONVOLUTION_COLOR_TABLE':
OpenGL.xs:4734: error: `GL_PROXY_POST_CONVOLUTION_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE':
OpenGL.xs:4741: error: `GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONVOLUTION_1D':
OpenGL.xs:4748: error: `GL_CONVOLUTION_1D' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONVOLUTION_2D':
OpenGL.xs:4755: error: `GL_CONVOLUTION_2D' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_SEPARABLE_2D':
OpenGL.xs:4762: error: `GL_SEPARABLE_2D' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONVOLUTION_BORDER_MODE':
OpenGL.xs:4769: error: `GL_CONVOLUTION_BORDER_MODE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONVOLUTION_FILTER_SCALE':
OpenGL.xs:4776: error: `GL_CONVOLUTION_FILTER_SCALE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONVOLUTION_FILTER_BIAS':
OpenGL.xs:4783: error: `GL_CONVOLUTION_FILTER_BIAS' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_REDUCE':
OpenGL.xs:4790: error: `GL_REDUCE' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_CONSTANT_BORDER':
OpenGL.xs:4797: error: `GL_CONSTANT_BORDER' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_REPLICATE_BORDER':
OpenGL.xs:4804: error: `GL_REPLICATE_BORDER' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_HISTOGRAM':
OpenGL.xs:4811: error: `GL_HISTOGRAM' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_PROXY_HISTOGRAM':
OpenGL.xs:4818: error: `GL_PROXY_HISTOGRAM' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_MINMAX':
OpenGL.xs:4825: error: `GL_MINMAX' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_MIN':
OpenGL.xs:4832: error: `GL_MIN' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_MAX':
OpenGL.xs:4839: error: `GL_MAX' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_FUNC_ADD':
OpenGL.xs:4846: error: `GL_FUNC_ADD' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_FUNC_SUBTRACT':
OpenGL.xs:4853: error: `GL_FUNC_SUBTRACT' undeclared (first use in this function)
OpenGL.xs: In function `XS_SDL__OpenGL_GL_FUNC_REVERSE_SUBTRACT':
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?

TIA,

Mike


More information about the Lunar mailing list