progof (OP)
Jr. Member
Offline
Activity: 157
Merit: 4
|
|
May 13, 2018, 10:19:43 AM |
|
Здравствуйте,
Собираю монету на CryptoNote и когда доходит до компиляции самого демона появляется эта ошибка
Linking CXX executable coind libCommon.a(StringUtils.cpp.o): In function `Common::StringUtils::split(std::string const&, std::vector<std::string, std::allocator<std::string> > const&)': /root/elspero/src/Common/StringUtils.cpp:46: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(__gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>, std::basic_regex<char, std::regex_traits<char> > const&, int, std::bitset<11ul>)' /root/elspero/src/Common/StringUtils.cpp:47: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator()' /root/elspero/src/Common/StringUtils.cpp:49: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' /root/elspero/src/Common/StringUtils.cpp:49: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o): In function `vector<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > >, void>': /usr/include/c++/4.8/bits/stl_vector.h:395: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' /usr/include/c++/4.8/bits/stl_vector.h:395: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o): In function `_M_initialize_dispatch<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > > >': /usr/include/c++/4.8/bits/stl_vector.h:1177: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o):/usr/include/c++/4.8/bits/stl_vector.h:1177: more undefined references to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' follow libCommon.a(StringUtils.cpp.o): In function `__distance<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > > >': /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:82: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()' /usr/include/c++/4.8/bits/stl_iterator_base_funcs.h:80: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o): In function `_M_range_initialize<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > > >': /usr/include/c++/4.8/bits/stl_vector.h:1206: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' /usr/include/c++/4.8/bits/stl_vector.h:1206: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o): In function `__uninitialized_copy_a<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > >, std::basic_string<char>*, std::basic_string<char> >': /usr/include/c++/4.8/bits/stl_uninitialized.h:258: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' /usr/include/c++/4.8/bits/stl_uninitialized.h:258: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o): In function `uninitialized_copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > >, std::basic_string<char>*>': /usr/include/c++/4.8/bits/stl_uninitialized.h:117: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' libCommon.a(StringUtils.cpp.o):/usr/include/c++/4.8/bits/stl_uninitialized.h:117: more undefined references to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::regex_token_iterator(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' follow libCommon.a(StringUtils.cpp.o): In function `__uninit_copy<std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::basic_string<char> > >, std::basic_string<char>*>': /usr/include/c++/4.8/bits/stl_uninitialized.h:74: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator++()' /usr/include/c++/4.8/bits/stl_uninitialized.h:74: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator!=(std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> > const&)' /usr/include/c++/4.8/bits/stl_uninitialized.h:75: undefined reference to `std::regex_token_iterator<__gnu_cxx::__normal_iterator<char const*, std::string>, char, std::regex_traits<char> >::operator*()' collect2: error: ld returned 1 exit status make[2]: *** [src/coind] Error 1 make[1]: *** [src/CMakeFiles/Daemon.dir/all] Error 2 make: *** [all] Error 2
Может кто-то сталкивался с подобной проблемой, подскажите пожалуйста как ее можно решить?
|