IRCClient.cpp:122: error: duplicate explicit instantiation of 'class MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >' IRCClient.cpp:122: error: redefinition of 'IRCClient* MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_instance' IRCClient.cpp:22: error: 'IRCClient* MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_instance' previously declared here IRCClient.cpp:122: error: redefinition of 'bool MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_destroyed' IRCClient.cpp:22: error: 'bool MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_destroyed' previously declared here IRCClient.cpp:129: error: redefinition of 'IRCClient::IRCClient()' IRCClient.cpp:29: error: 'IRCClient::IRCClient()' previously defined here IRCClient.cpp:131: error: redefinition of 'IRCClient::~IRCClient()' IRCClient.cpp:31: error: 'virtual IRCClient::~IRCClient()' previously defined here IRCClient.cpp:134: error: redefinition of 'void IRCClient::run()' IRCClient.cpp:34: error: 'virtual void IRCClient::run()' previously defined here IRCClient.cpp:222: error: duplicate explicit instantiation of 'class MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >' IRCClient.cpp:222: error: redefinition of 'IRCClient* MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_instance' IRCClient.cpp:22: error: 'IRCClient* MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_instance' previously declared here IRCClient.cpp:222: error: redefinition of 'bool MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_destroyed' IRCClient.cpp:22: error: 'bool MaNGOS::Singleton, MaNGOS::OperatorNew, MaNGOS::ObjectLifeTime >::si_destroyed' previously declared here IRCClient.cpp:229: error: redefinition of 'IRCClient::IRCClient()' IRCClient.cpp:29: error: 'IRCClient::IRCClient()' previously defined here IRCClient.cpp:231: error: redefinition of 'IRCClient::~IRCClient()' IRCClient.cpp:31: error: 'virtual IRCClient::~IRCClient()' previously defined here IRCClient.cpp:234: error: redefinition of 'void IRCClient::run()' IRCClient.cpp:34: error: 'virtual void IRCClient::run()' previously defined here IRCCmd.cpp:500: error: redefinition of 'IRCCmd::IRCCmd()' IRCCmd.cpp:5: error: 'IRCCmd::IRCCmd()' previously defined here IRCCmd.cpp:502: error: redefinition of 'IRCCmd::~IRCCmd()' IRCCmd.cpp:7: error: 'IRCCmd::~IRCCmd()' previously defined here IRCCmd.cpp:503: error: redefinition of 'bool IRCCmd::ParamsValid(_CDATA*, int)' IRCCmd.cpp:8: error: 'bool IRCCmd::ParamsValid(_CDATA*, int)' previously defined here IRCCmd.cpp:510: error: redefinition of 'int IRCCmd::ParamsValid(_CDATA*, int, int)' IRCCmd.cpp:15: error: 'int IRCCmd::ParamsValid(_CDATA*, int, int)' previously defined here IRCCmd.cpp:525: error: redefinition of 'bool IRCCmd::IsValid(std::string, std::string, std::string)' IRCCmd.cpp:30: error: 'bool IRCCmd::IsValid(std::string, std::string, std::string)' previously defined here IRCCmd.cpp:880: error: redefinition of 'bool IRCCmd::CanUse(std::string, int)' IRCCmd.cpp:385: error: 'bool IRCCmd::CanUse(std::string, int)' previously defined here IRCCmd.cpp:893: error: redefinition of 'std::string IRCCmd::ChanOrPM(_CDATA*)' IRCCmd.cpp:398: error: 'std::string IRCCmd::ChanOrPM(_CDATA*)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::ChanOrPM(_CDATA*)': IRCCmd.cpp:896: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& CD->_CDATA::USER))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp:898: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& CD->_CDATA::FROM))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp: At global scope: IRCCmd.cpp:900: error: redefinition of 'Player* IRCCmd::GetPlayer(std::string)' IRCCmd.cpp:405: error: 'Player* IRCCmd::GetPlayer(std::string)' previously defined here IRCCmd.cpp:905: error: redefinition of 'bool IRCCmd::IsLoggedIn(std::string)' IRCCmd.cpp:410: error: 'bool IRCCmd::IsLoggedIn(std::string)' previously defined here IRCCmd.cpp:916: error: redefinition of 'int IRCCmd::GetLevel(std::string)' IRCCmd.cpp:421: error: 'int IRCCmd::GetLevel(std::string)' previously defined here IRCCmd.cpp:927: error: redefinition of 'std::string IRCCmd::GetAccName(std::string)' IRCCmd.cpp:432: error: 'std::string IRCCmd::GetAccName(std::string)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::GetAccName(std::string)': IRCCmd.cpp:933: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(&((IRCCmd*)this)->IRCCmd::CLIENTS[i]._client::UName))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp:936: error: cannot convert 'std::basic_string, std::allocator >(((const char*)""), ((const std::allocator&)((const std::allocator*)(& std::allocator()))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp: At global scope: IRCCmd.cpp:938: error: redefinition of 'bool IRCCmd::ValidParams(std::string, int)' IRCCmd.cpp:443: error: 'bool IRCCmd::ValidParams(std::string, int)' previously defined here IRCCmd.cpp:958: error: redefinition of 'std::string* IRCCmd::getArray(std::string, int)' IRCCmd.cpp:463: error: 'std::string* IRCCmd::getArray(std::string, int)' previously defined here IRCCmd.cpp:981: error: redefinition of 'std::string IRCCmd::MakeMsg(const char*, ...)' IRCCmd.cpp:486: error: 'std::string IRCCmd::MakeMsg(const char*, ...)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::MakeMsg(const char*, ...)': IRCCmd.cpp:989: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& outp))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp: At global scope: IRCCmd.cpp:995: error: redefinition of 'IRCCmd::IRCCmd()' IRCCmd.cpp:5: error: 'IRCCmd::IRCCmd()' previously defined here IRCCmd.cpp:997: error: redefinition of 'IRCCmd::~IRCCmd()' IRCCmd.cpp:7: error: 'IRCCmd::~IRCCmd()' previously defined here IRCCmd.cpp:998: error: redefinition of 'bool IRCCmd::ParamsValid(_CDATA*, int)' IRCCmd.cpp:8: error: 'bool IRCCmd::ParamsValid(_CDATA*, int)' previously defined here IRCCmd.cpp:1005: error: redefinition of 'int IRCCmd::ParamsValid(_CDATA*, int, int)' IRCCmd.cpp:15: error: 'int IRCCmd::ParamsValid(_CDATA*, int, int)' previously defined here IRCCmd.cpp:1020: error: redefinition of 'bool IRCCmd::IsValid(std::string, std::string, std::string)' IRCCmd.cpp:30: error: 'bool IRCCmd::IsValid(std::string, std::string, std::string)' previously defined here IRCCmd.cpp:1375: error: redefinition of 'bool IRCCmd::CanUse(std::string, int)' IRCCmd.cpp:385: error: 'bool IRCCmd::CanUse(std::string, int)' previously defined here IRCCmd.cpp:1388: error: redefinition of 'std::string IRCCmd::ChanOrPM(_CDATA*)' IRCCmd.cpp:398: error: 'std::string IRCCmd::ChanOrPM(_CDATA*)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::ChanOrPM(_CDATA*)': IRCCmd.cpp:1391: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& CD->_CDATA::USER))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp:1393: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& CD->_CDATA::FROM))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp: At global scope: IRCCmd.cpp:1395: error: redefinition of 'Player* IRCCmd::GetPlayer(std::string)' IRCCmd.cpp:405: error: 'Player* IRCCmd::GetPlayer(std::string)' previously defined here IRCCmd.cpp:1400: error: redefinition of 'bool IRCCmd::IsLoggedIn(std::string)' IRCCmd.cpp:410: error: 'bool IRCCmd::IsLoggedIn(std::string)' previously defined here IRCCmd.cpp:1411: error: redefinition of 'int IRCCmd::GetLevel(std::string)' IRCCmd.cpp:421: error: 'int IRCCmd::GetLevel(std::string)' previously defined here IRCCmd.cpp:1422: error: redefinition of 'std::string IRCCmd::GetAccName(std::string)' IRCCmd.cpp:432: error: 'std::string IRCCmd::GetAccName(std::string)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::GetAccName(std::string)': IRCCmd.cpp:1428: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(&((IRCCmd*)this)->IRCCmd::CLIENTS[i]._client::UName))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp:1431: error: cannot convert 'std::basic_string, std::allocator >(((const char*)""), ((const std::allocator&)((const std::allocator*)(& std::allocator()))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp: At global scope: IRCCmd.cpp:1433: error: redefinition of 'bool IRCCmd::ValidParams(std::string, int)' IRCCmd.cpp:443: error: 'bool IRCCmd::ValidParams(std::string, int)' previously defined here IRCCmd.cpp:1453: error: redefinition of 'std::string* IRCCmd::getArray(std::string, int)' IRCCmd.cpp:463: error: 'std::string* IRCCmd::getArray(std::string, int)' previously defined here IRCCmd.cpp:1476: error: redefinition of 'std::string IRCCmd::MakeMsg(const char*, ...)' IRCCmd.cpp:486: error: 'std::string IRCCmd::MakeMsg(const char*, ...)' previously defined here IRCCmd.cpp: In member function 'std::string IRCCmd::MakeMsg(const char*, ...)': IRCCmd.cpp:1484: error: cannot convert 'std::basic_string, std::allocator >(((const std::basic_string, std::allocator >&)((const std::basic_string, std::allocator >*)(& outp))))' from type 'std::string' to type 'std::basic_string, std::allocator >&' IRCCmd.cpp:1426: confused by earlier errors, bailing out make[3]: *** [IRCCmd.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [IRCClient.o] Error 1 make[3]: Leaving directory `/home/tatara/mangos/sources/src/game' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tatara/mangos/sources/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tatara/mangos/sources' make: *** [all] Error 2