BitShares Forum
Main => Technical Support => Topic started by: her0 on December 14, 2016, 08:25:50 am
-
Scanning dependencies of target fc
[ 8%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/uint128.cpp.o
[ 9%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/real128.cpp.o
[ 9%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant.cpp.o
[ 9%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/exception.cpp.o
[ 10%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/variant_object.cpp.o
[ 10%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread.cpp:5:
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread_d.hpp:5:
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/context.hpp:10:
In file included from /usr/local/include/boost/coroutine/stack_context.hpp:14:
/usr/local/include/boost/coroutine/detail/config.hpp:17:4: warning:
"Boost.Coroutine is now deprecated. Please switch to Boost.Coroutine2. To
disable this warning message, define
BOOST_COROUTINE_NO_DEPRECATION_WARNING." [-W#warnings]
# warning "Boost.Coroutine is now deprecated. Please s...
^
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread.cpp:5:
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread_d.hpp:5:
/Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/context.hpp:215:9: error:
no type named 'fcontext_t' in namespace 'boost::context'
bc::fcontext_t my_context;
~~~~^
/Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/context.hpp:69:23: error:
no member named 'make_fcontext' in namespace 'boost::context'
my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
~~~~^
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread.cpp:5:
/Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread_d.hpp:401:17: error:
no member named 'jump_fcontext' in namespace 'boost::context'; did you
mean 'boost::context::detail::jump_fcontext'?
bc::jump_fcontext( &prev->my_context, next->my_context, 0 );
^~~~~~~~~~~~~~~~~
boost::context::detail::jump_fcontext
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note:
'boost::context::detail::jump_fcontext' declared here
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, vo...
^
In file included from /Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread.cpp:5:
/Users/youngroyallincoln/bitshares-2/libraries/fc/src/thread/thread_d.hpp:443:17: error:
no member named 'jump_fcontext' in namespace 'boost::context'; did you
mean 'boost::context::detail::jump_fcontext'?
bc::jump_fcontext( &prev->my_context, next->my_context, ...
^~~~~~~~~~~~~~~~~
boost::context::detail::jump_fcontext
/usr/local/include/boost/context/detail/fcontext.hpp:31:35: note:
'boost::context::detail::jump_fcontext' declared here
transfer_t BOOST_CONTEXT_CALLDECL jump_fcontext( fcontext_t const to, vo...
^
1 warning and 4 errors generated.
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o] Error 1
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
make: *** [all] Error 2
-
Your boost version? Afaik 1.57.0 works just fine, but perhaps higher versions don't.
-
should work with 1.60.0 as well .. but won't work with >1.61!
-
thanks, switch boost version to 1.60 now it work well
-
Perhaps this is something that Soledger would like to look into through their worker role? We should strive to be compatible with the latest versions of our dependencies.
@vikram