plastoc Report post Posted February 22, 2004 i am not sure where is the problem, but here it is :: make -f Makefile.linux 'CFLAGS=-mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT' make[1]: Entering directory `/home/plastoc/games/eternallands/cvsroot/elc' cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c 2d_objects.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c 3d_objects.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c actor_scripts.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c actors.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c asc.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c colors.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c console.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c cursors.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c dialogues.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c draw_scene.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c errors.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c events.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c filter.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c font.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c -o frustum.o frustum.c cc -mcpu=i686 -O3 -fomit-frame-pointer -ffast-math -pipe -DLINUX -I/usr/include/SDL -D_REENTRANT -c gl_init.c gl_init.c:467: error: conflicting types for `gluErrorString' /usr/include/GL/glu.h:281: error: previous declaration of `gluErrorString' make[1]: *** [gl_init.o] Error 1 make[1]: Leaving directory `/home/plastoc/games/eternallands/cvsroot/elc' make: *** [release] Error 2 i am using debian in testing release, and i have installed : ii xlibmesa-dev 4.2.1-15.backports.org.1 XFree86 Mesa development libraries pseudopackage ii xlibmesa-gl-dev 4.2.1-15.backports.org.1 Mesa 3D graphics library development files [XFree86] ii xlibmesa-glu-dev 4.2.1-15.backports.org.1 Mesa OpenGL utility library development files [XFree86] pn xlibmesa3 <none> (no description available) ii xlibmesa3-gl 4.2.1-15.backports.org.1 Mesa 3D graphics library [XFree86] ii xlibmesa3-glu 4.2.1-15.backports.org.1 Mesa OpenGL utility library [XFree86] ii libsdl-image1.2 1.2.3-2 image loading library for Simple DirectMedia Layer 1.2 ii libsdl-image1.2-dev 1.2.3-2 development files for SDL 1.2 image loading libray ii libsdl-mixer1.2 1.2.5-3 mixer library for Simple DirectMedia Layer 1.2 ii libsdl-mixer1.2-dev 1.2.5-3 development files for SDL1.2 mixer library ii libsdl-mm0.1 0.1.8-4 C++ wrapper for Simple DirectMedia Layer ii libsdl-mm0.1-dev 0.1.8-4 Development files for SDL C++ wrapper ii libsdl-net1.2 1.2.5-3 network library for Simple DirectMedia Layer ii libsdl-net1.2-dev 1.2.5-3 Development files for SDL network library ii libsdl-ttf1.2 1.2.2-5 TrueType font library for Simple DirectMedia Layer ii libsdl-ttf2.0-0 2.0.6-5 ttf library for Simple DirectMedia Layer with FreeType 2 support ii libsdl-ttf2.0-dev 2.0.6-5 development files for SDL ttf library (version 2.0) ii libsdl1.2-dev 1.2.6-2 Simple DirectMedia Layer development files ii libsdl1.2debian 1.2.6-2 Simple DirectMedia Layer ii libsdl1.2debian-all 1.2.6-2 Simple DirectMedia Layer (with all available options) ii libopenal-dev 0.2003020200-1.2 OpenAL is a portable library for 3D spatialized audio. ii libopenal0 0.2003020200-1.2 OpenAL is a portable library for 3D spatialized audio sorry for the layout of the output of my package manager , but i think the requiered library are here : glu libs, sdl and openal. i couldn't find where i made a mistake or if it was a bug, so i decided to submit it here (where i could find some msg about compiling =)) tx plastoc Share this post Link to post Share on other sites
Entropy Report post Posted February 22, 2004 WTF is GLU doing there in the first place? the game doesn't even use it... Share this post Link to post Share on other sites
Leeloo Report post Posted February 22, 2004 Current CVS: kfr:elc$ grep glu.h *.h SDL_opengl.h:#include <OpenGL/glu.h> /* Header File For The GLU Library */ SDL_opengl.h:#include <GL/glu.h> /* Header File For The GLU Library */ kfr:elc$ grep GLU Makefile.* Makefile.linux:LDFLAGS=$(shell sdl-config --libs) -lSDL_net -lopenal -lGLU -lGL and no, I can't compile either without taking out the include line in SDL_opengl.h Share this post Link to post Share on other sites
Cicero Report post Posted February 23, 2004 Learner added in error checking via GLU... I'm also getting this error. Just comment out the offending line. (gl_init.c:467) Share this post Link to post Share on other sites