• 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 Some errors (easy to fix)

Raiden

Developer
Joined
Sep 16, 2008
Messages
486
Reaction score
32
Location
Venezuela
Hello! i'm triying to compile an avesta server 7.6 but i got some errors:

Code:
  [Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)' 
  [Linker error] undefined reference to `boost::thread::~thread()' 
  [Linker error] undefined reference to `boost::thread::~thread()' 
  [Linker error] undefined reference to `boost::thread::start_thread()'   
[Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)' 
  [Linker error] undefined reference to `boost::thread::~thread()' 
  [Linker error] undefined reference to `boost::thread::~thread()' 
  [Linker error] undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)' 
  ld returned 1 exit status 
  *** [../../server/Avesta.exe] Error 1

All of this in the compiler...

Now in the Compile results i got 10 errors:

Code:
Compilador: Default compiler
Building Makefile: "C:\Documents and Settings\Administrador\Mis documentos\Ronald Petit\Vieja pc\Ronald Petit\server\source\dev-cpp\Makefile.win"
Ejecutando  make...
mingw32-make -f "C:\Documents and Settings\Administrador\Mis documentos\Ronald Petit\Vieja pc\Ronald Petit\server\source\dev-cpp\Makefile.win" all
windres.exe -i Avesta_private.rc --input-format=rc -o obj/Avesta_private.res -O coff 

g++.exe obj/account.o obj/actions.o obj/allocator.o obj/ban.o obj/baseevents.o obj/beds.o obj/chat.o obj/combat.o obj/commands.o obj/condition.o obj/configmanager.o obj/connection.o obj/container.o obj/creature.o obj/creatureevent.o obj/cylinder.o obj/database.o obj/databasemysql.o obj/depot.o obj/exception.o obj/fileloader.o obj/game.o obj/house.o obj/housetile.o obj/ioaccount.o obj/iomapotbm.o obj/iomapserialize.o obj/iomapxml.o obj/ioplayer.o obj/item.o obj/items.o obj/logger.o obj/luascript.o obj/mailbox.o obj/map.o obj/md5.o obj/monster.o obj/monsters.o obj/movement.o obj/networkmessage.o obj/npc.o obj/otserv.o obj/outfit.o obj/outputmessage.o obj/party.o obj/player.o obj/position.o obj/protocol76.o obj/protocol.o obj/protocollogin.o obj/raids.o obj/scheduler.o obj/scriptmanager.o obj/server.o obj/sha1.o obj/spawn.o obj/spells.o obj/status.o obj/talkaction.o obj/tasks.o obj/teleport.o obj/thing.o obj/tile.o obj/tools.o obj/trashholder.o obj/vocation.o obj/waitlist.o obj/weapons.o obj/Avesta_private.res -o "..\..\server\Avesta.exe" -L"lib" -lxml2 -lmysql -lsqlite3 -lluasql_mysql -lluasql_sqlite -llua5.1 -lboost_system -lws2_32 -lgmp -lmswsock -O1 -s ../../../../../../../../../Dev-cpp/lib/libboost_regex.a  

obj/otserv.o:otserv.cpp:(.text+0x1a9c): undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)'
obj/scheduler.o:scheduler.cpp:(.text+0x2fb): undefined reference to `boost::thread::~thread()'
obj/scheduler.o:scheduler.cpp:(.text+0x42d): undefined reference to `boost::thread::~thread()'
obj/scheduler.o:scheduler.cpp:(.text$_ZN5boost6threadC1INS_3_bi6bind_tIvPFvPvENS2_5list1INS2_5valueIS4_EEEEEEEET_NS_10disable_ifINS_14is_convertibleIRSC_NS_6detail13thread_move_tISC_EEEEPNS0_5dummyEE4typeE[boost::thread::thread<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >(boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >, boost::disable_if<boost::is_convertible<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > >&, boost::detail::thread_move_t<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > > >, boost::thread::dummy*>::type)]+0x176): undefined reference to `boost::thread::start_thread()'
obj/scheduler.o:scheduler.cpp:(.text$_ZN5boost6detail24basic_condition_variable7do_waitINS_11unique_lockINS_5mutexEEEEEbRT_NS0_7timeoutE[bool boost::detail::basic_condition_variable::do_wait<boost::unique_lock<boost::mutex> >(boost::unique_lock<boost::mutex>&, boost::detail::timeout)]+0xe9): undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)'

obj/tasks.o:tasks.cpp:(.text+0x228): undefined reference to `boost::thread::~thread()'
obj/tasks.o:tasks.cpp:(.text+0x400): undefined reference to `boost::thread::~thread()'

obj/tasks.o:tasks.cpp:(.text+0x92a): undefined reference to `boost::this_thread::interruptible_wait(void*, boost::detail::timeout)'
collect2: ld returned 1 exit status

mingw32-make: *** [../../server/Avesta.exe] Error 1

Ejecución Terminada

Someone know wehat is wrong?

There are my linkers:

-lxml2
-lmysql
-lsqlite3
-lluasql_mysql
-lluasql_sqlite
-llua5.1
-lboost_system
-lws2_32
-lgmp
-lmswsock
-O1
-s
../../../../../../../../../Dev-cpp/lib/libboost_regex.a

i'm compiling on dev-cpp (x64) of stian
 
Back
Top