home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Compile error

by tanelius on 04/03/2006 20:13, 1 messages, last message: 04/03/2006 20:23, 1761 views, last view: 04/18/2024 18:58

tanelius@tanelius1:~/sauerbraten/src$ make
make -C enet/ all
make[1]: Entering directory `/home/tanelius/sauerbraten/src/enet'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/home/tanelius/sauerbraten/src/enet'
make: [libenet] Error 2 (ignored)
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o shared/tools.o shared/tools.cpp
shared/tools.cpp: In function `char* path(char*)':
shared/tools.cpp:10: warning: suggest parentheses around assignment used as
truth value
shared/tools.cpp: In function `char* loadfile(char*, int*)':
shared/tools.cpp:26: warning: comparison between signed and unsigned integer
expressions
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/bsp.o engine/bsp.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/client.o engine/client.cpp
engine/client.cpp: In function `void gets2c()':
engine/client.cpp:213: warning: enumeration value `ENET_EVENT_TYPE_NONE' not
handled in switch
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/command.o engine/command.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/console.o engine/console.cpp
engine/console.cpp: In function `void conoutf(const char*, ...)':
engine/console.cpp:52: warning: suggest parentheses around assignment used as
truth value
engine/console.cpp: In function `void pasteconsole()':
engine/console.cpp:172: warning: comparison between signed and unsigned integer
expressions
engine/console.cpp:176: warning: comparison between signed and unsigned integer
expressions
engine/console.cpp:180: warning: comparison between signed and unsigned integer
expressions
engine/console.cpp: In function `void keypress(int, bool, int)':
engine/console.cpp:266: warning: comparison between signed and unsigned integer
expressions
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/cubeloader.o engine/cubeloader.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/lightmap.o engine/lightmap.cpp
engine/lightmap.cpp: In function `void dumplms()':
engine/lightmap.cpp:748: warning: suggest parentheses around assignment used as
truth value
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/main.o engine/main.cpp
engine/main.cpp: In function `void screenshot()':
engine/main.cpp:58: warning: suggest parentheses around assignment used as
truth value
engine/main.cpp:60: warning: suggest parentheses around assignment used as
truth value
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/menus.o engine/menus.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/octa.o engine/octa.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/octaedit.o engine/octaedit.cpp
engine/octaedit.cpp: In function `void editmat(char*)':
engine/octaedit.cpp:819: warning: comparison between signed and unsigned
integer expressions
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/octarender.o engine/octarender.cpp
engine/octarender.cpp: In member function `char* lodcollect::setup(lodlevel&,
char*)':
engine/octarender.cpp:483: warning: suggest parentheses around assignment used
as truth value
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/physics.o engine/physics.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/renderextras.o engine/renderextras.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/rendergl.o engine/rendergl.cpp
engine/rendergl.cpp: In function `void cleangl()':
engine/rendergl.cpp:234: warning: statement with no effect
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/rendermodel.o engine/rendermodel.cpp
engine/rendermodel.cpp: In function `int findanim(const char*)':
engine/rendermodel.cpp:145: warning: comparison between signed and unsigned
integer expressions
engine/md2.h: In member function `virtual void md2::render(int, int, float,
int, float, float, float, float, float, float, dynent*)':
engine/md2.h:427: warning: `vec*verts1p' might be used uninitialized in this
function
engine/md2.h:427: warning: `vec*verts2p' might be used uninitialized in this
function
engine/md2.h:428: warning: `vec*norms1p' might be used uninitialized in this
function
engine/md2.h:428: warning: `vec*norms2p' might be used uninitialized in this
function
engine/md2.h:429: warning: `float aifrac1' might be used uninitialized in this
function
engine/md2.h:429: warning: `float aifrac2' might be used uninitialized in this
function
engine/md3.h: In member function `void md3model::render()':
engine/md3.h:286: warning: `float t' might be used uninitialized in this
function
engine/md3.h:286: warning: `float t_prev' might be used uninitialized in this
function
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/renderparticles.o engine/renderparticles.cpp
engine/renderparticles.cpp: In function `void render_particles(int)':
engine/renderparticles.cpp:97: warning: suggest parentheses around assignment
used as truth value
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/rendertext.o engine/rendertext.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/server.o engine/server.cpp
engine/server.cpp: In function `void serverslice(int, unsigned int)':
engine/server.cpp:401: warning: enumeration value `ENET_EVENT_TYPE_NONE' not
handled in switch
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/serverbrowser.o engine/serverbrowser.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/sound.o engine/sound.cpp
engine/sound.cpp: In function `void music(char*, char*)':
engine/sound.cpp:116: warning: suggest parentheses around assignment used as
truth value
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/water.o engine/water.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/world.o engine/world.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o engine/worldio.o engine/worldio.cpp
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -c -o fpsgame/fps.o fpsgame/fps.cpp
In file included from fpsgame/fps.cpp:12:
fpsgame/fpsserver.h:2: warning: `struct fpsserver' has virtual functions but
non-virtual destructor
fpsgame/fpsserver.h: In static member function `static const char*
fpsserver::modestr(int)':
fpsgame/fpsserver.h:118: warning: comparison between signed and unsigned
integer expressions
fpsgame/fpsserver.h: In member function `int fpsserver::checktype(int,
fpsserver::clientinfo*)':
fpsgame/fpsserver.h:195: warning: comparison between signed and unsigned
integer expressions
In file included from fpsgame/fps.cpp:21:
fpsgame/savegame.h:109:3: warning: no newline at end of file
In file included from fpsgame/fps.cpp:24:
fpsgame/entities.h: At global scope:
fpsgame/entities.h:3: warning: `struct fpsclient::entities' has virtual
functions but non-virtual destructor
In file included from fpsgame/fps.cpp:25:
fpsgame/client.h:2: warning: `struct fpsclient::clientcom' has virtual
functions but non-virtual destructor
fpsgame/fps.cpp:17: warning: `struct fpsclient' has virtual functions but
non-virtual destructor
fpsgame/weapon.h: In member function `void
fpsclient::weaponstate::raydamage(vec&, vec&, fpsent*)':
fpsgame/weapon.h:406: warning: suggest parentheses around assignment used as
truth value
fpsgame/savegame.h: In member function `int fpsclient::gamesaver::gzgeti(void*)
':
fpsgame/savegame.h:20: warning: comparison between signed and unsigned integer
expressions
fpsgame/entities.h: In member function `virtual const char*
fpsclient::entities::entname(int)':
fpsgame/entities.h:340: warning: comparison between signed and unsigned integer
expressions
fpsgame/fps.cpp: In member function `void fpsclient::drawhudmodel(int, float,
int)':
fpsgame/fps.cpp:453: warning: comparison between signed and unsigned integer
expressions
g++ -Wall -fsigned-char -O3 -fomit-frame-pointer -Ienet/include -I. -Ishared -Iengine -Ifpsgame `sdl-config --cflags` -o sauer_client shared/tools.o engine/bsp.o engine/client.o engine/command.o engine/console.o engine/cubeloader.o engine/lightmap.o engine/main.o engine/menus.o engine/octa.o engine/octaedit.o engine/octarender.o engine/physics.o engine/renderextras.o engine/rendergl.o engine/rendermodel.o engine/renderparticles.o engine/rendertext.o engine/server.o engine/serverbrowser.o engine/sound.o engine/water.o engine/world.o engine/worldio.o fpsgame/fps.o -Lenet -lenet `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lGL -lGLU
/usr/bin/ld: cannot find -lenet
collect2: ld returned 1 exit status
make: *** [client] Error 1

What should i do? :o
Compiler: GCC 3.3.5

   Board Index   

#1: Enet?

by >driAn<. on 04/03/2006 20:23

cd into the Enet directory and do a

/configure && make

first.

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53868978 visitors requested 71644165 pages
page created in 0.011 seconds using 10 queries
hosted by Boost Digital