PDA

View Full Version : compile errors


RugRat
06-03-2003, 10:23 PM
Sorry but I seem to be having problems with the compile for the cvs. Figure this is a dumb question but what am I doing wrong?

gcc version 3.2.2

world # make
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wnested-externs -Wcomment -Wca
st-align -Winline -Wno-deprecated -g -march=i686 -O -pthread -pipe -DFX -D_GNU_SOURCE -DINVERSEXY -DWORLD -DDEBUG=1 -DSHAREME
M -DCATCH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.o ../common/timer.o ../common/database.o ../co
mmon/packet_dump.o ../common/races.o ../common/unix.o ../common/Mutex.o ../common/MiscFunctions.o ../common/serverinfo.o ../c
ommon/packet_functions.o ../common/classes.o ../common/TCPConnection.o ../common/eqtime.o ../common/crc32.o client.o net.o co
nsole.o zoneserver.o LoginServer.o ../common/md5.o ../common/dbcore.o ../common/dbasync.o ../common/EMuShareMem.o .obj/debug.
o -rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -ldl -o world
../common/database.o(.text+0xc07): In function `Database::HandleMysqlError(unsigned)':
/home/rugrat/NightDumps/Source/world/../common/database.cpp:199: undefined reference to `AddEQEMuError(eEQEMuError, bool)'
net.o(.text+0xf1e): In function `main':
/home/rugrat/NightDumps/Source/world/net.cpp:379: undefined reference to `CheckEQEMuErrorAndPause()'
collect2: ld returned 1 exit status
make: *** [world] Error 1

zone # make
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-extern
s -Wcomment -Wcast-align -O -ggdb -march=i686 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DDEBUG=1 -DSHAREMEM -DCAT
CH_CRASH -I/usr/include/mysql -I/usr/mysql/include ../common/EQNetwork.o ../common/timer.o ../common/database.o ../common/pa
cket_dump.o ../common/packet_functions.o ../common/unix.o ../common/packet_dump_file.o ../common/Mutex.o ../common/MiscFuncti
ons.o zone.o entity.o mob.o client.o client_process.o npc.o net.o spawn2.o attack.o hate_list.o ../common/serverinfo.o ../com
mon/moremath.o worldserver.o spells.o spawngroup.o loottables.o faction.o Map.o PlayerCorpse.o petitions.o WesQuests.o MobAI.
o Object.o ../common/eqtime.o groups.o ../common/classes.o ../common/races.o ../common/TCPConnection.o forage.o ../common/crc
32.o ../common/guilds.o ../common/md5.o ../common/dbcore.o ../common/dbasync.o zonedbasync.o parser.o ../common/EMuShareMem.o
.obj/debug.o doors.o -rdynamic -L. -lstdc++ -lm -lz -L/usr/lib/mysql -L/usr/mysql/lib -lmysqlclient -ldl -o zone
../common/database.o(.text+0xc07): In function `Database::HandleMysqlError(unsigned)':
/home/rugrat/NightDumps/Source/world/../common/database.cpp:199: undefined reference to `AddEQEMuError(eEQEMuError, bool)'
net.o(.text+0x2e6): In function `main':
/home/rugrat/NightDumps/Source/zone/net.cpp:197: undefined reference to `CheckEQEMuErrorAndPause()'
net.o(.text+0x9ad):/home/rugrat/NightDumps/Source/zone/net.cpp:386: undefined reference to `CheckEQEMuErrorAndPause()'
collect2: ld returned 1 exit status
make: *** [zone] Error 1

Trumpcard
06-03-2003, 10:53 PM
Quag created some new error classes. Add EQEMuError.o to the list of objects in the makefiles...

Me or BP will fix CVS in the next few days I'm sure..