undefined reference
I got following errors while compiling DAWN-2018-03-29-ALPHA on Ubuntu 16.04.
[ 75%] Built target eosio-s2wasm
[ 75%] Linking CXX executable chainbase_test
/root/opt/boost_1_66_0/lib/libboost_filesystem.a(operations.o): In function (anonymous namespace)::dir_itr_first(void*&, void*&, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, boost::filesystem::file_status&, boost::filesystem::file_status&) [clone .isra.49] [clone .constprop.55]':
operations.cpp:(.text+0x129): undefined reference to boost::system::system_category()'
operations.cpp:(.text+0x141): undefined reference to boost::system::system_category()'
/root/opt/boost_1_66_0/lib/libboost_filesystem.a(operations.o): In function boost::filesystem::detail::dir_itr_close(void*&, void*&)':
operations.cpp:(.text+0x1e8): undefined reference to `boost::system::system_category()'
......
egory()'
operations.cpp:(.text+0x4f97): undefined reference to boost::system::system_category()'
operations.cpp:(.text+0x5009): undefined reference to boost::system::system_category()'
/root/opt/boost_1_66_0/lib/libboost_filesystem.a(operations.o):operations.cpp:(.text+0x5168): more undefined references to `boost::system::system_category()' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libraries/chainbase/test/CMakeFiles/chainbase_test.dir/build.make:103: recipe for target 'libraries/chainbase/test/chainbase_test' failed
make[2]: *** [libraries/chainbase/test/chainbase_test] Error 1
CMakeFiles/Makefile2:891: recipe for target 'libraries/chainbase/test/CMakeFiles/chainbase_test.dir/all' failed
make[1]: *** [libraries/chainbase/test/CMakeFiles/chainbase_test.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 80%] Built target fc
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
What maybe the problem, and how to fix it ?
Fixed it by update submodule after 'git pull' .
git submodule update --recursive