• 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 boost thread error

seleo

Active Member
Joined
Jun 6, 2012
Messages
498
Reaction score
33
Location
Egypt
Hello
Im trying to compile TFS 0.3.5 Tibia 860 on Linux ubuntu 14
Code:
Linux vmi23301.contabo.net 3.8.0-35-generic #50-Ubuntu SMP Tue Dec 3 01:24:59 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


But it shows a strange error :(
anyone have idea about fixing this ?
Code:
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__    -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from /usr/local/include/boost/thread/detail/platform.hpp:17:0,
                from /usr/local/include/boost/thread/thread.hpp:12,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/config/requires_threads.hpp:29:4: error: #error "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
In file included from /usr/local/include/boost/thread/thread.hpp:12:0,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/detail/platform.hpp:67:9: error: #error "Sorry, no boost threads are available for this platform."
In file included from /usr/local/include/boost/thread.hpp:13:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/thread.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:13:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:15:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/detail/thread_heap_alloc.hpp:19:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread_group.hpp:9:0,
                from /usr/local/include/boost/thread/thread.hpp:24,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/shared_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:14:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/condition_variable.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:17:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/once.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread.hpp:18:0,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/recursive_mutex.hpp:18:2: error: #error "Boost threads unavailable on this platform"
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected ق}ق before numeric constant
/usr/local/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/local/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before قsystem_timeق
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp: In function قint xtime_get(xtime*, int)ق:
/usr/local/include/boost/thread/xtime.hpp:73:40: error: قget_system_timeق was not declared in this scope
/usr/local/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/local/include/boost/thread/xtime.hpp:14:0,
                from /usr/local/include/boost/thread/detail/thread.hpp:14,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/thread_time.hpp:19:24: note:  قboost::get_system_timeق
In file included from /usr/local/include/boost/thread/detail/thread.hpp:14:0,
                from /usr/local/include/boost/thread/thread.hpp:22,
                from /usr/local/include/boost/thread.hpp:13,
                from otsystem.h:34,
                from baseevents.h:20,
                from actions.h:20,
                from actions.cpp:20:
/usr/local/include/boost/thread/xtime.hpp: At global scope:
/usr/local/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ق}ق token
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/var/12'
make: *** [all] Error 2
 
Back
Top