BitShares Forum
Main => Technical Support => Topic started by: monsterer on February 23, 2016, 09:19:11 am
-
Got a linking error trying to build witness_node in Release:
Linking CXX executable embed_genesis
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_public_key_type::operator fc::ecc::extended_public_key() const':
types.cpp:(.text+0x595): undefined reference to `fc::ecc::extended_public_key::deserialize(fc::array<char, 78ul> const&)'
../chain/libgraphene_chain.a(types.cpp.o): In function `graphene::chain::extended_private_key_type::operator fc::ecc::extended_private_key() const':
types.cpp:(.text+0x9f5): undefined reference to `fc::ecc::extended_private_key::deserialize(fc::array<char, 78ul> const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [libraries/egenesis/embed_genesis] Error 1
make[1]: *** [libraries/egenesis/CMakeFiles/embed_genesis.dir/all] Error 2
make: *** [all] Error 2
-
git submodule update --init --recursive
???
-
git submodule update --init --recursive
???
Thanks, that fixed it.
God knows why I needed that - perhaps because I was pulling latest from bitshares, but not recursively?
-
Some libraries (e.g. fc) are distinct git projects and thus you need those submodules to update ...