What's new

Kompilacja kompilacja

Status
Not open for further replies.

Szpaku17

Advanced User
Joined
Aug 14, 2008
Messages
313
Reaction score
5
witam mam bardzo dziwny b??d przy kompilacji. rev.3884.

make
make all-am
make[1]: Entering directory `/home/ots/trunk'
g++ -I/usr/include/libxml2 -O2 -fomit-frame-pointer -D__USE_MYSQL__ -D__WAR_SYSTEM__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D__ROOT_PERMISSION__ -D_THREAD_SAFE -D_REENTRANT -Wall -Wextra -Werror -Wno-strict-aliasing -Wno-unused-parameter -pipe -o theforgottenserver actions.o allocator.o baseevents.o beds.o chat.o combat.o condition.o configmanager.o connection.o container.o creature.o creatureevent.o cylinder.o database.o databasemanager.o databasemysql.o depot.o dispatcher.o exception.o fileloader.o game.o globalevent.o group.o house.o housetile.o ioban.o ioguild.o iologindata.o iomap.o iomapserialize.o item.o itemattributes.o items.o luascript.o mailbox.o manager.o map.o monster.o monsters.o movement.o networkmessage.o npc.o otserv.o outfit.o outputmessage.o party.o player.o position.o protocol.o protocolgame.o protocolhttp.o protocollogin.o protocolold.o quests.o raids.o scheduler.o scriptmanager.o server.o spawn.o spells.o status.o talkaction.o teleport.o textlogger.o thing.o tile.o tools.o trashholder.o waitlist.o weapons.o vocation.o -lmysqlclient -llua -lcrypto -lcryptopp -lboost_filesystem-mt -lboost_date_time-mt -lboost_system -lboost_regex-mt -lboost_thread-mt -lz -lxml2
dispatcher.o: In function `Dispatcher::dispatcherThread(void*)':
dispatcher.cpp:(.text+0x999): undefined reference to `boost::detail::get_current_thread_data()'
dispatcher.o: In function `boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::~thread_data()':
dispatcher.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPvENS2_5list1INS2_5valueIS4_EEEEEEED0Ev[boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::~thread_data()]+0x12): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
dispatcher.o: In function `boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::~thread_data()':
dispatcher.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPvENS2_5list1INS2_5valueIS4_EEEEEEED1Ev[boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >::~thread_data()]+0xb): undefined reference to `boost::detail::thread_data_base::~thread_data_base()'
dispatcher.o: In function `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)':
dispatcher.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)]+0x51): undefined reference to `vtable for boost::detail::thread_data_base'
dispatcher.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)]+0x196): undefined reference to `boost::thread::start_thread()'
dispatcher.o: In function `boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)':
dispatcher.cpp:(.text._ZN5boost18condition_variable4waitERNS_11unique_lockINS_5mutexEEE[boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)]+0xa): undefined reference to `boost::detail::get_current_thread_data()'
dispatcher.o:(.rodata._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPvENS2_5list1INS2_5valueIS4_EEEEEEEE[typeinfo for boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(void*), boost::_bi::list1<boost::_bi::value<void*> > > >]+0x8): undefined reference to `typeinfo for boost::detail::thread_data_base'
luascript.o: In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, boost::filesystem::file_status>::type boost::filesystem::status<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
luascript.cpp:(.text._ZN5boost10filesystem6statusINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EENS0_11file_statusEE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, boost::filesystem::file_status>::type boost::filesystem::status<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x64): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
luascript.o: In function `boost::filesystem::basic_directory_iterator<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
luascript.cpp:(.text._ZN5boost10filesystem24basic_directory_iteratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_[boost::filesystem::basic_directory_iterator<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >::m_init(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x279): undefined reference to `boost::filesystem::detail::not_found_error()'
otserv.o: In function `main':
otserv.cpp:(.text+0x12f3): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
otserv.o: In function `otserv(std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, ServiceManager*)':
otserv.cpp:(.text+0x4736): undefined reference to `boost::this_thread::sleep(boost::posix_time::ptime const&)'
scheduler.o: In function `Scheduler::schedulerThread(void*)':
scheduler.cpp:(.text+0x959): undefined reference to `boost::detail::get_current_thread_data()'
scheduler.o: In function `boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, boost::posix_time::ptime const&)':
scheduler.cpp:(.text._ZN5boost18condition_variable10timed_waitERNS_11unique_lockINS_5mutexEEERKNS_10posix_time5ptimeE[boost::condition_variable::timed_wait(boost::unique_lock<boost::mutex>&, boost::posix_time::ptime const&)]+0x8): undefined reference to `boost::detail::get_current_thread_data()'
scriptmanager.o: In function `boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)':
scriptmanager.cpp:(.text._ZN5boost10filesystem6existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[boost::enable_if<boost::filesystem::is_basic_path<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >, bool>::type boost::filesystem::exists<boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> >(boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits> const&)]+0x57): undefined reference to `boost::filesystem::detail::status_api(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::system::error_code&)'
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/ots/trunk'
make: *** [all] Error 2
ks36746:/home/ots/trunk#
 

Grzechu

Senior User
Joined
Nov 29, 2008
Messages
1,263
Reaction score
93
Odp: kompilacja

?le zainstalowany b?d? masz nie doinstalowane nie kt?re pakiety boost'a
 

Govern

Advanced User
Joined
Jun 6, 2011
Messages
308
Reaction score
35
Odp: kompilacja

Dok?adnie zainstaluj sobie boosty z tej strony:

?ci?gasz wersj?, kt?ra ci pasuje nast?pnie
Code:
./bootstrap.sh
./bjam install --prefix=PREFIX
PREFIX trzeba da? do /usr/ i oczywi?cie wszystko z poziomu roota.
 
Status
Not open for further replies.
Top