Rhorin / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
0 stars 0 forks source link

Error compiling #133

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
g++ -o ./ghost++ bncsutilinterface.o bnet.o bnetprotocol.o bnlsclient.o 
bnlsprotocol.o commandpacket.o config.o crc32.o csvparser.o game.o game_admin.o 
game_base.o gameplayer.o gameprotocol.o gameslot.o ghost.o ghostdb.o 
ghostdbmysql.o ghostdbsqlite.o gpsprotocol.o language.o map.o packed.o replay.o 
savegame.o sha1.o socket.o stats.o statsdota.o statsw3mmd.o util.o sqlite3.o 
-L. -L../bncsutil/src/bncsutil/ -L../StormLib/stormlib/ -L../usr/lib/ 
-lbncsutil -lpthread -ldl -lz -lStorm -lmysqlclient_r -lboost_date_time 
-lboost_thread -lboost_system -lboost_filesystem -lboost_regex -lrt
bnet.o: In function 
`boost::detail::sp_counted_impl_p<boost::filesystem2::detail::dir_itr_imp<boost:
:filesystem2::basic_path<std::string, boost::filesystem2::path_traits> > 
>::dispose()':
bnet.cpp:(.text._ZN5boost6detail17sp_counted_impl_pINS_11filesystem26detail11dir
_itr_impINS2_10basic_pathISsNS2_11path_traitsEEEEEE7disposeEv[_ZN5boost6detail17
sp_counted_impl_pINS_11filesystem26detail11dir_itr_impINS2_10basic_pathISsNS2_11
path_traitsEEEEEE7disposeEv]+0x2c): undefined reference to 
`boost::filesystem2::detail::dir_itr_close(void*&, void*&)'
bnet.o: In function `void 
boost::checked_delete<boost::filesystem2::detail::dir_itr_imp<boost::filesystem2
::basic_path<std::string, boost::filesystem2::path_traits> > 
>(boost::filesystem2::detail::dir_itr_imp<boost::filesystem2::basic_path<std::st
ring, boost::filesystem2::path_traits> >*)':
bnet.cpp:(.text._ZN5boost14checked_deleteINS_11filesystem26detail11dir_itr_impIN
S1_10basic_pathISsNS1_11path_traitsEEEEEEEvPT_[_ZN5boost14checked_deleteINS_11fi
lesystem26detail11dir_itr_impINS1_10basic_pathISsNS1_11path_traitsEEEEEEEvPT_]+0
x29): undefined reference to `boost::filesystem2::detail::dir_itr_close(void*&, 
void*&)'
bnet.o: In function 
`boost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_pa
th<std::string, boost::filesystem2::path_traits> >, bool>::type 
boost::filesystem2::exists<boost::filesystem2::basic_path<std::string, 
boost::filesystem2::path_traits> >(boost::filesystem2::basic_path<std::string, 
boost::filesystem2::path_traits> const&)':
bnet.cpp:(.text._ZN5boost11filesystem26existsINS0_10basic_pathISsNS0_11path_trai
tsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EEbE4typeERKS7_[_ZN5boost11filesystem
26existsINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_ifINS0_13is_basic_p
athIT_EEbE4typeERKS7_]+0x6f): undefined reference to 
`boost::filesystem2::detail::status_api(std::string const&, 
boost::system::error_code&)'
bnet.o: In function 
`boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std
::string, boost::filesystem2::path_traits> >::increment()':
bnet.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pat
hISsNS0_11path_traitsEEEE9incrementEv[_ZN5boost11filesystem224basic_directory_it
eratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv]+0x86): undefined 
reference to `boost::filesystem2::detail::dir_itr_increment(void*&, void*&, 
std::string&, boost::filesystem2::file_status&, 
boost::filesystem2::file_status&)'
bnet.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pat
hISsNS0_11path_traitsEEEE9incrementEv[_ZN5boost11filesystem224basic_directory_it
eratorINS0_10basic_pathISsNS0_11path_traitsEEEE9incrementEv]+0x1b2): undefined 
reference to `boost::filesystem2::detail::dir_itr_increment(void*&, void*&, 
std::string&, boost::filesystem2::file_status&, 
boost::filesystem2::file_status&)'
bnet.o: In function 
`boost::filesystem2::basic_directory_iterator<boost::filesystem2::basic_path<std
::string, boost::filesystem2::path_traits> 
>::m_init(boost::filesystem2::basic_path<std::string, 
boost::filesystem2::path_traits> const&)':
bnet.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pat
hISsNS0_11path_traitsEEEE6m_initERKS4_[_ZN5boost11filesystem224basic_directory_i
teratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_]+0xc1): undefined 
reference to `boost::filesystem2::detail::dir_itr_first(void*&, void*&, 
std::string const&, std::string&, boost::filesystem2::file_status&, 
boost::filesystem2::file_status&)'
bnet.cpp:(.text._ZN5boost11filesystem224basic_directory_iteratorINS0_10basic_pat
hISsNS0_11path_traitsEEEE6m_initERKS4_[_ZN5boost11filesystem224basic_directory_i
teratorINS0_10basic_pathISsNS0_11path_traitsEEEE6m_initERKS4_]+0x245): 
undefined reference to `boost::filesystem2::detail::not_found_error()'
bnet.o: In function 
`boost::enable_if<boost::filesystem2::is_basic_path<boost::filesystem2::basic_pa
th<std::string, boost::filesystem2::path_traits> >, 
boost::filesystem2::file_status>::type 
boost::filesystem2::status<boost::filesystem2::basic_path<std::string, 
boost::filesystem2::path_traits> >(boost::filesystem2::basic_path<std::string, 
boost::filesystem2::path_traits> const&)':
bnet.cpp:(.text._ZN5boost11filesystem26statusINS0_10basic_pathISsNS0_11path_trai
tsEEEEENS_9enable_ifINS0_13is_basic_pathIT_EENS0_11file_statusEE4typeERKS7_[_ZN5
boost11filesystem26statusINS0_10basic_pathISsNS0_11path_traitsEEEEENS_9enable_if
INS0_13is_basic_pathIT_EENS0_11file_statusEE4typeERKS7_]+0x6f): undefined 
reference to `boost::filesystem2::detail::status_api(std::string const&, 
boost::system::error_code&)'
collect2: ошибка: выполнение ld завершилось с 
кодом возврата 1
make: *** [ghost++] Ошибка 1

OS Fedora 17
Ghost++ 17.1

Original issue reported on code.google.com by sherlock...@gmail.com on 18 Jul 2012 at 8:29