» » recipe for target ‘build/rpcrawtransaction.o’ failed

recipe for target ‘build/rpcrawtransaction.o’ failed

posted in: Tutorials | 0


src/rpcrawtransaction.cpp:245:77: required from here
/usr/include/boost/variant/get.hpp:178:5: error: invalid application of ‘sizeof’ to incomplete type ‘boost::STATIC_ASSERTION_FAILURE’
BOOST_STATIC_ASSERT_MSG(
^
Makefile:2222: recipe for target 'build/rpcrawtransaction.o' failed
make: *** [build/rpcrawtransaction.o] Error

src/rpcrawtransaction.cpp around line 242

const CScriptID& hash = boost::get(address);

Change to:

const CScriptID& hash = boost::get(address);