Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-19-2011, 07:52 AM
Overlord_Manny
Fire Beetle
 
Join Date: Jan 2011
Posts: 3
Default Problems with compiling zone cvs rev 1828

Here's what I'm working with:

I have an up-to-date Arch linux install on a headless file server.

gcc = 4.5.2
perl = 5.12.2
mysql = 14.14

I had no problems compiling world and libEMuShareMem.so

But I come up with many issues compiling zone here is my error log...

Code:
makefile:26: .depend: No such file or directory
../common/EQStream.cpp: In member function ‘void EQStream::init()’:
../common/EQStream.cpp:73:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function ‘void EQStream::ProcessPacket(EQProtocolPacket*)’:
../common/EQStream.cpp:382:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp:397:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function ‘void EQStream::SequencedPush(EQProtocolPacket*)’:
../common/EQStream.cpp:539:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp:551:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function ‘void EQStream::Write(int)’:
../common/EQStream.cpp:659:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp:702:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function ‘void EQStream::AckPackets(uint16)’:
../common/EQStream.cpp:1081:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp:1118:44: warning: comparison between signed and unsigned integer expressions
../common/EQStream.cpp: In member function ‘void EQStream::CheckTimeout(uint32, uint32)’:
../common/EQStream.cpp:1260:9: warning: enumeration value ‘UNESTABLISHED’ not handled in switch
zone.cpp: In member function ‘bool Zone::LoadZoneObjects()’:
zone.cpp:245:27: warning: missing braces around initializer for ‘uint32 [2]’
zone.cpp: In constructor ‘Zone::Zone(int32, int32, const char*)’:
zone.cpp:832:15: warning: comparison between signed and unsigned integer expressions
entity.cpp:4773:2: warning: this decimal constant is unsigned only in ISO C90
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:1230:8: warning: ‘Mob::spellend_timer’ will be initialized after
mob.h:1060:8: warning:   ‘Timer Mob::rewind_timer’
mob.cpp:55:1: warning:   when initialized here
mob.h:1358:8: warning: ‘Mob::bindwound_timer’ will be initialized after
mob.h:815:8: warning:   ‘Timer Mob::GravityTimer’
mob.cpp:55:1: warning:   when initialized here
mob.cpp: In member function ‘void Mob::SendPosUpdate(int8)’:
mob.cpp:961:24: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Mob::ShowStats(Client*)’:
mob.cpp:1020:8: warning: unused variable ‘WornCap’
mob.cpp: In member function ‘int Mob::CountDispellableBuffs()’:
mob.cpp:2965:21: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘int Mob::GetSnaredAmount()’:
mob.cpp:2988:22: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Mob::TryTwincast(Mob*, Mob*, uint32)’:
mob.cpp:3285:21: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘sint32 Mob::GetVulnerability(sint32, Mob*, uint32, int32)’:
mob.cpp:3312:21: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘int32 Mob::GetItemStat(int32, const char*)’:
mob.cpp:3495:31: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Mob::TrySpellOnKill()’:
mob.cpp:4103:54: warning: comparison between signed and unsigned integer expressions
mob.cpp:4108:57: warning: comparison between signed and unsigned integer expressions
mob.cpp:4112:58: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘bool Mob::TrySpellOnDeath()’:
mob.cpp:4123:55: warning: comparison between signed and unsigned integer expressions
mob.cpp:4130:58: warning: comparison between signed and unsigned integer expressions
mob.cpp:4136:59: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘sint16 Mob::GetSkillDmgAmt(int16)’:
mob.cpp:4260:21: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Client::SendClientStatWindow(Client*)’:
mob.cpp:4357:20: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Mob::DoGravityEffect()’:
mob.cpp:4925:28: warning: comparison between signed and unsigned integer expressions
mob.cpp: In member function ‘void Client::SendClientStatWindow(Client*)’:
mob.cpp:4597:7: warning: ‘a_stat_length’ may be used uninitialized in this function
mob.cpp:4602:7: warning: ‘h_stat_length’ may be used uninitialized in this function
mob.cpp:4606:7: warning: ‘a_resist_length’ may be used uninitialized in this function
mob.cpp:4728:7: warning: ‘mod2a_length’ may be used uninitialized in this function
mob.cpp:4732:7: warning: ‘mod2a_cap_length’ may be used uninitialized in this function
mob.cpp:4734:7: warning: ‘mod2a_space_count’ may be used uninitialized in this function
mob.cpp:4735:7: warning: ‘mod2b_space_count’ may be used uninitialized in this function
mob.cpp:4738:7: warning: ‘mod2b_length’ may be used uninitialized in this function
client.cpp: In member function ‘bool Client::Save(int8)’:
client.cpp:495:18: warning: comparison between signed and unsigned integer expressions
client.cpp:507:27: warning: comparison between signed and unsigned integer expressions
client.cpp:534:20: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::ChannelMessageReceived(int8, int8, int8, const char*, const char*)’:
client.cpp:798:41: warning: comparison between signed and unsigned integer expressions
client.cpp:806:29: warning: comparison between signed and unsigned integer expressions
client.cpp:883:20: warning: comparison between signed and unsigned integer expressions
client.cpp:927:20: warning: comparison between signed and unsigned integer expressions
client.cpp:975:20: warning: comparison between signed and unsigned integer expressions
client.cpp:990:20: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::SendManaUpdatePacket()’:
client.cpp:1757:23: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::Sacrifice(Client*)’:
client.cpp:3508:26: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::SendWindow(int32, int32, int32, int, Client*, const char*, const char*, ...)’:
client.cpp:3687:71: warning: cast from type ‘const char*’ to type ‘char*’ casts away qualifiers
client.cpp: In member function ‘void Client::SendRewards()’:
client.cpp:4892:35: warning: comparison between signed and unsigned integer expressions
client.cpp:4911:29: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::SendAdventureDetails()’:
client.cpp:5470:35: warning: unused variable ‘ad’
client.cpp: In member function ‘void Client::CheckLDoNHail(Mob*)’:
client.cpp:5597:41: warning: comparison between signed and unsigned integer expressions
client.cpp: In member function ‘void Client::NPCSpawn(NPC*, const char*, uint32)’:
client.cpp:5732:31: warning: comparison between signed and unsigned integer expressions
client_process.cpp: In member function ‘virtual bool Client::Process()’:
client_process.cpp:458:33: warning: comparison between signed and unsigned integer expressions
client_process.cpp: In member function ‘void Client::OPMoveCoin(const EQApplicationPacket*)’:
client_process.cpp:1555:36: warning: comparison between signed and unsigned integer expressions
client_process.cpp:1307:8: warning: unused variable ‘value’
npc.cpp: In constructor ‘NPC::NPC(const NPCType*, Spawn2*, float, float, float, float, int, bool)’:
npc.cpp:101:15: warning: cast from type ‘const int32*’ to type ‘int32*’ casts away qualifiers
npc.h:359:11: warning: ‘NPC::taunt_timer’ will be initialized after
npc.h:336:8: warning:   ‘Timer NPC::qglobal_purge_timer’
npc.cpp:61:1: warning:   when initialized here
npc.cpp: In member function ‘virtual bool NPC::Process()’:
npc.cpp:589:67: warning: comparison between signed and unsigned integer expressions
npc.cpp: In member function ‘void NPC::ModifyNPCStat(const char*, const char*)’:
npc.cpp:1588:31: warning: comparison between signed and unsigned integer expressions
net.cpp: In function ‘int main(int, char**)’:
net.cpp:528:14: warning: large integer implicitly truncated to unsigned type
net.cpp:616:6: warning: suggest parentheses around comparison in operand of ‘&’
net.cpp: In function ‘bool FileLoadSPDat(SPDat_Spell_Struct*, sint32)’:
net.cpp:1126:38: warning: suggest parentheses around assignment used as truth value
attack.cpp: In member function ‘bool Mob::AttackAnimation(SkillType&, int, const ItemInst*)’:
attack.cpp:147:4: warning: case value ‘99’ not in enumerated type ‘SkillType’
attack.cpp: In member function ‘virtual void Client::Death(Mob*, sint32, int16, SkillType)’:
attack.cpp:1602:94: warning: suggest parentheses around ‘&&’ within ‘||’
attack.cpp: In member function ‘virtual void NPC::Death(Mob*, sint32, int16, SkillType)’:
attack.cpp:2122:24: warning: comparison between signed and unsigned integer expressions
attack.cpp:2234:36: warning: comparison between signed and unsigned integer expressions
attack.cpp: In member function ‘virtual void Mob::TryCriticalHit(Mob*, int16, sint32&)’:
attack.cpp:3910:85: warning: suggest parentheses around ‘&&’ within ‘||’
attack.cpp:3952:48: warning: suggest parentheses around ‘&&’ within ‘||’
attack.cpp: In member function ‘void Mob::ApplyMeleeDamageBonus(int16, sint32&)’:
attack.cpp:4112:23: warning: comparison between signed and unsigned integer expressions
attack.cpp: In member function ‘virtual void Mob::MeleeMitigation(Mob*, sint32&, sint32)’:
attack.cpp:613:7: warning: ‘armor’ may be used uninitialized in this function
worldserver.cpp: In member function ‘virtual void WorldServer::Process()’:
worldserver.cpp:1499:42: warning: unused variable ‘ds’
spells.cpp: In member function ‘void Mob::CastedSpellFinished(int16, int32, int16, int16, int32, sint16)’:
spells.cpp:1090:37: warning: comparison between signed and unsigned integer expressions
spells.cpp:1091:67: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BardPulse(uint16, Mob*)’:
spells.cpp:2115:30: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘int Mob::AddBuff(Mob*, int16, int, sint32)’:
spells.cpp:2644:31: warning: comparison between signed and unsigned integer expressions
spells.cpp:2666:20: warning: comparison between signed and unsigned integer expressions
spells.cpp:2666:45: warning: comparison between signed and unsigned integer expressions
spells.cpp:2681:34: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘int Mob::CanBuffStack(int16, int8, bool)’:
spells.cpp:2778:16: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘virtual bool Mob::SpellOnTarget(int16, Mob*, bool, bool, sint16)’:
spells.cpp:3070:21: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘bool Mob::FindBuff(int16)’:
spells.cpp:3456:17: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffFadeAll()’:
spells.cpp:3467:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffFadeDetrimental()’:
spells.cpp:3477:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffFadeDetrimentalByCaster(Mob*)’:
spells.cpp:3491:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffFadeBySpellID(int16)’:
spells.cpp:3531:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffFadeByEffect(int, int)’:
spells.cpp:3547:17: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::MemSpell(int16, int, bool)’:
spells.cpp:4251:13: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UnmemSpell(int, bool)’:
spells.cpp:4271:12: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UnmemSpellAll(bool)’:
spells.cpp:4287:17: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::ScribeSpell(int16, int, bool)’:
spells.cpp:4294:13: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UnscribeSpell(int, bool)’:
spells.cpp:4314:13: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UnscribeSpellAll(bool)’:
spells.cpp:4335:17: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UntrainDisc(int, bool)’:
spells.cpp:4344:13: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Client::UntrainDiscAll(bool)’:
spells.cpp:4360:17: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘int Client::GetNextAvailableSpellBookSlot(int)’:
spells.cpp:4368:34: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘int Client::FindSpellBookSlotBySpellID(int16)’:
spells.cpp:4377:21: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘sint16 Mob::GetBuffSlotFromType(int16)’:
spells.cpp:4809:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘bool Mob::FindType(int8, bool, int16)’:
spells.cpp:4830:22: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘bool Mob::UseBardSpellLogic(int16, int)’:
spells.cpp:4983:11: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::SendPetBuffsToClient()’:
spells.cpp:5049:35: warning: comparison between signed and unsigned integer expressions
spells.cpp: In member function ‘void Mob::BuffModifyDurationBySpellID(int16, sint32)’:
spells.cpp:5121:21: warning: comparison between signed and unsigned integer expressions
faction.cpp: In member function ‘FACTION_VALUE Client::GetFactionLevel(int32, int32, int32, int32, int32, sint32, Mob*)’:
faction.cpp:448:8: warning: suggest explicit braces to avoid ambiguous ‘else’
PlayerCorpse.cpp: In constructor ‘Corpse::Corpse(Client*, sint32)’:
PlayerCorpse.cpp:348:93: warning: suggest parentheses around ‘&&’ within ‘||’
PlayerCorpse.cpp: In member function ‘void Corpse::LootItem(Client*, const EQApplicationPacket*)’:
PlayerCorpse.cpp:1114:40: warning: comparison between signed and unsigned integer expressions
MobAI.cpp: In member function ‘virtual void Client::AI_Process()’:
MobAI.cpp:858:37: warning: comparison between signed and unsigned integer expressions
MobAI.cpp:892:38: warning: comparison between signed and unsigned integer expressions
MobAI.cpp:894:38: warning: comparison between signed and unsigned integer expressions
MobAI.cpp:909:40: warning: comparison between signed and unsigned integer expressions
MobAI.cpp: In member function ‘bool Mob::AddRampage(Mob*)’:
MobAI.cpp:1914:43: warning: comparison between signed and unsigned integer expressions
MobAI.cpp: In member function ‘bool Mob::Rampage()’:
MobAI.cpp:1933:43: warning: comparison between signed and unsigned integer expressions
../common/crc32.cpp:105:2: warning: #warning "Comment out i386 define if your arch isn't x86"
parser.cpp: In function ‘std::string gettok(const char*, char, int)’:
parser.cpp:174:28: warning: value computed is not used
parser.cpp: In member function ‘void Parser::ExCommands(std::string, std::string, int, int32, Mob*, Mob*)’:
parser.cpp:772:11: warning: value computed is not used
parser.cpp: In member function ‘virtual int Parser::LoadScript(int, const char*, Mob*)’:
parser.cpp:1113:7: warning: suggest explicit braces to avoid ambiguous ‘else’
parser.cpp: In member function ‘void Parser::HandleVars(std::string, std::string, std::string&, std::string, int32, Mob*)’:
parser.cpp:1228:93: warning: suggest parentheses around ‘&&’ within ‘||’
parser.cpp: In member function ‘int Parser::ParseCommands(std::string, int, int, int32, Mob*, Mob*, std::string)’:
parser.cpp:1569:6: warning: suggest explicit braces to avoid ambiguous ‘else’
embperl.cpp: In member function ‘void Embperl::DoInit()’:
embperl.cpp:127:25: warning: cast from type ‘const char**’ to type ‘char**’ casts away qualifiers
embparser.cpp: In member function ‘bool PerlembParser::PlayerHasQuestSub(const char*)’:
embparser.cpp:1233:16: warning: comparison with string literal results in unspecified behaviour
../common/ptimer.cpp: In member function ‘bool PTimerList::Load(Database*)’:
../common/ptimer.cpp:350:25: warning: converting ‘false’ to pointer type for argument 1 of ‘bool PersistentTimer::Expired(Database*, bool)’
../common/database.cpp: In member function ‘bool Database::CheckNameFilter(const char*, bool)’:
../common/database.cpp:1406:36: warning: comparison between signed and unsigned integer expressions
../common/database.cpp:1414:35: warning: comparison between signed and unsigned integer expressions
../common/database.cpp:1421:35: warning: comparison between signed and unsigned integer expressions
../common/database.cpp:1440:37: warning: suggest parentheses around assignment used as truth value
../common/database.cpp:1443:40: warning: comparison between signed and unsigned integer expressions
../common/database.cpp: In member function ‘bool Database::GetUnusedInstanceID(uint16&)’:
../common/database.cpp:2522:38: warning: suggest parentheses around assignment used as truth value
../common/database.cpp:2524:27: warning: comparison between signed and unsigned integer expressions
../common/Item.cpp: In constructor ‘EvoItemInst::EvoItemInst(const ItemInst&)’:
../common/Item.cpp:1647:37: warning: cast from type ‘const EvoItemInst*’ to type ‘EvoItemInst*’ casts away qualifiers
../common/Item.cpp: In member function ‘void EvoItemInst::Initialize(SharedDatabase*)’:
../common/Item.cpp:1730:70: warning: comparison between signed and unsigned integer expressions
../common/misc.cpp: In function ‘void build_hex_line(const char*, long unsigned int, long unsigned int, char*, unsigned char)’:
../common/misc.cpp:557:41: warning: format ‘%0*i’ expects type ‘int’, but argument 4 has type ‘long unsigned int’
tribute.cpp: In member function ‘void Client::ToggleTribute(bool)’:
tribute.cpp:74:18: warning: comparison between signed and unsigned integer expressions
tribute.cpp: In member function ‘void Client::DoTributeUpdate()’:
tribute.cpp:127:17: warning: comparison between signed and unsigned integer expressions
tribute.cpp:142:18: warning: comparison between signed and unsigned integer expressions
tribute.cpp:179:18: warning: comparison between signed and unsigned integer expressions
tribute.cpp: In member function ‘void Client::ChangeTributeSettings(TributeInfo_Struct*)’:
tribute.cpp:200:17: warning: comparison between signed and unsigned integer expressions
doors.cpp: In member function ‘void Doors::HandleClick(Client*, int8)’:
doors.cpp:153:15: warning: comparison between signed and unsigned integer expressions
command.cpp:7134:2: warning: #warning rewrite this...
command.cpp: In function ‘void command_movechar(Client*, const Seperator*)’:
command.cpp:1598:130: warning: suggest parentheses around ‘&&’ within ‘||’
command.cpp: In function ‘void command_timezone(Client*, const Seperator*)’:
command.cpp:1738:19: warning: comparison with string literal results in unspecified behaviour
command.cpp: In function ‘void command_peekinv(Client*, const Seperator*)’:
command.cpp:3130:80: warning: comparison between signed and unsigned integer expressions
command.cpp: In function ‘void command_fixmob(Client*, const Seperator*)’:
command.cpp:3802:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3813:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3826:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3838:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3849:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3860:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3871:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3882:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3893:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3904:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3915:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp:3926:17: warning: deprecated conversion from string constant to ‘char*’
command.cpp: In function ‘void command_traindisc(Client*, const Seperator*)’:
command.cpp:8794:24: warning: comparison between signed and unsigned integer expressions
command.cpp: In function ‘void command_object(Client*, const Seperator*)’:
command.cpp:9436:23: warning: deprecated conversion from string constant to ‘char*’
command.cpp:9795:39: warning: suggest parentheses around assignment used as truth value
command.cpp:9807:40: warning: suggest parentheses around assignment used as truth value
command.cpp:9874:39: warning: suggest parentheses around assignment used as truth value
command.cpp:10319:38: warning: suggest parentheses around assignment used as truth value
command.cpp:10637:41: warning: suggest parentheses around assignment used as truth value
command.cpp:10640:45: warning: comparison between signed and unsigned integer expressions
command.cpp:10715:39: warning: suggest parentheses around assignment used as truth value
command.cpp:9448:15: warning: unused variable ‘line’
command.cpp:9450:8: warning: unused variable ‘lastid’
command.cpp:9464:8: warning: unused variable ‘instance’
command.cpp: In function ‘void command_fixmob(Client*, const Seperator*)’:
command.cpp:3763:8: warning: ‘codeMove’ may be used uninitialized in this function
command.cpp:3791:9: warning: ‘ChangeSetting’ may be used uninitialized in this function
AA.cpp: In member function ‘void Client::HandleAAAction(aaID)’:
AA.cpp:460:8: warning: case label value exceeds maximum value for type
AA.cpp: In member function ‘void Client::BuyAA(AA_Action*)’:
AA.cpp:949:22: warning: comparison between signed and unsigned integer expressions
AA.cpp: In member function ‘void Client::SendAA(int32, int)’:
AA.cpp:1118:26: warning: comparison between signed and unsigned integer expressions
AA.cpp:1154:17: warning: comparison between signed and unsigned integer expressions
client_packet.cpp:2005:3: warning: this decimal constant is unsigned only in ISO C90
client_packet.cpp: In member function ‘void Client::Handle_OP_ItemVerifyRequest(const EQApplicationPacket*)’:
client_packet.cpp:2001:33: warning: cast from type ‘const ItemInst*’ to type ‘ItemInst*’ casts away qualifiers
client_packet.cpp: In member function ‘void Client::Handle_OP_ConsiderCorpse(const EQApplicationPacket*)’:
client_packet.cpp:2429:37: warning: unused variable ‘restime’
client_packet.cpp: In member function ‘void Client::Handle_OP_GuildInviteAccept(const EQApplicationPacket*)’:
client_packet.cpp:4318:28: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘void Client::Handle_OP_CastSpell(const EQApplicationPacket*)’:
client_packet.cpp:4414:48: warning: comparison between signed and unsigned integer expressions
client_packet.cpp:4427:38: warning: cast from type ‘const ItemInst*’ to type ‘ItemInst*’ casts away qualifiers
client_packet.cpp:4446:37: warning: cast from type ‘const ItemInst*’ to type ‘ItemInst*’ casts away qualifiers
client_packet.cpp: In member function ‘void Client::Handle_OP_LoadSpellSet(const EQApplicationPacket*)’:
client_packet.cpp:6351:12: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘bool Client::FinishConnState2(DBAsyncWork*)’:
client_packet.cpp:8222:27: warning: comparison between signed and unsigned integer expressions
client_packet.cpp:8575:22: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘void Client::CompleteConnect()’:
client_packet.cpp:8785:59: warning: large integer implicitly truncated to unsigned type
client_packet.cpp:8785:59: warning: large integer implicitly truncated to unsigned type
client_packet.cpp:8798:62: warning: large integer implicitly truncated to unsigned type
client_packet.cpp:8798:62: warning: large integer implicitly truncated to unsigned type
client_packet.cpp:8979:26: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘void Client::Handle_OP_RaidCommand(const EQApplicationPacket*)’:
client_packet.cpp:9523:56: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘void Client::Handle_OP_PVPLeaderBoardDetailsRequest(const EQApplicationPacket*)’:
client_packet.cpp:10492:37: warning: unused variable ‘pvplbdrs’
client_packet.cpp: In member function ‘void Client::Handle_OP_AdventureMerchantSell(const EQApplicationPacket*)’:
client_packet.cpp:10583:35: warning: comparison between signed and unsigned integer expressions
client_packet.cpp: In member function ‘void Client::Handle_OP_SetStartCity(const EQApplicationPacket*)’:
client_packet.cpp:10782:36: warning: suggest parentheses around assignment used as truth value
client_packet.cpp:10819:37: warning: suggest parentheses around assignment used as truth value
client_packet.cpp: In member function ‘void Client::Handle_OP_BuffRemoveRequest(const EQApplicationPacket*)’:
client_packet.cpp:11626:37: warning: comparison between signed and unsigned integer expressions
bonuses.cpp: In member function ‘void Client::CalcAABonuses(StatBonuses*)’:
bonuses.cpp:511:18: warning: comparison between signed and unsigned integer expressions
bonuses.cpp: In member function ‘void Client::ApplyAABonuses(uint32, uint32, StatBonuses*)’:
bonuses.cpp:740:18: warning: comparison between signed and unsigned integer expressions
bonuses.cpp:775:18: warning: comparison between signed and unsigned integer expressions
bonuses.cpp: In member function ‘void Mob::CalcSpellBonuses(StatBonuses*)’:
bonuses.cpp:827:17: warning: comparison between signed and unsigned integer expressions
bonuses.cpp: In member function ‘bool Client::CalcItemScale(int32, int32)’:
bonuses.cpp:1696:23: warning: comparison between signed and unsigned integer expressions
bonuses.cpp:1704:40: warning: cast from type ‘const EvoItemInst*’ to type ‘EvoItemInst*’ casts away qualifiers
spdat.cpp: In function ‘bool IsValidSpell(int32)’:
spdat.cpp:476:13: warning: comparison between signed and unsigned integer expressions
spdat.cpp: In function ‘bool IsFastHealSpell(int16)’:
spdat.cpp:876:35: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function ‘virtual bool Mob::SpellEffect(Mob*, int16, float)’:
spell_effects.cpp:314:20: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:957:30: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:976:30: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:995:30: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1657:24: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1689:24: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1724:24: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:1759:24: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:2351:12: warning: unused variable ‘target_z’
spell_effects.cpp: In member function ‘void Mob::BuffProcess()’:
spell_effects.cpp:2763:34: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function ‘sint16 Client::CalcAAFocusEffect(focusType, int16, int16)’:
spell_effects.cpp:3434:22: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:3442:23: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function ‘sint16 Client::CalcAAFocus(focusType, uint32, int16)’:
spell_effects.cpp:3523:27: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp: In member function ‘sint16 Client::GetFocusEffect(focusType, int16)’:
spell_effects.cpp:4042:79: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:4078:34: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:4107:22: warning: comparison between signed and unsigned integer expressions
spell_effects.cpp:4103:9: warning: unused variable ‘slots’
spell_effects.cpp: In member function ‘bool Mob::CheckHitsRemaining(uint32, bool, bool)’:
spell_effects.cpp:4140:22: warning: comparison between signed and unsigned integer expressions
inventory.cpp: In member function ‘bool Client::CheckLoreConflict(const Item_Struct*)’:
inventory.cpp:97:26: warning: comparison between signed and unsigned integer expressions
tradeskills.cpp: In member function ‘bool ZoneDatabase::GetTradeRecipe(const ItemInst*, uint8, uint32, uint32, DBTradeskillRecipe_Struct*)’:
tradeskills.cpp:1288:35: warning: comparison between signed and unsigned integer expressions
tradeskills.cpp: In member function ‘bool ZoneDatabase::GetTradeRecipe(uint32, uint8, uint32, uint32, DBTradeskillRecipe_Struct*)’:
tradeskills.cpp:1404:63: error: cannot call constructor ‘std::pair<unsigned int, unsigned char>::pair’ directly
tradeskills.cpp:1404:63: error:   for a function-style cast, remove the redundant ‘::pair’
tradeskills.cpp:1427:61: error: cannot call constructor ‘std::pair<unsigned int, unsigned char>::pair’ directly
tradeskills.cpp:1427:61: error:   for a function-style cast, remove the redundant ‘::pair’
make: *** [tradeskills.o] Error 1
I have no clue about programming so I don't know what other info I can give... I'd be perfectly fine with precompiled binaries but haven't found any.
Reply With Quote
  #2  
Old 01-19-2011, 01:38 PM
Fulcrum
Sarnak
 
Join Date: Sep 2010
Location: EC Tunnel
Posts: 81
Default

Quote:
Originally Posted by Overlord_Manny View Post
Here's what I'm working with:

I have an up-to-date Arch linux install on a headless file server.

gcc = 4.5.2
Perl = 5.12.2
mysql = 14.14

I had no problems compiling world and libEMuShareMem.so

But I come up with many issues compiling zone here is my error log...

I have no clue about programming so I don't know what other info I can give... I'd be perfectly fine with precompiled binaries but haven't found any.
Might have changed since I compiled my last server, but the Perl version I used was 5.10.*
Once I got it, everything went smoothly.

Be sure when you uninstall 5.12.*, you go through the whole deal, remove everything... and even delete the old perl folder manually before trying a reinstall.
This should be enough for most people, but there have been a few that might have had problems with leftovers from the 5.12.* installation.
Reply With Quote
  #3  
Old 01-19-2011, 05:04 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

From a quick 'google' this appears to be due to some changes in G++ 4.5. You need to remove ::pair from lines 1404 and 1427, i.e.
Code:
Index: tradeskills.cpp
===================================================================
--- tradeskills.cpp     (revision 1832)
+++ tradeskills.cpp     (working copy)
@@ -1401,7 +1401,7 @@
                }*/
                uint32 item = (uint32)atoi(row[0]);
                uint8 num = (uint8) atoi(row[1]);
-               spec->onsuccess.push_back(pair<uint32,uint8>::pair(item, num));
+               spec->onsuccess.push_back(pair<uint32,uint8>(item, num));
        }
        mysql_free_result(result);

@@ -1424,7 +1424,7 @@
                        }*/
                        uint32 item = (uint32)atoi(row[0]);
                        uint8 num = (uint8) atoi(row[1]);
-                       spec->onfail.push_back(pair<uint32,uint8>::pair(item, num));
+                       spec->onfail.push_back(pair<uint32,uint8>(item, num));
                }
                mysql_free_result(result);
        }
That is a 'diff', but essentially, open tradeskills.cpp with an editor, go to lines 1404, remove ::pair, and then do the same on line 1427.

All the other 'warnings' can be safely ignored.

Last edited by Derision; 01-19-2011 at 05:14 PM..
Reply With Quote
  #4  
Old 01-19-2011, 07:17 PM
Overlord_Manny
Fire Beetle
 
Join Date: Jan 2011
Posts: 3
Default

Wow, I have no idea why my code box is so wide... Thank you so much Derision... Your googling skills are def superior to mine. I have been searching for three days. I modded those two lines and it compiled like a charm... By the way what are all those warnings? Does it mean that I'm going to be missing out on any non-essential options?
Reply With Quote
  #5  
Old 01-19-2011, 07:40 PM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

The short answer is that the warnings can generally be ignored. If something is so wrong that the compiler can't make sense of it then you'll get an error.

Warnings can be a bit of a religious war amongst programmers, so I'll leave the long answer out.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:22 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3