Kuantikum
Member
- Joined
- Jul 3, 2015
- Messages
- 219
- Solutions
- 1
- Reaction score
- 20
Hello guys ,
Im trying to compile this Server (Link from mega.nz).
What i've done ?
Installing libs:
Starting compiling:
ERROR:
I am very grateful for your help
Im trying to compile this Server (Link from mega.nz).
What i've done ?
Installing libs:
Code:
apt-get update
Code:
apt-get upgrade
Code:
apt-get install libboost-all-dev
Code:
apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev libcrypto++-dev ccache libboost-filesystem-dev libboost-regex-dev libboost-system-dev libboost-thread-dev screen libssl-dev
Code:
apt-get install libcurl4-openssl-dev
Starting compiling:
Code:
./autogen.sh
Code:
./configure --enable-server-diag --enable-mysql --enable-root-permission
Code:
make clean
Code:
make -j 2
ERROR:
C++:
/home/servidor/src# make
make all-am
make[1]: Entering directory '/home/servidor/src'
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -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 ioguild.o iomarket.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.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 playerbox.o player.o position.o protocol.o protocolgame.o protocollogin.o protocolold.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 trashholder.o waitlist.o weapons.o vocation.o -llua5.1 -lmysqlclient -lboost_filesystem -lboost_date_time -lboost_system -lboost_regex -lboost_thread -lgmp -lxml2
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:475: recipe for target 'theforgottenserver' failed
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory '/home/servidor/src'
Makefile:418: recipe for target 'all' failed
make: *** [all] Error 2
I am very grateful for your help