• 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 [Linux] Ultimate compile guide for Debian (Ubuntu included)

Help?

How i can shutdown server.?

with ctrl+ c wont work...
i know to start server but how to
shutdown?
 
Can someone help me, when I compile the server error occurs
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTROL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -o theforgottenserver actions.o admin.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 iologindata.o iomap.o iomapserialize.o item.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 protocolhttp.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-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lgmp -lxml2
actions.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
admin.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
baseevents.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
baseevents.o:/usr/local/include/boost/system/error_code.hpp:175: more undefined references to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/root/forgottenserver/source'
make: *** [all] Error 2

Please help with this tire two weeks
Thanks in advance
 
Ok but i hew my map on windows end is for 0.3.5pl1
can you tell this ma will work on 0.3.6pl1.
and for client 8.50 ??
 
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__REMOTE_CONTROL__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -o theforgottenserver actions.o admin.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 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-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lgmp -lxml2
actions.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
admin.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
baseevents.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
baseevents.o:/usr/local/include/boost/system/error_code.hpp:175: more undefined references to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/usr/forgotten'
make: *** [all] Error 2

still nothing the same error
 
Here I have a few items with no
checking for main in -lboost_thread-gcc-mt... no
checking for main in -lboost_thread-mt... yes
checking for main in -lboost_regex-gcc-mt... no
checking for main in -lboost_regex-mt... yes
checking for main in -lboost_system-gcc-mt... no
checking for main in -lboost_system-mt... yes
checking for main in -lboost_date_time-gcc-mt... no
checking for main in -lboost_date_time-mt... yes
checking for main in -lboost_filesystem-gcc-mt... no
checking for main in -lboost_filesystem-mt... yes
checking boost/asio.hpp usability... yes
checking boost/asio.hpp presence... yes
checking for boost/asio.hpp... yes
checking boost/tr1/unordered_set.hpp usability... yes
checking boost/tr1/unordered_set.hpp presence... yes
checking for boost/tr1/unordered_set.hpp... yes
checking for pkg-config... /usr/bin/pkg-config
Perhaps this is error?
 
It's all ok.

@Topic: Using testing repositories, you need to install:
aptitude install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++8
 
Last edited:
Quick step ubuntu:
(Copypaste)
Code:
sudo apt-get install subversion autoconf build-essential pkg-config libboost-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libmysqlclient-dev
svn co http://svn.otland.net/public/forgottenserver/tags/0.3.6pl1
cd 0.3.6pl1
./autogen.sh
./configure --enable-mysql
make -j 2

Just a bump of that code.

Note: If you use 0.4 add "libcrypto++-dev ccache" to the list. And instead of "make -j 2" run "./build.sh"
 
OK for me this is really something wrong
I am doing this:
aptitude install libboost-dev libboost-system-dev libboost-filesystem-dev libboost-date-time-dev libboost-regex-dev libboost-thread-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++8
and the installation is progressing well, without error
then
./autogen.sh
./configure --enable-mysql
make

and I have the same error as before
mv -f .deps/vocation.Tpo .deps/vocation.Po
mv -f .deps/weapons.Tpo .deps/weapons.Po
g++ -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -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 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-mt -lboost_date_time-mt -lboost_system-mt -lboost_regex-mt -lboost_thread-mt -lgmp -lxml2
actions.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
baseevents.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
/usr/local/include/boost/system/error_code.hpp:175: undefined reference to `boost::system::get_posix_category()'
beds.o: In function `__static_initialization_and_destruction_0':
/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boost::system::get_posix_category()'
beds.o:/usr/local/include/boost/system/error_code.hpp:175: more undefined references to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/usr/forgotten'
make: *** [all] Error 2

I have no idea what is wrong
 
root@unassigned:~# sudo apt-get install libboost1.41-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.41-dev


Help, Package miss on my Ubuntu Karmic 32Bit! =x
 
I have this erro on ./configure --enable-mysql
configure: error: "boost::asio header not found."

Anybody can help-me?
 
PHP:
/usr/bin/ld: i386:x86-64 architecture of input file `allocator.o' is incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file `exception.o' is incompatible with i386 output
collect2: ld returned 1 exit status
make[1]: ** [theforgottenserver] Erro 1

oO? TFS 0.4
 
./autogen.sh: línea 1: autoreconf: no se encontró la orden
root@joaquin-desktop:/home/joaquin/0.3.6pl1#
:( hlep plis
 
Back
Top