Issue compiling Litecoin v0.8.7.4

Im trying to build a coin based on litecoin but cant seem to get it to compile.
When i try to compile it i get this error:

rpcrawtransaction.cpp:242: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.unix:186: recipe for target ‘obj/rpcrawtransaction.o’ failed
make: *** [obj/rpcrawtransaction.o] Error 1

I am running Ubuntu 16.04
Please help me!
Thanks

your rpc call isn’t working or there is no transactions to be called by the rpc call…the “recipe for target” should be your raw transaction hash…or genesis block if that is where you are in your build…

Its ok i solved it now. Thanks! I just had to change a few bits of code.