Maridan
New Member
- Joined
- Apr 26, 2014
- Messages
- 20
- Reaction score
- 1
Hi everyone! For two days I was trying to compile TFS 0.2.7 on ubuntu, I fixed some errors, but new errors keep coming... one after another.
so here is the error:
Code:
xxxxxx-PC:~$ cd 0.2.7/ && make
g++ -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -Wall -O1 -D_THREAD_SAFE -D_REENTRANT -D__NO_HOMEDIR_CONF__ -D__USE_MYSQL__ -c otserv.cpp
In file included from /usr/include/boost/thread/pthread/thread_data.hpp:10:0,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from database.h:25,
from iologindata.h:27,
from game.h:37,
from otserv.cpp:36:
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::thread_exception::thread_exception()’:
/usr/include/boost/thread/exceptions.hpp:43:49: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(0,system::system_category())
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::thread_exception::thread_exception(int)’:
/usr/include/boost/thread/exceptions.hpp:47:63: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(sys_error_code, system::system_category())
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::thread_exception::thread_exception(int, const char*)’:
/usr/include/boost/thread/exceptions.hpp:51:68: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(ev, system::system_category()), what_arg)
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::thread_exception::thread_exception(int, const string&)’:
/usr/include/boost/thread/exceptions.hpp:55:68: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(ev, system::system_category()), what_arg)
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::condition_error::condition_error()’:
/usr/include/boost/thread/exceptions.hpp:77:69: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(0, system::system_category()), "Condition error")
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::condition_error::condition_error(int)’:
/usr/include/boost/thread/exceptions.hpp:80:70: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(ev, system::system_category()), "Condition error")
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::condition_error::condition_error(int, const char*)’:
/usr/include/boost/thread/exceptions.hpp:84:70: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(ev, system::system_category()), what_arg)
^
/usr/include/boost/thread/exceptions.hpp: In constructor ‘boost::condition_error::condition_error(int, const string&)’:
/usr/include/boost/thread/exceptions.hpp:88:70: error: no match for call to ‘(const boost::system::error_category) ()’
: base_type(system::error_code(ev, system::system_category()), what_arg)
^
otserv.cpp: In function ‘void badAllocationHandler()’:
otserv.cpp:223:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(buf, 1024, stdin);
^
make: *** [otserv.o] Error 1
Anyone?
Thanks!