Error on compile .... 3.3.5a

Issue #62 resolved
AS Joao created an issue

Compiling the core 335 with the latest revision (a368fae588) and using last version patch on Centos as OS (32bit's). Resulted in the following error:

[ 15%] Building CXX object src/server/game/CMakeFiles/game.dir/AI/NpcBots/botcommands.cpp.o /home/warcraft/335/bots-core/src/server/game/AI/NpcBots/botcommands.cpp: In static member function âstatic bool script_bot_commands::HandleMainTankCommand(ChatHandler, const char)â: /home/warcraft/335/bots-core/src/server/game/AI/NpcBots/botcommands.cpp:103: error: âclass Playerâ has no member named âGetSelectionâ compilation terminated due to -Wfatal-errors. make[2]: [src/server/game/CMakeFiles/game.dir/AI/NpcBots/botcommands.cpp.o] Error 1 make[1]: [src/server/game/CMakeFiles/game.dir/all] Error 2 make: *** [all] Error 2

Comments (4)

  1. Josh Carter

    I'm glad i"m not the only one that feels like that lately... Not much to do for that upgrade though.

    -- Update command permissions with wrong name
    UPDATE `rbac_permissions` SET `name` = CONCAT('Command: ', `name`) WHERE `name` NOT LIKE 'Command: %' AND id BETWEEN 230 AND 1013;
    

    I just replaced that 1st line in 2013_09_29_00_auth_misc.sql

  2. marcus_woods

    I had the same error as mastersync. I changed what you had suggested and then it opened a new ball of wax at 100%

    EDIT: Is this a new issue or did I break it when I replaced GetSelection() with GetTarget()?

    EDIT AGAIN: was looking through the .patch. looks as if maybe I replaced one GetTarget as getTarget with a lowercase g. I have fixed that and am making now. I will report back if I still get an error.

    EDIT LAST: Still get the errors on compile.

    ../game/libgame.a(Player.cpp.o): In function `Player::SendBotCommandState(Creature*, CommandStates)':
    Player.cpp:(.text+0x2c94): undefined reference to `Creature::SetBotCommandState(CommandStates, bool)'
    ../game/libgame.a(Player.cpp.o): In function `Player::InitBotEquips(Creature*)':
    Player.cpp:(.text+0x18f0a): undefined reference to `Creature::ApplyBotItemBonuses(unsigned char)'
    Player.cpp:(.text+0x18f7e): undefined reference to `Creature::ApplyBotItemBonuses(unsigned char)'
    Player.cpp:(.text+0x18f8b): undefined reference to `Creature::ApplyBotItemBonuses(unsigned char)'
    Player.cpp:(.text+0x18f98): undefined reference to `Creature::ApplyBotItemBonuses(unsigned char)'
    Player.cpp:(.text+0x18fa5): undefined reference to `Creature::ApplyBotItemBonuses(unsigned char)'
    ../game/libgame.a(Player.cpp.o):Player.cpp:(.text+0x18fb2): more undefined references to `Creature::ApplyBotItemBonuses(unsigned char)' follow
    ../game/libgame.a(Player.cpp.o): In function `Player::InitBotEquips(Creature*)':
    Player.cpp:(.text+0x190f1): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(Player.cpp.o): In function `Player::RemoveBot(unsigned long, bool, bool) [clone .part.1647]':
    Player.cpp:(.text+0x5a3ea): undefined reference to `Creature::SetBotsPetDied()'
    Player.cpp:(.text+0x5a3f8): undefined reference to `Creature::OnBotDespawn(Creature*)'
    Player.cpp:(.text+0x5a419): undefined reference to `Creature::SetIAmABot(bool)'
    ../game/libgame.a(Player.cpp.o): In function `Player::CreateBot(unsigned int, unsigned char, unsigned char, bool, bool)':
    Player.cpp:(.text+0x6d045): undefined reference to `Creature::SetBotCommandState(CommandStates, bool)'
    Player.cpp:(.text+0x6d2c5): undefined reference to `Creature::InitBotAI(bool)'
    Player.cpp:(.text+0x6d2db): undefined reference to `Creature::SetBotCommandState(CommandStates, bool)'
    ../game/libgame.a(Player.cpp.o): In function `Player::RefreshBot(unsigned int)':
    Player.cpp:(.text+0x6dcd4): undefined reference to `Creature::GetBotCommandState() const'
    Player.cpp:(.text+0x6dd04): undefined reference to `Creature::SetBotsPetDied()'
    Player.cpp:(.text+0x6dd12): undefined reference to `Creature::OnBotDespawn(Creature*)'
    ../game/libgame.a(Object.cpp.o): In function `Map::SummonCreature(unsigned int, Position const&, SummonPropertiesEntry const*, unsigned int, Unit*, unsigned int, unsigned int)':
    Object.cpp:(.text+0x78c6): undefined reference to `Creature::GetIAmABot() const'
    Object.cpp:(.text+0x78e1): undefined reference to `Creature::OnBotSummon(Creature*)'
    Object.cpp:(.text+0x7b19): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::GetModelForForm(ShapeshiftForm) const':
    Unit.cpp:(.text+0xa636): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::HandleStatModifier(UnitMods, UnitModifierType, float, bool)':
    Unit.cpp:(.text+0xfd45): undefined reference to `Creature::SetBotShouldUpdateStats()'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::isSpellCrit(Unit*, SpellInfo const*, SpellSchoolMask, WeaponAttackType) const':
    Unit.cpp:(.text+0x1f093): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::Update(unsigned int)':
    Unit.cpp:(.text+0x2d981): undefined reference to `Creature::GetIAmABot() const'
    Unit.cpp:(.text+0x2d994): undefined reference to `Creature::GetIAmABotsPet() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::DealDamage(Unit*, unsigned int, CleanDamage const*, DamageEffectType, SpellSchoolMask, SpellInfo const*, bool) [clone .constprop.1032]':
    Unit.cpp:(.text+0x385ce): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::DealDamage(Unit*, unsigned int, CleanDamage const*, DamageEffectType, SpellSchoolMask, SpellInfo const*, bool)':
    Unit.cpp:(.text+0x38f3c): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::CalculateMeleeDamage(Unit*, unsigned int, CalcDamageInfo*, WeaponAttackType)':
    Unit.cpp:(.text+0x3abe9): undefined reference to `Creature::GetIAmABot() const'
    Unit.cpp:(.text+0x3abfd): undefined reference to `Creature::ApplyBotDamageMultiplierMelee(unsigned int&, CalcDamageInfo&) const'
    Unit.cpp:(.text+0x3ac15): undefined reference to `Creature::GetIAmABotsPet() const'
    ../game/libgame.a(Unit.cpp.o): In function `Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage*, int, SpellInfo const*, WeaponAttackType, bool)':
    Unit.cpp:(.text+0x3b01d): undefined reference to `Creature::GetIAmABot() const'
    Unit.cpp:(.text+0x3b048): undefined reference to `Creature::ApplyBotDamageMultiplierMelee(int&, SpellNonMeleeDamage&, SpellInfo const*, WeaponAttackType, bool&) const'
    Unit.cpp:(.text+0x3b065): undefined reference to `Creature::GetIAmABot() const'
    Unit.cpp:(.text+0x3b08e): undefined reference to `Creature::ApplyBotDamageMultiplierSpell(int&, SpellNonMeleeDamage&, SpellInfo const*, WeaponAttackType, bool&) const'
    Unit.cpp:(.text+0x3b0bc): undefined reference to `Creature::GetIAmABotsPet() const'
    Unit.cpp:(.text+0x3b0d4): undefined reference to `Creature::GetIAmABotsPet() const'
    ../game/libgame.a(Totem.cpp.o): In function `Totem::UnSummon(unsigned int)':
    Totem.cpp:(.text+0x3b5): undefined reference to `Creature::GetIAmABot() const'
    Totem.cpp:(.text+0x3d0): undefined reference to `Creature::OnBotDespawn(Creature*)'
    ../game/libgame.a(botcommands.cpp.o): In function `script_bot_commands::HandleNpcBotInfoCommand(ChatHandler*, char const*)':
    botcommands.cpp:(.text._ZN19script_bot_commands23HandleNpcBotInfoCommandEP11ChatHandlerPKc[_ZN19script_bot_commands23HandleNpcBotInfoCommandEP11ChatHandlerPKc]+0xf7): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(botcommands.cpp.o): In function `script_bot_commands::HandleNpcBotRemoveCommand(ChatHandler*, char const*)':
    botcommands.cpp:(.text._ZN19script_bot_commands25HandleNpcBotRemoveCommandEP11ChatHandlerPKc[_ZN19script_bot_commands25HandleNpcBotRemoveCommandEP11ChatHandlerPKc]+0x73): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(botcommands.cpp.o): In function `script_bot_commands::HandleMainTankCommand(ChatHandler*, char const*)':
    botcommands.cpp:(.text._ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc[_ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc]+0x1e8): undefined reference to `Creature::SetBotTank(Unit*)'
    botcommands.cpp:(.text._ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc[_ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc]+0x4e9): undefined reference to `Creature::SetBotTank(Unit*)'
    botcommands.cpp:(.text._ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc[_ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc]+0x5ce): undefined reference to `Creature::GetIAmABot() const'
    botcommands.cpp:(.text._ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc[_ZN19script_bot_commands21HandleMainTankCommandEP11ChatHandlerPKc]+0x63d): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(bot_priest_ai.cpp.o): In function `priest_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_priest_ai.cpp:(.text._ZN10priest_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN10priest_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::CanUseRanged() const':
    bot_ai.cpp:(.text+0x9): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::CanEquip(ItemTemplate const*, unsigned char) const':
    bot_ai.cpp:(.text+0x88b): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x9e2): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x9f3): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0xa04): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o):bot_ai.cpp:(.text+0xb14): more undefined references to `Creature::GetBotClass() const' follow
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::CalculateAttackPos(Unit*, Position&) const':
    bot_ai.cpp:(.text+0x1f0f): undefined reference to `Creature::GetIAmABotsPet() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::GetInPosition(bool, bool, Unit*, Position*)':
    bot_ai.cpp:(.text+0x2637): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::MoveBehind(Unit&) const':
    bot_ai.cpp:(.text+0x284f): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::InDuel(Unit*) const':
    bot_ai.cpp:(.text+0x2f4c): undefined reference to `Creature::GetIAmABot() const'
    bot_ai.cpp:(.text+0x2f63): undefined reference to `Creature::GetIAmABotsPet() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::OnSpellHit(Unit*, SpellInfo const*)':
    bot_ai.cpp:(.text+0x312b): undefined reference to `Creature::SetBotsPetDied()'
    bot_ai.cpp:(.text+0x3170): undefined reference to `Creature::SetBotsPetDied()'
    bot_ai.cpp:(.text+0x31aa): undefined reference to `Creature::SetBotsPetDied()'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::GetWait()':
    bot_ai.cpp:(.text+0x3216): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x32c1): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::OnGossipHello(Player*, Creature*)':
    bot_ai.cpp:(.text+0x350d): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_pet_ai::setStats(unsigned char, unsigned char, bool)':
    bot_ai.cpp:(.text+0x4a8e): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x518a): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o):bot_ai.cpp:(.text+0x573e): more undefined references to `Creature::GetBotClass() const' follow
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::listAuras(Player*, Unit*) const':
    bot_ai.cpp:(.text+0x74ab): undefined reference to `Creature::GetIAmABot() const'
    bot_ai.cpp:(.text+0x74c3): undefined reference to `Creature::GetIAmABotsPet() const'
    bot_ai.cpp:(.text+0x74e8): undefined reference to `Creature::GetBotPetAI() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::BuffAndHealGroup(Player*, unsigned int)':
    bot_ai.cpp:(.text+0x97af): undefined reference to `Creature::GetIAmABot() const'
    bot_ai.cpp:(.text+0x9b55): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::ResetEquipment(unsigned char)':
    bot_ai.cpp:(.text+0xa135): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::CanUseOffHand() const':
    bot_ai.cpp:(.text+0xa1d9): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::setStats(unsigned char, unsigned char, unsigned char, bool, bool)':
    bot_ai.cpp:(.text+0xdb0c): undefined reference to `Creature::GetBotPetAI() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::Equip(unsigned int, unsigned char)':
    bot_ai.cpp:(.text+0xf299): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_ai.cpp:(.text+0x10b15): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x10b23): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x10b31): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x10b3f): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o):bot_ai.cpp:(.text+0x10b51): more undefined references to `Creature::GetBotClass() const' follow
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::SummonBotsPet(unsigned int)':
    bot_ai.cpp:(.text+0x112c2): undefined reference to `Creature::SetBotsPetDied()'
    bot_ai.cpp:(.text+0x11609): undefined reference to `Creature::InitBotAI(bool)'
    bot_ai.cpp:(.text+0x1163b): undefined reference to `Creature::SetBotCommandState(CommandStates, bool)'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::FindTank()':
    bot_ai.cpp:(.text+0x11a66): undefined reference to `Creature::SetBotTank(Unit*)'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::CheckAuras(bool)':
    bot_ai.cpp:(.text+0x11e76): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x11f03): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text+0x11ffc): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_ai::getTarget(bool, bool, bool&) const':
    bot_ai.cpp:(.text+0x14491): undefined reference to `Creature::GetIAmABot() const'
    bot_ai.cpp:(.text+0x147a6): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::_OnEvade()':
    bot_ai.cpp:(.text+0x14e8a): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `bot_minion_ai::SetBotCommandState(CommandStates, bool, Position*)':
    bot_ai.cpp:(.text+0x3ad8): undefined reference to `Creature::SetBotCommandState(CommandStates, bool)'
    ../game/libgame.a(bot_ai.cpp.o): In function `StunUnitCheck::operator()(Unit*) [clone .part.163]':
    bot_ai.cpp:(.text.unlikely+0x242): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text.unlikely+0x262): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text.unlikely+0x27d): undefined reference to `Creature::GetBotClass() const'
    bot_ai.cpp:(.text.unlikely+0x298): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o): In function `FearUnitCheck::operator()(Unit*) [clone .part.165]':
    bot_ai.cpp:(.text.unlikely+0x2c2): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_ai.cpp.o):bot_ai.cpp:(.text.unlikely+0x35f): more undefined references to `Creature::GetBotClass() const' follow
    ../game/libgame.a(bot_death_knight_ai.cpp.o): In function `death_knight_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_death_knight_ai.cpp:(.text._ZN16death_knight_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN16death_knight_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_death_knight_ai.cpp.o): In function `death_knight_bot::death_knight_botAI::CheckHysteria(unsigned int)':
    bot_death_knight_ai.cpp:(.text._ZN16death_knight_bot18death_knight_botAI13CheckHysteriaEj[_ZN16death_knight_bot18death_knight_botAI13CheckHysteriaEj]+0xc5): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_shaman_ai.cpp.o): In function `shaman_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_shaman_ai.cpp:(.text._ZN10shaman_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN10shaman_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_paladin_ai.cpp.o): In function `paladin_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_paladin_ai.cpp:(.text._ZN11paladin_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN11paladin_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_paladin_ai.cpp.o): In function `paladin_bot::paladin_botAI::BuffTarget(Unit*, unsigned int)':
    bot_paladin_ai.cpp:(.text._ZN11paladin_bot13paladin_botAI10BuffTargetEP4Unitj[_ZN11paladin_bot13paladin_botAI10BuffTargetEP4Unitj]+0x654): undefined reference to `Creature::GetBotClass() const'
    ../game/libgame.a(bot_warlock_ai.cpp.o): In function `voidwalker_bot::voidwalker_botAI::DamageTaken(Unit*, unsigned int&)':
    bot_warlock_ai.cpp:(.text._ZN14voidwalker_bot16voidwalker_botAI11DamageTakenEP4UnitRj[_ZN14voidwalker_bot16voidwalker_botAI11DamageTakenEP4UnitRj]+0x22): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_warlock_ai.cpp.o): In function `voidwalker_bot::voidwalker_botAI::JustDied(Unit*)':
    bot_warlock_ai.cpp:(.text._ZN14voidwalker_bot16voidwalker_botAI8JustDiedEP4Unit[_ZN14voidwalker_bot16voidwalker_botAI8JustDiedEP4Unit]+0x8): undefined reference to `Creature::SetBotsPetDied()'
    ../game/libgame.a(bot_warlock_ai.cpp.o): In function `warlock_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_warlock_ai.cpp:(.text._ZN11warlock_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN11warlock_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_warlock_ai.cpp.o): In function `warlock_bot::warlock_botAI::JustDied(Unit*)':
    bot_warlock_ai.cpp:(.text._ZN11warlock_bot13warlock_botAI8JustDiedEP4Unit[_ZN11warlock_bot13warlock_botAI8JustDiedEP4Unit]+0x9): undefined reference to `Creature::SetBotsPetDied()'
    ../game/libgame.a(bot_hunter_ai.cpp.o): In function `hunter_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_hunter_ai.cpp:(.text._ZN10hunter_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN10hunter_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_druid_ai.cpp.o): In function `druid_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_druid_ai.cpp:(.text._ZN9druid_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN9druid_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_warrior_ai.cpp.o): In function `warrior_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_warrior_ai.cpp:(.text._ZN11warrior_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN11warrior_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_mage_ai.cpp.o): In function `mage_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_mage_ai.cpp:(.text._ZN8mage_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN8mage_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../game/libgame.a(bot_rogue_ai.cpp.o): In function `rogue_bot::OnGossipSelect(Player*, Creature*, unsigned int, unsigned int)':
    bot_rogue_ai.cpp:(.text._ZN9rogue_bot14OnGossipSelectEP6PlayerP8Creaturejj[_ZN9rogue_bot14OnGossipSelectEP6PlayerP8Creaturejj]+0x28): undefined reference to `Creature::GetBotMinionAI() const'
    ../scripts/libscripts.a(spell_priest.cpp.o): In function `spell_pri_renew::spell_pri_renew_AuraScript::Load()':
    spell_priest.cpp:(.text._ZN15spell_pri_renew26spell_pri_renew_AuraScript4LoadEv[_ZN15spell_pri_renew26spell_pri_renew_AuraScript4LoadEv]+0x53): undefined reference to `Creature::GetIAmABot() const'
    ../scripts/libscripts.a(spell_priest.cpp.o): In function `spell_pri_penance::spell_pri_penance_SpellScript::Load()':
    spell_priest.cpp:(.text._ZN17spell_pri_penance29spell_pri_penance_SpellScript4LoadEv[_ZN17spell_pri_penance29spell_pri_penance_SpellScript4LoadEv]+0x43): undefined reference to `Creature::GetIAmABot() const'
    ../scripts/libscripts.a(spell_priest.cpp.o): In function `spell_pri_penance::spell_pri_penance_SpellScript::CheckCast()':
    spell_priest.cpp:(.text._ZN17spell_pri_penance29spell_pri_penance_SpellScript9CheckCastEv[_ZN17spell_pri_penance29spell_pri_penance_SpellScript9CheckCastEv]+0x9f): undefined reference to `Creature::GetIAmABot() const'
    ../game/libgame.a(StatSystem.cpp.o): In function `Player::UpdateAllStats()':
    StatSystem.cpp:(.text+0x37e6): undefined reference to `Creature::SetBotShouldUpdateStats()'
    ../game/libgame.a(TemporarySummon.cpp.o): In function `TempSummon::UnSummon(unsigned int)':
    TemporarySummon.cpp:(.text+0x62): undefined reference to `Creature::GetIAmABot() const'
    TemporarySummon.cpp:(.text+0x10c): undefined reference to `Creature::GetIAmABotsPet() const'
    collect2: error: ld returned 1 exit status
    make[2]: *** [src/server/worldserver/worldserver] Error 1
    make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
    make: *** [all] Error 2
    
  3. Log in to comment