Thank you!
After updating boost1.58, there are new problems in the compilation.
What problems? Can you send logs?
Prompt for new questions:
[ 51%] Building CXX object src/CMakeFiles/wallet.dir/wallet/wallet2.cpp.o
In file included from /root/boolberry/contrib/epee/include/misc_log_ex.h:54:0,
from /root/boolberry/contrib/epee/include/include_base_utils.h:31,
from /root/boolberry/src/wallet/wallet2.cpp:10:
/root/boolberry/contrib/epee/include/os_defenitions.h:34:5: warning: "_WIN32" is not defined [-Wundef]
#if _WIN32 || _WIN64
^
/root/boolberry/contrib/epee/include/os_defenitions.h:34:15: warning: "_WIN64" is not defined [-Wundef]
#if _WIN32 || _WIN64
^
In file included from /root/boolberry/contrib/epee/include/net/http_client.h:42:0,
from /root/boolberry/src/wallet/core_default_rpc_proxy.h:8,
from /root/boolberry/src/wallet/wallet2.h:23,
from /root/boolberry/src/wallet/wallet2.cpp:13:
/root/boolberry/contrib/epee/include/gzip_encoding.h: In constructor ‘epee::net_utils::content_encoding_gzip::content_encoding_gzip(epee::net_utils::i_target_handler*, bool, int)’:
/root/boolberry/contrib/epee/include/gzip_encoding.h:59:8: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
int ret = 0;
^
In file included from /usr/local/include/boost/integer.hpp:23:0,
from /usr/local/include/boost/archive/basic_binary_oprimitive.hpp:41,
from /usr/local/include/boost/archive/binary_oarchive_impl.hpp:22,
from /usr/local/include/boost/archive/binary_oarchive.hpp:21,
from /root/boolberry/src/wallet/wallet2.cpp:6:
/usr/local/include/boost/variant/get.hpp: In instantiation of ‘typename boost::add_reference
/usr/local/include/boost/variant/get.hpp:299:33: required from ‘typename boost::add_reference
/root/boolberry/src/wallet/wallet2.cpp:1103:75: required from here
/usr/local/include/boost/variant/get.hpp:229:5: error: static assertion failed: boost::variant does not contain specified type U, call to boost::get(const boost::variant
BOOST_STATIC_ASSERT_MSG(
^
make[3]: *** [src/CMakeFiles/wallet.dir/wallet/wallet2.cpp.o] Error 1
make[3]: Leaving directory `/root/boolberry/build/release'
make[2]: *** [src/CMakeFiles/wallet.dir/all] Error 2
make[2]: Leaving directory `/root/boolberry/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/boolberry/
Dear skygonga!
Can you provide which boost version are you using, which OS and which compiler?
ubuntu 14.04-64 boost1.58
Dear friend, you are using old boost version, as i told you before - you need to update to newer one, at least boost 1.64.
And you'd better update your compiler as well, default gcc on 14.04 is outdated.
Updated the system and prompted a new question.
ubuntu 14.04-64 boost1.68 GCC5.5
Linking CXX executable connectivity_tool
lto1: error: bad value (knl) for -march= switch
lto-wrapper: /usr/bin/c++ returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [src/connectivity_tool] Error 1
make[3]: Leaving directory `/root/boolberry/build/release'
make[2]: *** [src/CMakeFiles/connectivity_tool.dir/all] Error 2
make[2]: Leaving directory `/root/boolberry/build/release'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/boolberry/build/release'
make: *** [build-release] Error 2