Author Topic: undefined reference to `fc::ecc::extended_public_key::deserialize(fc::array<char  (Read 1787 times)

0 Members and 1 Guest are viewing this topic.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Some libraries (e.g. fc) are distinct git projects and thus you need those submodules to update ...

Offline monsterer

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline monsterer

Got a linking error trying to build witness_node in Release:

Code: [Select]
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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads