Compile fails on Ubnutu 10.10 X86_64
Perl: 5.10
Mysql: 5.1.49-1ubuntu8.1
gcc: 4.4.5
Build: 3/21/2011
Code:
../common/EQStream.cpp:702: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function âvoid EQStream::AckPackets(uint16)â:
../common/EQStream.cpp:1081: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp:1118: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function âvoid EQStream::CheckTimeout(uint32, uint32)â:
../common/EQStream.cpp:1260: warning: enumeration value âUNESTABLISHEDâ not handled in switch
mkdir -p .obj
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -c ../common/EQStreamFactory.cpp -o .obj/EQStreamFactory.o
mkdir -p .obj
gcc -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql -c ../common/CRC16.cpp -o .obj/CRC16.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/timer.cpp -o ../common/timer.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/packet_dump.cpp -o ../common/packet_dump.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/packet_functions.cpp -o ../common/packet_functions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/unix.cpp -o ../common/unix.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/packet_dump_file.cpp -o ../common/packet_dump_file.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/Mutex.cpp -o ../common/Mutex.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql ../common/MiscFunctions.cpp -o ../common/MiscFunctions.o
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql zone.cpp -o zone.o
zone.cpp: In member function âbool Zone::LoadZoneObjects()â:
zone.cpp:246: warning: missing braces around initializer for âuint32 [2]â
zone.cpp: In constructor âZone::Zone(int32, int32, const char*)â:
zone.cpp:833: warning: comparison between signed and unsigned integer expressions
zone.cpp: In member function âvoid Zone::StartShutdownTimer(int32)â:
zone.cpp:1304: warning: comparison between signed and unsigned integer expressions
zone.cpp: In member function âint Zone::SaveTempItem(int32, int32, int32, sint32, bool)â:
zone.cpp:364: warning: âml.TempMerchantList::itemâ may be used uninitialized in this function
zone.cpp:364: warning: âml.TempMerchantList::npcidâ may be used uninitialized in this function
zone.cpp:364: warning: âml.TempMerchantList::chargesâ may be used uninitialized in this function
zone.cpp:364: warning: âml.TempMerchantList::slotâ may be used uninitialized in this function
zone.cpp:364: warning: âml.TempMerchantList::origslotâ may be used uninitialized in this function
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql entity.cpp -o entity.o
entity.cpp: In member function âvoid EntityList::GetTargetsForConeArea(Mob*, uint32, uint32, std::list<Mob*, std::allocator<Mob*> >&)â:
entity.cpp:4864: warning: comparison between signed and unsigned integer expressions
entity.cpp:4866: warning: comparison between signed and unsigned integer expressions
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql mob.cpp -o mob.o
mob.h: In constructor âMob::Mob(const char*, const char*, sint32, sint32, int8, uint16, int8, bodyType, int8, int8, int32, float, float, float, float, float, float, int8, int8, int8, int16, int16, int16, int16, int16, int16, int16, int16, int16, int8, int8, int8, int8, int8, int8, int8, int32, int32, int32, int32*, int8, int8, int8, int8, int8, sint16, sint16, int8, float, int8, int32)â:
mob.h:1231: warning: âMob::spellend_timerâ will be initialized after
mob.h:1061: warning: âTimer Mob::rewind_timerâ
mob.cpp:55: warning: when initialized here
mob.h:1364: warning: âMob::bindwound_timerâ will be initialized after
mob.h:816: warning: âTimer Mob::GravityTimerâ
mob.cpp:55: warning: when initialized here
mob.cpp: In member function âvoid Mob::SendPosUpdate(int8)â:
mob.cpp:965: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::ShowStats(Client*)â:
mob.cpp:1024: warning: unused variable âWornCapâ
mob.cpp: In member function âint Mob::CountDispellableBuffs()â:
mob.cpp:2976: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âint Mob::GetSnaredAmount()â:
mob.cpp:2999: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::TryTwincast(Mob*, Mob*, uint32)â:
mob.cpp:3296: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âsint32 Mob::GetVulnerability(sint32, Mob*, uint32, int32)â:
mob.cpp:3323: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âint32 Mob::GetItemStat(int32, const char*)â:
mob.cpp:3506: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::TrySpellOnKill()â:
mob.cpp:4114: warning: comparison between signed and unsigned integer expressions
mob.cpp:4119: warning: comparison between signed and unsigned integer expressions
mob.cpp:4123: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âbool Mob::TrySpellOnDeath()â:
mob.cpp:4134: warning: comparison between signed and unsigned integer expressions
mob.cpp:4141: warning: comparison between signed and unsigned integer expressions
mob.cpp:4147: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âsint16 Mob::GetSkillDmgAmt(int16)â:
mob.cpp:4279: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Client::SendClientStatWindow(Client*)â:
mob.cpp:4376: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Mob::DoGravityEffect()â:
mob.cpp:4958: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function âvoid Client::SendClientStatWindow(Client*)â:
mob.cpp:4623: warning: âa_stat_lengthâ may be used uninitialized in this function
mob.cpp:4628: warning: âh_stat_lengthâ may be used uninitialized in this function
mob.cpp:4632: warning: âa_resist_lengthâ may be used uninitialized in this function
mob.cpp:4757: warning: âmod2a_lengthâ may be used uninitialized in this function
mob.cpp:4761: warning: âmod2a_cap_lengthâ may be used uninitialized in this function
mob.cpp:4763: warning: âmod2a_space_countâ may be used uninitialized in this function
mob.cpp:4764: warning: âmod2b_space_countâ may be used uninitialized in this function
mob.cpp:4767: warning: âmod2b_lengthâ may be used uninitialized in this function
gcc -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated -Wcomment -Wcast-align -I../common/SocketLib -O -g -pg -march=athlon64 -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2 -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -I/usr/include/mysql client.cpp -o client.o
In file included from embparser.h:11,
from client.cpp:74:
embperl.h:20: fatal error: EXTERN.h: No such file or directory
compilation terminated.
make: *** [client.o] Error 1
Any ideas?
|