• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling trunk.r3777 Ubuntu 13

Tongendia

New Member
Joined
Dec 28, 2013
Messages
64
Reaction score
0
root@tongendia:~/trunk.r3777# make
make all-am
make[1]: Entering directory `/root/trunk.r3777'
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D_THREAD_SAFE -D_REENTRANT -Wno-strict-aliasing -pipe -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 dispatcher.o exception.o fileloader.o game.o globalevent.o group.o house.o housetile.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.o luascript.o mailbox.o manager.o map.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o position.o protocol.o protocolgame.o protocolhttp.o protocollogin.o protocolold.o quests.o raids.o rsa.o scheduler.o scriptmanager.o server.o spawn.o spells.o status.o talkaction.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o waitlist.o weapons.o vocation.o -llua5.1 -lmysqlclient -lcryptopp -lboost_filesystem-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lz -lgmp -lxml2
/usr/bin/ld: connection.o: undefined reference to symbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_mutexattr_settype@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libpthread.so.0 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libpthread.so.0: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/root/trunk.r3777'
make: *** [all] Error 2
root@tongendia:~/trunk.r3777#
 
open file Makefile, find line statring with "LIBS =" and add at the end of this line " -lpthread" without these quotes
 
Last edited:
its outdated Distro, just safe your time and find 0.3.6 for tibia 860 better.
Someone is read up? haha

When it comes to 8.6 you should use 0.4.
Windows = 3884
Linux = modified 3777 with the "walk over dead monsters" bug fixed.
If you think 0.3.6 is more stable, well time for you to test running a server...
 
Now i get this; /usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
make[1]: *** [luascript.o] Error 1
make[1]: Leaving directory `/root/trunk.r3777'
make: *** [all] Error 2
root@tongendia:~/trunk.r3777# grep -r "BOOST_POSIX_API|BOOST_WINDOWS_API"
root@tongendia:~/trunk.r3777#
 
install boost 1.49 +
can you help me with this please¿
Code:
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777# ./build.sh
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 2 cores, using 3 processes
make  all-am
make[1]: se ingresa al directorio «/home/tibia/trunk.r3777»
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT protocollogin.o -MD -MP -MF .deps/protocollogin.Tpo -c -o protocollogin.o protocollogin.cpp
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT protocolold.o -MD -MP -MF .deps/protocolold.Tpo -c -o protocolold.o protocolold.cpp
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
                from /usr/include/boost/filesystem.hpp:34,
                from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
mv -f .deps/protocollogin.Tpo .deps/protocollogin.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT quests.o -MD -MP -MF .deps/quests.Tpo -c -o quests.o quests.cpp
mv -f .deps/protocolold.Tpo .deps/protocolold.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT raids.o -MD -MP -MF .deps/raids.Tpo -c -o raids.o raids.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
mv -f .deps/quests.Tpo .deps/quests.Po
mv -f .deps/raids.Tpo .deps/raids.Po
make[1]: se sale del directorio «/home/tibia/trunk.r3777»
make: *** [all] Error 2
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777#
 
can you help me with this please¿
Code:
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777# ./build.sh
TheForgottenServer build script- seems to speed things up ALOT.
CCache: OK
CCache binaries located in /usr/lib/ccache
Building on 2 cores, using 3 processes
make  all-am
make[1]: se ingresa al directorio «/home/tibia/trunk.r3777»
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT luascript.o -MD -MP -MF .deps/luascript.Tpo -c -o luascript.o luascript.cpp
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT protocollogin.o -MD -MP -MF .deps/protocollogin.Tpo -c -o protocollogin.o protocollogin.cpp
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT protocolold.o -MD -MP -MF .deps/protocolold.Tpo -c -o protocolold.o protocolold.cpp
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
                from /usr/include/boost/filesystem.hpp:34,
                from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
mv -f .deps/protocollogin.Tpo .deps/protocollogin.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT quests.o -MD -MP -MF .deps/quests.Tpo -c -o quests.o quests.cpp
mv -f .deps/protocolold.Tpo .deps/protocolold.Po
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1  -O2 -fomit-frame-pointer -D__USE_MYSQL__    -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Wno-strict-aliasing -pipe -MT raids.o -MD -MP -MF .deps/raids.Tpo -c -o raids.o raids.cpp
make[1]: *** [luascript.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
mv -f .deps/quests.Tpo .deps/quests.Po
mv -f .deps/raids.Tpo .deps/raids.Po
make[1]: se sale del directorio «/home/tibia/trunk.r3777»
make: *** [all] Error 2
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777#
apt-get install boost-devel ?
 
apt-get install boost-devel ?
Code:
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777# apt-get install boost-devel
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias     
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete boost-devel
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777#
look now :/
 
Code:
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777# apt-get install boost-devel
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias    
Leyendo la información de estado... Hecho
E: No se ha podido localizar el paquete boost-devel
root@tibia-OptiPlex-755:/home/tibia/trunk.r3777#
look now :/
Code:
libboost-system-dev
Woopsie, I got confused, use the one above.
 
Code:
libboost-system-dev
Woopsie, I got confused, use the one above.
man look i did changed the sources and i get this problem now ;/
Code:
otxserver 2.8

Using LuaJIT................ : no
Using ground cache.......... : no
Server diagnostics.......... : yes
Home-directory configuration : no
Root run permission......... : yes
Login server mode........... : no
OTAdmin protocol............ :
OTServ custom allocator..... :
Debug build................. : no

Build with MySQL............ : yes
Build with MySQL++Connector. : no
Build with SQLite........... : no
Build with PostgreSQL....... : no

Configure complete, now you may type './build.sh'.
make  all-am
make[1]: se ingresa al directorio «/home/tibia/otx290/sources»
  CXX  actions.o
  CXX  baseevents.o
  CXX  beds.o
  CXX  chat.o
  CXX  combat.o
  CXX  condition.o
  CXX  configmanager.o
  CXX  connection.o
  CXX  container.o
  CXX  creature.o
  CXX  creatureevent.o
  CXX  cylinder.o
  CXX  database.o
  CXX  databasemanager.o
  CXX  databasemysql.o
  CXX  depot.o
  CXX  dispatcher.o
  CXX  exception.o
  CXX  fileloader.o
  CXX  game.o
  CXX  globalevent.o
  CXX  group.o
  CXX  gui.o
  CXX  house.o
  CXX  housetile.o
  CXX  inputbox.o
  CXX  ioban.o
  CXX  ioguild.o
  CXX  iologindata.o
  CXX  iomap.o
  CXX  iomapserialize.o
  CXX  item.o
  CXX  itemattributes.o
  CXX  items.o
  CXX  luascript.o
In file included from /usr/include/boost/filesystem/v3/config.hpp:29:0,
  from /usr/include/boost/filesystem.hpp:34,
  from luascript.cpp:21:
/usr/include/boost/system/api_config.hpp:28:5: error: #error user defined BOOST_POSIX_API or BOOST_WINDOWS_API not supported
  CXX  mailbox.o
make[1]: *** [luascript.o] Error 1
make[1]: *** Se espera a que terminen otras tareas....
make[1]: se sale del directorio «/home/tibia/otx290/sources»
make: *** [all] Error 2
 
Last edited:
Back
Top