adikus95
New Member
- Joined
- May 17, 2009
- Messages
- 29
- Reaction score
- 0
Hello,
I have problems with compile TFS 0.4 Bug Fixx rev 3777 on Debian Linux.
and more errors. It's no only this.
Can any help me?
My boostlibs:
I have problems with compile TFS 0.4 Bug Fixx rev 3777 on Debian Linux.
Code:
^
In file included from /usr/include/pthread.h:24:0,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr.h:148,
from /usr/include/c++/4.9/ext/atomicity.h:35,
from /usr/include/c++/4.9/bits/basic_string.h:39,
from /usr/include/c++/4.9/string:52,
from /usr/include/c++/4.9/stdexcept:39,
from /usr/include/boost/function/function_base.hpp:14,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:24,
from otpch.h:35,
from combat.cpp:17:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
TIME_UTC=1
^
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from combat.cpp:17:
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
operator system_time() const
^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from combat.cpp:17:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
*xtp=get_xtime(get_system_time());
^
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from combat.cpp:17:
/usr/include/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
inline system_time get_system_time()
^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from combat.cpp:17:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
} // namespace boost
^
Makefile:544: polecenia dla obiektu 'configmanager.o' nie powiodły się
make[1]: *** [configmanager.o] Błąd 1
Makefile:544: polecenia dla obiektu 'connection.o' nie powiodły się
make[1]: *** [connection.o] Błąd 1
Makefile:544: polecenia dla obiektu 'actions.o' nie powiodły się
make[1]: *** [actions.o] Błąd 1
Makefile:544: polecenia dla obiektu 'condition.o' nie powiodły się
make[1]: *** [condition.o] Błąd 1
Makefile:544: polecenia dla obiektu 'beds.o' nie powiodły się
make[1]: *** [beds.o] Błąd 1
Makefile:544: polecenia dla obiektu 'chat.o' nie powiodły się
make[1]: *** [chat.o] Błąd 1
Makefile:544: polecenia dla obiektu 'combat.o' nie powiodły się
make[1]: *** [combat.o] Błąd 1
In file included from /usr/include/pthread.h:24:0,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/4.9/bits/gthr.h:148,
from /usr/include/c++/4.9/ext/atomicity.h:35,
from /usr/include/c++/4.9/bits/basic_string.h:39,
from /usr/include/c++/4.9/string:52,
from /usr/include/c++/4.9/stdexcept:39,
from /usr/include/boost/function/function_base.hpp:14,
from /usr/include/boost/function/detail/prologue.hpp:17,
from /usr/include/boost/function.hpp:24,
from otpch.h:35,
from container.cpp:17:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
TIME_UTC=1
^
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from container.cpp:17:
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
operator system_time() const
^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from container.cpp:17:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
*xtp=get_xtime(get_system_time());
^
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from container.cpp:17:
/usr/include/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
inline system_time get_system_time()
^
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from otsystem.h:34,
from inputbox.h:20,
from otpch.h:45,
from container.cpp:17:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
} // namespace boost
^
Makefile:544: polecenia dla obiektu 'container.o' nie powiodły się
make[1]: *** [container.o] Błąd 1
make[1]: Opuszczenie katalogu '/var/tfs/source'
Makefile:397: polecenia dla obiektu 'all' nie powiodły się
make: *** [all] Błąd 2
and more errors. It's no only this.
Can any help me?
My boostlibs:
Code:
libboost-date-time-dev install
libboost-date-time1.49-dev install
libboost-date-time1.49.0 install
libboost-dev install
libboost-filesystem-dev install
libboost-filesystem1.49-dev install
libboost-filesystem1.49.0 install
libboost-iostreams1.49.0 install
libboost-regex-dev install
libboost-regex1.49-dev install
libboost-regex1.49.0 install
libboost-serialization1.49-dev install
libboost-serialization1.49.0 install
libboost-system-dev install
libboost-system1.49-dev install
libboost-system1.49.0 install
libboost-thread-dev install
libboost-thread1.49-dev install
libboost-thread1.49.0 install
libboost1.49-dev install
Last edited by a moderator: