EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Please Help (https://www.eqemulator.org/forums/showthread.php?t=32124)

KingMort 09-16-2010 02:19 PM

Please Help
 
Really want to bring Raid Addicts up to the latest build but I keep getting the same error.. No clue what this is all about or how to fix it would really appreciate some help with this one.

Probably you don't need to see all of this just the bottom part but didn't know where to start exactly so here is the whole thing..

Code:

bot.cpp: In member function âvirtual bool Bot::SpellEffect(Mob*, int16, float)â:
bot.cpp:7862: warning: comparison between signed and unsigned integer expressions
bot.cpp: In member function âbool Bot::DoFinishedSpellSingleTarget(int16, Mob*, int16, bool&)â:
bot.cpp:8197: warning: comparison between signed and unsigned integer expressions
bot.cpp:8225: warning: comparison between signed and unsigned integer expressions
bot.cpp: In member function âbool Bot::DoFinishedSpellGroupTarget(int16, Mob*, int16, bool&)â:
bot.cpp:8277: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::BotGroupOrderFollow(Group*, Client*)â:
bot.cpp:8512: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::BotGroupOrderGuard(Group*, Client*)â:
bot.cpp:8538: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::BotGroupOrderAttack(Group*, Mob*, Client*)â:
bot.cpp:8559: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::BotGroupSummon(Group*, Client*)â:
bot.cpp:8578: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic Bot* Bot::GetFirstBotInGroup(Group*)â:
bot.cpp:8694: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::ProcessBotInspectionRequest(Bot*, Client*)â:
bot.cpp:8722: warning: suggest parentheses around assignment used as truth value
bot.cpp: In member function âvoid Bot::CalcBotStats(bool)â:
bot.cpp:8853: warning: comparison between signed and unsigned integer expressions
bot.cpp:8916: warning: comparison between signed and unsigned integer expressions
bot.cpp:8780: warning: unused variable âitems_hpâ
bot.cpp:8781: warning: unused variable âitems_manaâ
bot.cpp: In static member function âstatic bool Bot::GroupHasClass(Group*, uint8)â:
bot.cpp:8970: warning: comparison between signed and unsigned integer expressions
bot.cpp: In static member function âstatic void Bot::ProcessBotCommands(Client*, const Seperator*)â:
bot.cpp:9090: warning: comparison between signed and unsigned integer expressions
bot.cpp:9230: warning: unused variable âxâ
bot.cpp:9478: warning: comparison between signed and unsigned integer expressions
bot.cpp:9518: warning: comparison between signed and unsigned integer expressions
bot.cpp:9546: warning: comparison between signed and unsigned integer expressions
bot.cpp:9598: warning: comparison between signed and unsigned integer expressions
bot.cpp:9657: warning: suggest parentheses around assignment used as truth value
bot.cpp:9675: warning: comparison between signed and unsigned integer expressions
bot.cpp:9718: warning: suggest parentheses around && within ||
bot.cpp:9719: warning: suggest parentheses around && within ||
bot.cpp:9720: warning: suggest parentheses around && within ||
bot.cpp:9745: warning: suggest parentheses around && within ||
bot.cpp:9746: warning: suggest parentheses around && within ||
bot.cpp:9771: warning: suggest parentheses around && within ||
bot.cpp:9800: warning: comparison between signed and unsigned integer expressions
bot.cpp:9823: warning: comparison between signed and unsigned integer expressions
bot.cpp:9882: warning: comparison between signed and unsigned integer expressions
bot.cpp:9995: warning: comparison between signed and unsigned integer expressions
bot.cpp:10036: warning: suggest parentheses around && within ||
bot.cpp:10042: warning: comparison between signed and unsigned integer expressions
bot.cpp:10080: warning: comparison between signed and unsigned integer expressions
bot.cpp:10193: warning: comparison between signed and unsigned integer expressions
bot.cpp:10269: warning: comparison between signed and unsigned integer expressions
bot.cpp:10299: warning: comparison between signed and unsigned integer expressions
bot.cpp:10360: warning: suggest parentheses around && within ||
bot.cpp:10431: warning: comparison between signed and unsigned integer expressions
bot.cpp:10487: warning: comparison between signed and unsigned integer expressions
bot.cpp:10609: warning: suggest parentheses around && within ||
bot.cpp:10610: warning: suggest parentheses around && within ||
bot.cpp:10612: warning: suggest parentheses around && within ||
bot.cpp:10613: warning: suggest parentheses around && within ||
bot.cpp:10614: warning: suggest parentheses around && within ||
bot.cpp:10615: warning: suggest parentheses around && within ||
bot.cpp:10616: warning: suggest parentheses around && within ||
bot.cpp:10617: warning: suggest parentheses around && within ||
bot.cpp:10618: warning: suggest parentheses around && within ||
bot.cpp:10619: warning: suggest parentheses around && within ||
bot.cpp:10620: warning: suggest parentheses around && within ||
bot.cpp:10621: warning: suggest parentheses around && within ||
bot.cpp:10622: warning: suggest parentheses around && within ||
bot.cpp:10623: warning: suggest parentheses around && within ||
bot.cpp:10624: warning: suggest parentheses around && within ||
bot.cpp:10625: warning: suggest parentheses around && within ||
bot.cpp:10626: warning: suggest parentheses around && within ||
bot.cpp:10627: warning: suggest parentheses around && within ||
bot.cpp:10628: warning: suggest parentheses around && within ||
bot.cpp:10629: warning: suggest parentheses around && within ||
bot.cpp:10630: warning: suggest parentheses around && within ||
bot.cpp:10631: warning: suggest parentheses around && within ||
bot.cpp:10738: warning: suggest parentheses around && within ||
bot.cpp:10740: warning: suggest parentheses around && within ||
bot.cpp:10741: warning: suggest parentheses around && within ||
bot.cpp:10742: warning: suggest parentheses around && within ||
bot.cpp:10743: warning: suggest parentheses around && within ||
bot.cpp:10744: warning: suggest parentheses around && within ||
bot.cpp:10745: warning: suggest parentheses around && within ||
bot.cpp:10746: warning: suggest parentheses around && within ||
bot.cpp:10747: warning: suggest parentheses around && within ||
bot.cpp:10748: warning: suggest parentheses around && within ||
bot.cpp:10749: warning: suggest parentheses around && within ||
bot.cpp:10750: warning: suggest parentheses around && within ||
bot.cpp:10751: warning: suggest parentheses around && within ||
bot.cpp:10754: warning: suggest parentheses around && within ||
bot.cpp:10755: warning: suggest parentheses around && within ||
bot.cpp:10756: warning: suggest parentheses around && within ||
bot.cpp:10757: warning: suggest parentheses around && within ||
bot.cpp:10758: warning: suggest parentheses around && within ||
bot.cpp:10759: warning: suggest parentheses around && within ||
bot.cpp:10760: warning: suggest parentheses around && within ||
bot.cpp:10780: warning: comparison between signed and unsigned integer expressions
bot.cpp:10865: warning: comparison between signed and unsigned integer expressions
bot.cpp:11049: warning: comparison between signed and unsigned integer expressions
bot.cpp:11150: warning: comparison between signed and unsigned integer expressions
bot.cpp:11197: warning: suggest parentheses around && within ||
bot.cpp:11198: warning: suggest parentheses around && within ||
bot.cpp:11199: warning: suggest parentheses around && within ||
bot.cpp:11200: warning: suggest parentheses around && within ||
bot.cpp:11230: warning: suggest parentheses around && within ||
bot.cpp:11231: warning: suggest parentheses around && within ||
bot.cpp:11232: warning: suggest parentheses around && within ||
bot.cpp:11233: warning: suggest parentheses around && within ||
bot.cpp:11264: warning: suggest parentheses around && within ||
bot.cpp:11265: warning: suggest parentheses around && within ||
bot.cpp:11266: warning: suggest parentheses around && within ||
bot.cpp: In member function âbool EntityList::Bot_AICheckCloseBeneficialSpells(Bot*, int8, float, int16)â:
bot.cpp:11954: warning: comparison between signed and unsigned integer expressions
bot.cpp:12005: warning: comparison between signed and unsigned integer expressions
bot.cpp: In member function âvoid EntityList::ShowSpawnWindow(Client*, int, bool)â:
bot.cpp:12249: warning: comparison between signed and unsigned integer expressions
bot.cpp:12199: warning: unused variable âarray_counterâ
gcc -o zone .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/CRC16.o ../common/timer.o ../common/packet_dump.o ../common/packet_functions.o ../common/unix.o ../common/packet_dump_file.o ../common/Mutex.o ../common/MiscFunctions.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 ../common/moremath.o worldserver.o spells.o spawngroup.o loottables.o faction.o Map.o watermap.o PlayerCorpse.o petitions.o MobAI.o Object.o ../common/eqtime.o groups.o ../common/classes.o ../common/races.o ../common/TCPConnection.o forage.o ../common/crc32.o ../common/guilds.o ../common/md5.o ../common/dbcore.o ../common/dbasync.o zonedbasync.o parser.o embperl.o embparser.o ../common/EMuShareMem.o ../common/EQEMuError.o ../common/ptimer.o .obj/debug.o .obj/database.o .obj/Item.o .obj/misc.o tribute.o doors.o command.o beacon.o embxs.o AA.o trap.o client_packet.o bonuses.o trading.o spdat.o spell_effects.o aggro.o guild.o inventory.o client_mods.o tradeskills.o waypoints.o pets.o zone_profile.o effects.o perl_client.o perl_entity.o perl_mob.o perl_questitem.o perl_npc.o perl_PlayerCorpse.o perl_groups.o perl_raids.o questmgr.o client_logs.o perlparser.o ../common/rdtsc.o ../common/extprofile.o horse.o exp.o pathing.o fearpath.o special_attacks.o ../common/timeoutmgr.o ../common/Condition.o .obj/opcodemgr.o .obj/emu_opcodes.o ../common/SharedLibrary.o zoning.o titles.o perlpacket.o perl_perlpacket.o zonedb.o ../common/shareddb.o ../common/logsys.o .obj/rulesys.o ../common/logsys_eqemu.o ../common/EQEmuConfig.o ZoneConfig.o ../common/XMLParser.o ../common/tinyxml/tinystr.o ../common/tinyxml/tinyxml.o ../common/tinyxml/tinyxmlerror.o ../common/tinyxml/tinyxmlparser.o ../common/EQStreamProxy.o ../common/patches/patches.o ../common/patches/Client62.o ../common/patches/Titanium.o ../common/patches/Anniversary.o ../common/patches/SoF.o ../common/StructStrategy.o ../common/EQStreamIdent.o ../common/patches/Live.o zone_logsys.o ../common/BasePacket.o ../common/worldconn.o ../common/EmuTCPConnection.o ../common/EmuTCPServer.o ../common/TCPServer.o ../common/guild_base.o guild_mgr.o tasks.o raids.o perl_hateentry.o QGlobals.o bot.o -fpermissive -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wno-deprecated  -Wcomment -Wcast-align -pthread -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE -DEQDEBUG=5 -DNO_PIDLOG -DSHAREMEM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2  -DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN -DBOTS -I/usr/include/mysql  -DBIG_JOINS=1 -fPIC  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl/5.10/CORE  -g -rdynamic -L. -lstdc++ -ldl -L/usr/lib/mysql -lmysqlclient -Wl,-E  -L/usr/local/lib  -L/usr/lib/perl/5.10/CORE -lperl -ldl -lm -lpthread -lc -lcrypt
embperl.o: In function `xs_init':
/home/eqemu/septemberbuild/CaesarBuild/zone/embperl.cpp:92: undefined reference to `boot_Object'
../common/patches/patches.o: In function `ReloadAllPatches()':
/home/eqemu/septemberbuild/CaesarBuild/zone/../common/patches/patches.cpp:26: undefined reference to `SoD::Reload()'
../common/patches/patches.o: In function `RegisterAllPatches(EQStreamIdentifier&)':
/home/eqemu/septemberbuild/CaesarBuild/zone/../common/patches/patches.cpp:17: undefined reference to `SoD::Register(EQStreamIdentifier&)'
bot.o:(.data.rel.ro._ZTV3Bot[vtable for Bot]+0x4d0): undefined reference to `Bot::AI_EngagedCastCheck()'
bot.o:(.data.rel.ro._ZTV3Bot[vtable for Bot]+0x4d8): undefined reference to `Bot::AI_PursueCastCheck()'
bot.o:(.data.rel.ro._ZTV3Bot[vtable for Bot]+0x4e0): undefined reference to `Bot::AI_IdleCastCheck()'
bot.o:(.data.rel.ro._ZTV3Bot[vtable for Bot]+0x508): undefined reference to `Bot::AICastSpell(Mob*, unsigned char, unsigned short)'
bot.o:(.data.rel.ro._ZTV3Bot[vtable for Bot]+0x510): undefined reference to `Bot::AIDoSpellCast(unsigned char, Mob*, int, unsigned int*)'
collect2: ld returned 1 exit status


Secrets 09-16-2010 08:02 PM

You need to update the makefiles to have the SoD patch, the new perl_object.cpp file, and you need the new bot AI stuff.

KingMort 09-17-2010 01:15 PM

make: *** No rule to make target `botRaids.o', needed by `zone'. Stop.

What am I doing wrong ?


Code:

APP=zone
#the non-perl zone can still compile and link all the perl objects
#because they are all #ifdef'd out anyways..
SF= .obj/EQPacket.o .obj/EQStream.o .obj/EQStreamFactory.o .obj/CRC16.o \
  ../common/timer.o  ../common/packet_dump.o ../common/packet_functions.o \
  ../common/unix.o ../common/packet_dump_file.o ../common/Mutex.o ../common/MiscFunctions.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 ../common/moremath.o worldserver.o spells.o spawngroup.o loottables.o \
  faction.o Map.o watermap.o PlayerCorpse.o petitions.o MobAI.o Object.o ../common/eqtime.o \
  groups.o ../common/classes.o ../common/races.o ../common/TCPConnection.o forage.o \
  ../common/crc32.o ../common/guilds.o ../common/md5.o ../common/dbcore.o \
  ../common/dbasync.o zonedbasync.o parser.o embperl.o embparser.o \
  ../common/EMuShareMem.o ../common/EQEMuError.o ../common/ptimer.o \
  .obj/debug.o .obj/database.o .obj/Item.o .obj/misc.o tribute.o \
  doors.o command.o beacon.o embxs.o AA.o trap.o client_packet.o \
  bonuses.o trading.o spdat.o  spell_effects.o aggro.o guild.o \
  inventory.o client_mods.o tradeskills.o waypoints.o pets.o zone_profile.o \
  effects.o perl_client.o perl_entity.o perl_mob.o perl_questitem.o perl_npc.o \
  perl_PlayerCorpse.o perl_groups.o perl_raids.o questmgr.o client_logs.o perlparser.o \
  ../common/rdtsc.o ../common/extprofile.o horse.o exp.o pathing.o \
  fearpath.o special_attacks.o ../common/timeoutmgr.o ../common/Condition.o \
  .obj/opcodemgr.o .obj/emu_opcodes.o ../common/SharedLibrary.o zoning.o \
  titles.o perlpacket.o perl_perlpacket.o zonedb.o ../common/shareddb.o \
  ../common/logsys.o .obj/rulesys.o ../common/logsys_eqemu.o \
  ../common/EQEmuConfig.o ZoneConfig.o ../common/XMLParser.o ../common/tinyxml/tinystr.o \
  ../common/tinyxml/tinyxml.o ../common/tinyxml/tinyxmlerror.o ../common/tinyxml/tinyxmlparser.o \
  ../common/EQStreamProxy.o ../common/patches/patches.o \
  ../common/patches/Client62.o ../common/patches/Titanium.o \
  ../common/patches/Anniversary.o ../common/patches/SoF.o ../common/patches/SoD.o \
  ../common/StructStrategy.o ../common/EQStreamProxy.o \
  ../common/EQStreamIdent.o ../common/patches/Live.o \
  zone_logsys.o ../common/BasePacket.o ../common/worldconn.o \
  ../common/EmuTCPConnection.o ../common/EmuTCPServer.o ../common/TCPServer.o \
  ../common/guild_base.o \
  guild_mgr.o tasks.o raids.o perl_hateentry.o perl_object.o QGlobals.o bot.o botRaids.o


all: $(APP)


$(APP): $(SF)
    $(LINKER) $(LINKOUT)$@ $^ $(LINKOPTS)

clean:
    rm -f $(SF) $(APP)

%.o: %.cpp
    $(CC) $(NOLINK) $(COPTS) $< $(OUT)$@

.obj/%.o: ../common/%.cpp ../common/%.h
    mkdir -p .obj
    $(CC) $(COPTS) $(NOLINK) $< $(OUT)$@


Andrew80k 09-17-2010 02:06 PM

You need to update the makefile. I don't think there's a botRaids.c file for the .o file as a target. Remove the botRaids.o reference in the makefile.common

Secrets 09-17-2010 02:11 PM

That would be because the botraids is removed. You need to add botspellsai.o instead of that.

KingMort 09-18-2010 10:47 AM

Thanks we got it


All times are GMT -4. The time now is 09:05 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.