Philip Dillon-Thiselton
2005-02-24 10:23:41 UTC
When I try to compile the rogue extention i get this error:
gcc -Wall -pipe -Dstricmp=strcasecmp -O2 -ffast-math -funroll-loops
-falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing
-DLINUX_VERSION='"3.21+r0.16"' -fPIC -o releasei386/rogue/dm_ball.o -c
src/rogue/dm_ball.c
In file included from src/rogue/dm_ball.c:5:
src/rogue/g_local.h:25:17: nan.h: No such file or directory
src/rogue/dm_ball.c: In function `DBall_PostInitSetup':
src/rogue/dm_ball.c:182: warning: suggest parentheses around assignment
used as truth value
src/rogue/dm_ball.c:191: warning: suggest parentheses around assignment
used as truth value
src/rogue/dm_ball.c: In function `PickBallStart':
src/rogue/dm_ball.c:368: warning: suggest parentheses around assignment
used as truth value
make[1]: *** [releasei386/rogue/dm_ball.o] Error 1
make[1]: Leaving directory
`/var/abs/quake/quake2-rogue/src/quake2-r0.16.1'
make: *** [build_release] Error 2
==> ERROR: Build Failed. Aborting...
I know the docs say to try altering some values in the Makefile if the
build fails but does not say why the build might fail. Nonetheless i
tried those changes and i still get the build error - i have q2 and xatrix
running just fine :D
gcc -Wall -pipe -Dstricmp=strcasecmp -O2 -ffast-math -funroll-loops
-falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing
-DLINUX_VERSION='"3.21+r0.16"' -fPIC -o releasei386/rogue/dm_ball.o -c
src/rogue/dm_ball.c
In file included from src/rogue/dm_ball.c:5:
src/rogue/g_local.h:25:17: nan.h: No such file or directory
src/rogue/dm_ball.c: In function `DBall_PostInitSetup':
src/rogue/dm_ball.c:182: warning: suggest parentheses around assignment
used as truth value
src/rogue/dm_ball.c:191: warning: suggest parentheses around assignment
used as truth value
src/rogue/dm_ball.c: In function `PickBallStart':
src/rogue/dm_ball.c:368: warning: suggest parentheses around assignment
used as truth value
make[1]: *** [releasei386/rogue/dm_ball.o] Error 1
make[1]: Leaving directory
`/var/abs/quake/quake2-rogue/src/quake2-r0.16.1'
make: *** [build_release] Error 2
==> ERROR: Build Failed. Aborting...
I know the docs say to try altering some values in the Makefile if the
build fails but does not say why the build might fail. Nonetheless i
tried those changes and i still get the build error - i have q2 and xatrix
running just fine :D