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
...
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