- Joined
- Oct 30, 2009
- Messages
- 15
- Reaction score
- 1
I have this error
when i try compiling this https://github.com/Nottinghster/Terminus
on
Debian 7 Wheezy
Code:
make all-am
make[1]: Entering directory '/root/src'
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABL E_SERVER_DIAGNOSTIC__ -std=c++11 -DSYSCONFDIR=\"/usr/local/etc\" -DPKGDATADIR=\" /usr/local/share/otserv\" -D_THREAD_SAFE -D__OLD_GUILD_SYSTEM__ -D_REENTRANT -Wa ll -g -O2 -o otserv databasemysql.o map.o rsa.o actions.o md5.o scheduler.o admin.o monster.o scriptmanager.o allocator.o depot.o monsters.o server.o ban.o exception.o movement.o sha1.o baseevents.o fileloader.o networkmessage.o spawn. o beds.o game.o npc.o spells.o chat.o house.o otserv.o status.o combat.o houseti le.o talkaction.o ioaccount.o outputmessage.o tasks.o condition.o iomapotbm.o pa rty.o teleport.o configmanager.o iomapserialize.o player.o thing.o connection.o position.o tile.o container.o ioplayer.o protocol.o tools.o creature.o item.o pr otocolgame.o trashholder.o creatureevent.o items.o protocollogin.o vocation.o cy linder.o logger.o waitlist.o database.o luascript.o weapons.o mailbox.o raids.o guild.o globalevent.o -llua5.1 -lmysqlclient -lboost_filesystem -lboost_date_tim e -lboost_system -lboost_regex -lboost_thread -lgmp -lpthread -lxml2
otserv.o: In function `mainLoader(CommandLineOptions const&, ServiceManager*)':
/root/src/otserv.cpp:589: undefined reference to `Outfits::loadFromXml(std::__cx x11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
otserv.o: In function `Outfits::getInstance()':
/root/src/outfit.h:58: undefined reference to `Outfits::Outfits()'
/root/src/outfit.h:58: undefined reference to `Outfits::~Outfits()'
protocolgame.o: In function `Outfits::getInstance()':
/root/src/outfit.h:58: undefined reference to `Outfits::Outfits()'
/root/src/outfit.h:58: undefined reference to `Outfits::~Outfits()'
player.o: In function `Player::addOutfit(unsigned int, unsigned int)':
/root/src/player.cpp:4475: undefined reference to `OutfitList::addOutfit(Outfit const&)'
player.o: In function `Player::remOutfit(unsigned int, unsigned int)':
/root/src/player.cpp:4483: undefined reference to `OutfitList::remOutfit(Outfit const&)'
player.o: In function `Player::setSex(PlayerSex_t)':
/root/src/player.cpp:4497: undefined reference to `OutfitList::addOutfit(Outfit const&)'
player.o: In function `Outfits::getInstance()':
/root/src/outfit.h:58: undefined reference to `Outfits::Outfits()'
/root/src/outfit.h:58: undefined reference to `Outfits::~Outfits()'
player.o: In function `Player::Player(std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > const&, ProtocolGame*)':
/root/src/player.cpp:64: undefined reference to `OutfitList::OutfitList()'
/root/src/player.cpp:64: undefined reference to `OutfitList::~OutfitList()'
player.o: In function `Player::Player(std::__cxx11::basic_string<char, std::char _traits<char>, std::allocator<char> > const&, ProtocolGame*)':
/root/src/player.cpp:64: undefined reference to `OutfitList::OutfitList()'
/root/src/player.cpp:64: undefined reference to `OutfitList::~OutfitList()'
player.o: In function `Player::~Player()':
/root/src/player.cpp:193: undefined reference to `OutfitList::~OutfitList()'
player.o: In function `Player::~Player()':
/root/src/player.cpp:193: undefined reference to `OutfitList::~OutfitList()'
player.o: In function `Player::addStorageValue(unsigned int, int)':
/root/src/player.cpp:971: undefined reference to `OutfitList::addOutfit(Outfit c onst&)'
player.o: In function `Player::genReservedStorageRange()':
/root/src/player.cpp:4458: undefined reference to `OutfitList::isInList(unsigned int, unsigned int) const'
player.o: In function `Outfits::getInstance()':
/root/src/outfit.h:58: undefined reference to `Outfits::Outfits()'
/root/src/outfit.h:58: undefined reference to `Outfits::~Outfits()'
player.o: In function `Player::canWear(unsigned int, unsigned int)':
/root/src/player.cpp:4439: undefined reference to `OutfitList::isInList(unsigned int, unsigned int) const'
collect2: error: ld returned 1 exit status
Makefile:541: recipe for target 'otserv' failed
make[1]: *** [otserv] Error 1
make[1]: Leaving directory '/root/src'
Makefile:445: recipe for target 'all' failed
make: *** [all] Error 2
on
Debian 7 Wheezy