/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp: In member function ‘void AuctionHouseBot::addNewAuctions(Player*, AHBConfig*)’:
/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp:378:31: warning: switch condition has type bool [-Wswitch-bool]
switch (SellMethod)
^
/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp: In member function ‘void AuctionHouseBot::addNewAuctionBuyerBotBid(Player*, AHBConfig*, WorldSession*)’:
/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp:574:26: warning: switch condition has type bool [-Wswitch-bool]
switch (BuyMethod)
^
/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp: In member function ‘void AuctionHouseBot::Initialize()’:
/azerothcore-wotlk/modules/mod-ah-bot/src/AuctionHouseBot.cpp:869:31: warning: switch condition has type bool [-Wswitch-bool]
switch (SellMethod)
^
[ 17%] Building CXX object deps/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o
[ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/__/__/__/modules/mod-ah-bot/src/cs_ah_bot.cpp.o
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp: In static member function ‘static bool ah_bot_commandscript::HandleAHBotOptionsCommand(ChatHandler*, const char*)’:
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:101:56: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(0, ahMapID, NULL, NULL);
^
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:112:58: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(1, ahMapID, NULL, param1);
^
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:123:58: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(2, ahMapID, NULL, param1);
^
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:237:57: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(5, ahMapID, NULL, param);
^
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:454:59: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(12, ahMapID, NULL, param1);
^
/azerothcore-wotlk/modules/mod-ah-bot/src/cs_ah_bot.cpp:466:59: warning: passing NULL to non-pointer argument 3 of ‘void AuctionHouseBot::Commands(uint32, uint32, uint32, char*)’ [-Wconversion-null]
auctionbot->Commands(13, ahMapID, NULL, param1);
^
[ 99%] Building CXX object src/server/scripts/CMakeFiles/scripts.dir/PrecompiledHeaders/ScriptPCH.cpp.o
[ 99%] Linking CXX static library libscripts.a
[100%] Linking CXX executable worldserver
../../../modules/mod-eluna-lua-engine/lualib/liblualib.a(loslib.c.o): In function `os_tmpname':
loslib.c:(.text+0x14d): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
../scripts/libscripts.a(cs_ah_bot.cpp.o): In function `AuctionHouseBot::instance()':
cs_ah_bot.cpp:(.text._ZN15AuctionHouseBot8instanceEv[_ZN15AuctionHouseBot8instanceEv]+0x36): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN15AuctionHouseBot8instanceEv[_ZN15AuctionHouseBot8instanceEv]+0x4f): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
../scripts/libscripts.a(cs_ah_bot.cpp.o): In function `ah_bot_commandscript::HandleAHBotOptionsCommand(ChatHandler*, char const*)':
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xfa): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x304): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x338): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x351): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x3a6): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x4be): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x548): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x561): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x6c4): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xb0e): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xb38): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xb51): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xca5): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xe19): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0xf75): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x10d1): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x138a): undefined reference to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)'
../scripts/libscripts.a(cs_ah_bot.cpp.o):cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x13e6): more undefined references to `AuctionHouseBot::Commands(unsigned int, unsigned int, unsigned int, char*)' follow
../scripts/libscripts.a(cs_ah_bot.cpp.o): In function `ah_bot_commandscript::HandleAHBotOptionsCommand(ChatHandler*, char const*)':
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1529): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1542): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1568): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1581): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x15ec): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1605): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1651): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x166a): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x16b1): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x16ca): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x16ff): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1718): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1750): undefined reference to `AuctionHouseBot::AuctionHouseBot()'
cs_ah_bot.cpp:(.text._ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc[_ZN20ah_bot_commandscript25HandleAHBotOptionsCommandEP11ChatHandlerPKc]+0x1769): undefined reference to `AuctionHouseBot::~AuctionHouseBot()'
collect2: error: ld returned 1 exit status
src/server/worldserver/CMakeFiles/worldserver.dir/build.make:294: recipe for target 'src/server/worldserver/worldserver' failed
make[2]: *** [src/server/worldserver/worldserver] Error 1
CMakeFiles/Makefile2:1349: recipe for target 'src/server/worldserver/CMakeFiles/worldserver.dir/all' failed
make[1]: *** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
root@azerothcore:/azerothcore-wotlk/build# ```