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

ThaLeeeS

Member
Joined
Oct 4, 2009
Messages
189
Reaction score
7
Location
Brazil
When I compile TFS on Debian 5:

PHP:
make  all-am
make[1]: Entering directory `/home/forgottenserver/source'
g++ -DHAVE_CONFIG_H -I.    -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 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from actions.cpp:37:
house.h:23:39: error: boost/tr1/unordered_set.hpp: No such file or directory
In file included from luascript.h:29,
                 from baseevents.h:22,
                 from actions.h:20,
                 from actions.cpp:20:
database.h: In constructor âDBQuery::DBQuery()â:
database.h:255: error: âclass boost::recursive_mutexâ has no member named âlockâ
database.h: In destructor âvirtual DBQuery::~DBQuery()â:
database.h:256: error: âclass boost::recursive_mutexâ has no member named âunlockâ
In file included from actions.cpp:22:
tasks.h: At global scope:
tasks.h:46: error: âsystem_timeâ in namespace âboostâ does not name a type
tasks.h: In constructor âTask::Task(const boost::function<void ()(), std::allocator<void> >&)â:
tasks.h:28: error: class âTaskâ does not have any field named âm_expirationâ
tasks.h: In constructor âTask::Task(uint32_t, const boost::function<void ()(), std::allocator<void> >&)â:
tasks.h:30: error: class âTaskâ does not have any field named âm_expirationâ
tasks.h:31: error: âget_system_timeâ is not a member of âboostâ
tasks.h: In member function âvoid Task::unsetExpiration()â:
tasks.h:36: error: âm_expirationâ was not declared in this scope
tasks.h: In member function âbool Task::hasExpired() constâ:
tasks.h:39: error: âm_expirationâ was not declared in this scope
tasks.h:42: error: âm_expirationâ was not declared in this scope
tasks.h:42: error: âget_system_timeâ is not a member of âboostâ
tasks.h: At global scope:
tasks.h:88: error: âcondition_variableâ in namespace âboostâ does not name a type
In file included from game.h:24,
                 from actions.cpp:31:
scheduler.h:33: error: âsystem_timeâ in namespace âboostâ does not name a type
scheduler.h: In member function âbool SchedulerTask::operator<(const SchedulerTask&) constâ:
scheduler.h:34: error: âgetCycleâ was not declared in this scope
scheduler.h:34: error: âconst class SchedulerTaskâ has no member named âgetCycleâ
scheduler.h: At global scope:
scheduler.h:91: error: âcondition_variableâ in namespace âboostâ does not name a type
In file included from actions.cpp:37:
house.h:76: error: âstd::tr1â has not been declared
house.h:76: error: ISO C++ forbids declaration of âunordered_setâ with no type
house.h:76: error: typedef name may not be a nested-name-specifier
house.h:76: error: expected â;â before â<â token
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/forgottenserver/source'
make: *** [all] Error 2

How do I fix this ?
 
other error:
PHP:
make  all-am
make[1]: Entering directory `/home/trunk.r2957'
g++ -DHAVE_CONFIG_H -I.    -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 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from baseevents.h:20,
                 from actions.h:20,
                 from actions.cpp:20:
otsystem.h:83:11: error: missing binary operator before token "_MSC_VER"
In file included from actions.cpp:37:
house.h:23:39: error: boost/tr1/unordered_set.hpp: No such file or directory
In file included from luascript.h:29,
                 from baseevents.h:22,
                 from actions.h:20,
                 from actions.cpp:20:
database.h: In constructor âDBQuery::DBQuery()â:
database.h:255: error: âclass boost::recursive_mutexâ has no member named âlockâ
database.h: In destructor âvirtual DBQuery::~DBQuery()â:
database.h:256: error: âclass boost::recursive_mutexâ has no member named âunlockâ
In file included from actions.cpp:22:
tasks.h: At global scope:
tasks.h:46: error: âsystem_timeâ in namespace âboostâ does not name a type
tasks.h: In constructor âTask::Task(const boost::function<void(), std::allocator<void> >&)â:
tasks.h:28: error: class âTaskâ does not have any field named âm_expirationâ
tasks.h: In constructor âTask::Task(uint32_t, const boost::function<void(), std::allocator<void> >&)â:
tasks.h:30: error: class âTaskâ does not have any field named âm_expirationâ
tasks.h:31: error: âget_system_timeâ is not a member of âboostâ
tasks.h: In member function âvoid Task::unsetExpiration()â:
tasks.h:36: error: âm_expirationâ was not declared in this scope
tasks.h: In member function âbool Task::hasExpired() constâ:
tasks.h:39: error: âm_expirationâ was not declared in this scope
tasks.h:42: error: âm_expirationâ was not declared in this scope
tasks.h:42: error: âget_system_timeâ is not a member of âboostâ
tasks.h: At global scope:
tasks.h:88: error: âcondition_variableâ in namespace âboostâ does not name a type
In file included from game.h:24,
                 from actions.cpp:31:
scheduler.h:33: error: âsystem_timeâ in namespace âboostâ does not name a type
scheduler.h: In member function âbool SchedulerTask::operator<(const SchedulerTask&) constâ:
scheduler.h:34: error: âgetCycleâ was not declared in this scope
scheduler.h:34: error: âconst class SchedulerTaskâ has no member named âgetCycleâ
scheduler.h: At global scope:
scheduler.h:91: error: âcondition_variableâ in namespace âboostâ does not name a type
In file included from actions.cpp:37:
house.h:76: error: âstd::tr1â has not been declared
house.h:76: error: ISO C++ forbids declaration of âunordered_setâ with no type
house.h:76: error: typedef name may not be a nested-name-specifier
house.h:76: error: expected â;â before â<â token
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/trunk.r2957'
make: *** [all] Error 2
 

Similar threads

Back
Top