• 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!

Problem z kompilacja TFS 0.2

Vectrum

New Member
Joined
Dec 6, 2012
Messages
19
Reaction score
0
Witam, mam problem przy kompilacji tfs 0.2, oto błąd:

make: *** [obj/actions.o] Błąd 1
make: *** Oczekiwanie na niezakończone zadania....
make: *** [obj/admin.o] Błąd 1

Ktoś wie co zrobić, aby kompilacja przebiegła pomyślnie?
 
Gdy wpisuje make -j2:

root@ks3279885:~/tfs/0.2# make -j2
g++ -c -I"." -I"/usr/include/libxml2" -I"/usr/include/lua5.1" -I"/usr/include/mysql" -D_THREAD_SAFE -D_REENTRANT -D__NO_HOMEDIR_CONF__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -Wall -O3 -o obj/actions.o actions.cpp
g++ -c -I"." -I"/usr/include/libxml2" -I"/usr/include/lua5.1" -I"/usr/include/mysql" -D_THREAD_SAFE -D_REENTRANT -D__NO_HOMEDIR_CONF__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__USE_MYSQL__ -D__USE_SQLITE__ -Werror -Wall -O3 -o obj/admin.o admin.cpp
In file included from scheduler.h:25,
from game.h:35,
from admin.cpp:23:
tasks.h:65: błąd: `system_time, in namespace `boost, does not name a type
tasks.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&),:
tasks.h:36: błąd: `m_expiration, was not declared in this scope
tasks.h:36: błąd: `get_system_time, is not a member of `boost,
tasks.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&),:
tasks.h:39: błąd: class `Task, does not have any field named `m_expiration,
tasks.h: In member function `void Task::setDontExpire(),:
tasks.h:50: błąd: `m_expiration, was not declared in this scope
tasks.h: In member function `bool Task::hasExpired() const,:
tasks.h:55: błąd: `m_expiration, was not declared in this scope
tasks.h:58: błąd: `m_expiration, was not declared in this scope
tasks.h:58: błąd: `get_system_time, is not a member of `boost,
tasks.h: At global scope:
tasks.h:106: błąd: `condition_variable, in namespace `boost, does not name a type
In file included from game.h:35,
from admin.cpp:23:
scheduler.h:41: błąd: `system_time, in namespace `boost, does not name a type
scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const,:
scheduler.h:45: błąd: `getCycle, was not declared in this scope
scheduler.h:45: błąd: `const class SchedulerTask, has no member named `getCycle,
scheduler.h: At global scope:
scheduler.h:102: błąd: `condition_variable, in namespace `boost, does not name a type
In file included from scheduler.h:25,
from game.h:35,
from actions.cpp:24:
tasks.h:65: błąd: `system_time, in namespace `boost, does not name a type
tasks.h: In constructor `Task::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&),:
tasks.h:36: błąd: `m_expiration, was not declared in this scope
tasks.h:36: błąd: `get_system_time, is not a member of `boost,
tasks.h: In constructor `Task::Task(const boost::function<void ()(), std::allocator<void> >&),:
tasks.h:39: błąd: class `Task, does not have any field named `m_expiration,
tasks.h: In member function `void Task::setDontExpire(),:
tasks.h:50: błąd: `m_expiration, was not declared in this scope
tasks.h: In member function `bool Task::hasExpired() const,:
tasks.h:55: błąd: `m_expiration, was not declared in this scope
tasks.h:58: błąd: `m_expiration, was not declared in this scope
tasks.h:58: błąd: `get_system_time, is not a member of `boost,
tasks.h: At global scope:
tasks.h:106: błąd: `condition_variable, in namespace `boost, does not name a type
In file included from game.h:35,
from actions.cpp:24:
scheduler.h:41: błąd: `system_time, in namespace `boost, does not name a type
scheduler.h: In member function `bool SchedulerTask::operator<(const SchedulerTask&) const,:
scheduler.h:45: błąd: `getCycle, was not declared in this scope
scheduler.h:45: błąd: `const class SchedulerTask, has no member named `getCycle,
scheduler.h: At global scope:
scheduler.h:102: błąd: `condition_variable, in namespace `boost, does not name a type
make: *** [obj/actions.o] Błąd 1
make: *** Oczekiwanie na niezakończone zadania....
make: *** [obj/admin.o] Błąd 1
root@ks3279885:~/tfs/0.2#

- - - Updated - - -

Bump

- - - Updated - - -

Bump

- - - Updated - - -

Teraz próbowałem z 0.3

root@ks3279885:~/tfs# ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
/usr/share/aclocal/libmcrypt.m4:17: warning: underquoted definition of AM_PATH_LIBMCRYPT
/usr/share/aclocal/libmcrypt.m4:17: run info '(automake)Extending aclocal'
/usr/share/aclocal/libmcrypt.m4:17: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force --warnings=none
autoreconf: running: /usr/bin/autoheader --force --warnings=none
autoreconf: running: automake --add-missing --copy --force-missing --warnings=none
configure.ac:3: option `silent-rules' not recognized
autoreconf: automake failed with exit status: 1
 
Last edited:
Back
Top