undefined reference to `fc::ecc::extended_public_key::deserialize(fc::array<char

Started by monsterer, February 23, 2016, 09:19:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Some libraries (e.g. fc) are distinct git projects and thus you need those submodules to update ...

monsterer

Quote from: xeroc on February 23, 2016, 11:55:26 AM
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?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc


monsterer

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
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads