• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Compiling TheForgottenServer 0.3.5 ERROR

Zodia

Member
Joined
Feb 21, 2020
Messages
220
Reaction score
20
Below is the only information I get when I try to compile.

I can understand that there is a problem with:
"/usr/include/c++/7/ostream:196: undefined reference to `ProtocolAdmin::rotocolAdminCount'"
Even though I don't understand.

Maybe missing some lib? Incorrect libraries? I appreciate the personal help!



Lua:
root@ubuntu18:/home/pokemon/job/src# make
make  all-am
make[1]: Entering directory '/home/pokemon/job/src'
g++ -I/usr/include/libxml2  -I/usr/include/lua5.1  -D__USE_MYSQL__     -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -pthread -g -O1   -o theforgottenserver actions.o  allocator.o baseevents.o beds.o chat.o combat.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemanager.o databasemysql.o    depot.o exception.o fileloader.o game.o  globalevent.o group.o gui.o house.o housetile.o inputbox.o ioban.o iodatalog.o ioguild.o iologindata.o iomap.o iomapserialize.o ioplayerstatistics.o iopoll.o iotournament.o iomarket.o item.o itemattributes.o items.o localization.o luascript.o mailbox.o map.o md5.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o partyduel.o playerbox.o polls.o player.o position.o protocol.o protocolgame.o protocollogin.o protocolold.o pvparena.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o sha1.o spawn.o spells.o status.o talkaction.o tasks.o teleport.o textlogger.o thing.o tile.o tools.o tournament.o trashholder.o waitlist.o weapons.o vocation.o -llua5.1 -lmysqlclient -lcrypto -lboost_filesystem -lboost_date_time -lboost_system -lboost_regex -lboost_thread -lgmp  -lxml2
talkaction.o: In function `TalkAction::diagnostics(Creature*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/c++/7/ostream:196: undefined reference to `ProtocolAdmin::protocolAdminCount'
collect2: error: ld returned 1 exit status
Makefile:482: recipe for target 'theforgottenserver' failed
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory '/home/pokemon/job/src'
Makefile:425: recipe for target 'all' failed
make: *** [all] Error 2

Now I am totally lost.
I sincerely thank you if you decide to take 1 minute of your time to give me a light.
 
Last edited:
Back
Top