• Страница 1 из 1
  • 1
Модератор форума: Dimitro  
Ошибка компиляции на линуксе
ArhangelSM
Чемпион
Здравствуйте, ранее такой проблемы не было, но при обновлении ядра 335 появилась ошибка связанная с boost, а теперь и проблема с 6хх. При компиляции выдает... boost пробовал 59 и 60, и причем ошибки разные были
Код
[ 21%] Building CXX object src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o
/home/wasdcloud/server/wow_project/sources/6xtest/src/server/game/Entities/Taxi/TaxiPathGraph.cpp:26:63: fatal error: boost/property_map/transform_value_property_map.hpp: No such file or directory
compilation terminated.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make: ***  [all]Error 2
root@wasdcloud:/home/wasdcloud/server/wow_project/sources/6xtest/build#

Добавлено (19.12.2015, 09:28)
---------------------------------------------
на 59 вот так 

Код
CMakeFiles/bnetserver.dir/Main.cpp.o: In function `GetConsoleArguments(int, char**, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
Main.cpp:(.text+0x34f): undefined reference to `boost::program_options::options_description::options_description(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'
CMakeFiles/bnetserver.dir/Main.cpp.o: In function `boost::program_options::typed_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>::xparse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) const':
Main.cpp:(.text._ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE6xparseERNS_3anyERKSt6vectorIS7_SaIS7_EE[_ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE6xparseERNS_3anyERKSt6vectorIS7_SaIS7_EE]+0x1f): undefined reference to `boost::program_options::validate(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int)'
CMakeFiles/bnetserver.dir/Main.cpp.o: In function `boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*)':
Main.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x200): undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Main.cpp:(.text._ZN5boost15program_options25basic_command_line_parserIcEC2EiPKPKc[_ZN5boost15program_options25basic_command_line_parserIcEC5EiPKPKc]+0x28f): undefined reference to `boost::program_options::detail::cmdline::cmdline(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)'
CMakeFiles/bnetserver.dir/Main.cpp.o: In function `boost::program_options::typed_value<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, char>::name() const':
Main.cpp:(.text._ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv[_ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv]+0x1d9): undefined reference to `boost::program_options::arg[abi:cxx11]'
Main.cpp:(.text._ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv[_ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv]+0x1ef): undefined reference to `boost::program_options::arg[abi:cxx11]'
Main.cpp:(.text._ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv[_ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv]+0x325): undefined reference to `boost::program_options::arg[abi:cxx11]'
Main.cpp:(.text._ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv[_ZNK5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcE4nameEv]+0x32f): undefined reference to `boost::program_options::arg[abi:cxx11]'
CMakeFiles/bnetserver.dir/Main.cpp.o:(.rodata._ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE[_ZTVN5boost15program_options11typed_valueINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEE]+0x38): undefined reference to `boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, bool) const'
../database/libdatabase.a(DBUpdater.cpp.o): In function `boost::iostreams::detail::indirect_streambuf<boost::iostreams::file_descriptor_source, std::char_traits<char>, std::allocator<char>, boost::iostreams::input_seekable>::seek_impl(long long, std::_Ios_Seekdir, std::_Ios_Openmode)':
DBUpdater.cpp:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_22file_descriptor_sourceESt11char_traitsIcESaIcENS0_14input_seekableEE9seek_implExSt12_Ios_SeekdirSt13_Ios_Openmode[_ZN5boost9iostreams6detail18indirect_streambufINS0_22file_descriptor_sourceESt11char_traitsIcESaIcENS0_14input_seekableEE9seek_implExSt12_Ios_SeekdirSt13_Ios_Openmode]+0xba): undefined reference to `boost::iostreams::file_descriptor::seek(long long, std::_Ios_Seekdir)'
DBUpdater.cpp:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_22file_descriptor_sourceESt11char_traitsIcESaIcENS0_14input_seekableEE9seek_implExSt12_Ios_SeekdirSt13_Ios_Openmode[_ZN5boost9iostreams6detail18indirect_streambufINS0_22file_descriptor_sourceESt11char_traitsIcESaIcENS0_14input_seekableEE9seek_implExSt12_Ios_SeekdirSt13_Ios_Openmode]+0xe4): undefined reference to `boost::iostreams::file_descriptor::seek(long long, std::_Ios_Seekdir)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/server/bnetserver/bnetserver] Error 1
make[1]: *** [src/server/bnetserver/CMakeFiles/bnetserver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Добавлено (19.12.2015, 10:06)
---------------------------------------------
на 58й вот

Код
/home/wasdcloud/server/wow_project/sources/6xtest/src/server/game/Entities/Taxi/TaxiPathGraph.cpp:26:63: fatal error: boost/property_map/transform_value_property_map.hpp: No such file or directory
compilation terminated.
make[2]: *** [src/server/game/CMakeFiles/game.dir/Entities/Taxi/TaxiPathGraph.cpp.o] Error 1
make[1]: *** [src/server/game/CMakeFiles/game.dir/all] Error 2
make: *** [all] Error 2
root@wasdcloud:/home/wasdcloud/server/wow_project/sources/6xtest/build#
Сообщение # 1 написано 19.12.2015 в 10:06
  • Страница 1 из 1
  • 1
Поиск: