PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : make error, jmd ne idee ?


marcdevil
24.10.01, 18:59
#> make glheretic
...
gcc -pipe -E -M -Wall -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DHAVE_VALUES_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__ -O2 -fomit-frame-pointer -mcpu=i586 -march=i586 -D__32BIT__ -DHAVE_ALLOCA_H -DINLINE_FIXED -I. -I.. -I/usr/X11R6/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV -Iopengl -DGL_HERETIC -I/usr/X11R6/include -DNICE_GL -L/usr/X11R6/lib *.c opengl/*.c \
soundclient/i_sound.c soundclient/soundst.c soundclient/sounds.c m_misc.c graphics/i_sdl_gl.c > .depend
gcc -pipe -Wall -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DHAVE_VALUES_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__ -O2 -fomit-frame-pointer -mcpu=i586 -march=i586 -D__32BIT__ -DHAVE_ALLOCA_H -DINLINE_FIXED -I. -I.. -I/usr/X11R6/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV -Iopengl -DGL_HERETIC -I/usr/X11R6/include -DNICE_GL -c opengl/gl_floorceil.c -o opengl/gl_floorceil.o
opengl/gl_floorceil.c:111: parse error before `errorCallback'
opengl/gl_floorceil.c:112: warning: return-type defaults to `int'
opengl/gl_floorceil.c: In function `errorCallback':
opengl/gl_floorceil.c:120: warning: control reaches end of non-void function
opengl/gl_floorceil.c: At top level:
opengl/gl_floorceil.c:224: parse error before `vertexArrayCallback'
opengl/gl_floorceil.c:225: warning: return-type defaults to `int'
opengl/gl_floorceil.c: In function `vertexArrayCallback':
opengl/gl_floorceil.c:260: warning: control reaches end of non-void function
opengl/gl_floorceil.c: At top level:
opengl/gl_floorceil.c:262: parse error before `glArrayBegin'
opengl/gl_floorceil.c:263: warning: return-type defaults to `int'
opengl/gl_floorceil.c: In function `glArrayBegin':
opengl/gl_floorceil.c:277: warning: control reaches end of non-void function
opengl/gl_floorceil.c: At top level:
opengl/gl_floorceil.c:279: parse error before `glArrayEnd'
opengl/gl_floorceil.c:280: warning: return-type defaults to `int'
opengl/gl_floorceil.c: In function `glArrayEnd':
opengl/gl_floorceil.c:283: warning: control reaches end of non-void function
opengl/gl_floorceil.c: In function `fn_vCreatePolygonsForSector':
opengl/gl_floorceil.c:313: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type
opengl/gl_floorceil.c:316: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type
opengl/gl_floorceil.c:319: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type
opengl/gl_floorceil.c:322: warning: passing arg 3 of `gluTessCallback' from incompatible pointer type
make: *** [opengl/gl_floorceil.o] Error 1

Trillian
24.10.01, 19:24
Es gibt einen Heretic Port? :eek:
Cool, auch haben will :D

Zum Problem:
Sieht aus, als ob der Code im Eimer wär (Parse Error). Könnte aber auch am Compiler liegen... Benutzt du gcc 3? Dann mal mit nem 2er versuchen...

marcdevil
24.10.01, 19:46
Wolfenstein 3D Port funzt super http://wolfgl.sourceforge.net/
Heretic Port x11 version funzt super http://heretic.linuxgames.com/
GLHeretic macht noch aerger, die fertigen binarys verursachen SegmentFault !!!
Hexen Port funzt, aber nicht configurierbar, feste Auflösung :( http://www.devolution.com/~slouken/SDL/projects/hexen/
...
und doom rockt sowieso :)

Trillian
24.10.01, 19:58
Naja, ich glaub, die probier ich doch nicht aus. Bei der Grafik erblinde ich noch :D