Can't compile v12 (last master branch) on ubuntu

CryptoSiD

New Member
Oct 13, 2014
23
12
3
Hi I'm unable to compile the last master branch on my ubuntu willy, v11 compile without any problem but v12 won't

  1. masternodeman.cpp: In member function ‘void CMasternodeMan::processMessage(CNode*, std::__cxx11::string&, CDataStream&)’:
  2. masternodeman.cpp:806:14: warning: variable ‘isLocal’ set but not used [-Wunused-but-set-variable]
  3. bool isLocal = addr.IsRFC1918() || addr.IsLocal();
  4. ^
  5. CXX libbitcoin_wallet_a-rpcdump.o
  6. CXX libbitcoin_wallet_a-rpcwallet.o
  7. CXX libbitcoin_wallet_a-wallet.o
  8. CXX libbitcoin_wallet_a-wallet_ismine.o
  9. CXX libbitcoin_wallet_a-walletdb.o
  10. CXX libbitcoin_wallet_a-keepass.o
  11. AR libbitcoin_wallet.a
  12. /usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
  13. CXXLD dashd
  14. libbitcoin_server.a(libbitcoin_server_a-init.o): In function `boost::filesystem::path::path<boost::filesystem::directory_entry>(boost::filesystem::directory_entry const&, boost::enable_if<boost::filesystem::path_traits::is_pathable<boost::decay<boost::filesystem::directory_entry>::type>, void>::type*)':
  15. /usr/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path_traits::dispatch(boost::filesystem::directory_entry const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::codecvt<wchar_t, char, __mbstate_t> const&)'
  16. libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_options::detail::basic_config_file_iterator<char>::getline(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
  17. /usr/include/boost/program_options/detail/config_file.hpp:161: undefined reference to `boost::program_options::to_internal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
  18. libbitcoin_util.a(libbitcoin_util_a-util.o): In function `boost::program_options::detail::basic_config_file_iterator<char>::basic_config_file_iterator(std::istream&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<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)':
  19. /usr/include/boost/program_options/detail/config_file.hpp:145: undefined reference to `boost::program_options::detail::common_config_file_iterator::common_config_file_iterator(std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<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)'
  20. collect2: error: ld returned 1 exit status
  21. Makefile:2635: recipe for target 'dashd' failed
  22. make[2]: *** [dashd] Error 1
  23. make[2]: Leaving directory '/root/dash/src'
  24. Makefile:6797: recipe for target 'all-recursive' failed
  25. make[1]: *** [all-recursive] Error 1
  26. make[1]: Leaving directory '/root/dash/src'
  27. Makefile:568: recipe for target 'all-recursive' failed
  28. make: *** [all-recursive] Error 1

Any idea how to fix this?
 

CryptoSiD

New Member
Oct 13, 2014
23
12
3
I'm running a masternode on this box for a year or so, compiled v10 and v11 without any problem
Only having problem with v12
v12 compile fine on ubuntu trusty and debian stretch tho, but not on ubuntu willy