steemit / steem

The blockchain for Smart Media Tokens (SMTs) and decentralized applications.
https://steem.com
Other
1.95k stars 790 forks source link

Undefined symbols for architecture x86_64 #2227

Open kenneth opened 6 years ago

kenneth commented 6 years ago

why can't compile pass?

[  2%] Built target project_secp256k1
[  3%] Built target equihash
[ 30%] Built target fc
[ 31%] Built target log_test
[ 32%] Built target ecc_test
[ 32%] Built target blinding_test
[ 33%] Built target hmac_test
[ 34%] Built target bloom_test
[ 39%] Built target all_tests
[ 40%] Built target real128_test
[ 41%] Built target bip_lock
[ 42%] Built target sha_test
[ 43%] Built target ntp_test
[ 44%] Built target task_cancel_test
[ 45%] Built target blind
[ 46%] Built target api
[ 46%] Built target steem_schema
[ 46%] Built target appbase
[ 47%] Built target appbase_example
[ 48%] Built target chainbase
[ 49%] Built target chainbase_test
[ 49%] Built target build_hardfork_hpp
[ 53%] Built target steem_protocol
[ 56%] Built target steem_chain
[ 58%] Built target graphene_net
[ 61%] Built target steem_utilities
[ 62%] Built target chain_plugin
[ 63%] Built target account_by_key_plugin
[ 64%] Built target account_history_plugin
[ 65%] Built target json_rpc_plugin
[ 65%] Built target account_by_key_api_plugin
[ 66%] Built target account_history_api_plugin
[ 67%] Built target block_api_plugin
[ 68%] Built target chain_api_plugin
[ 69%] Built target p2p_plugin
[ 70%] Built target witness_plugin
[ 71%] Built target database_api_plugin
[ 73%] Built target follow_plugin
[ 74%] Built target follow_api_plugin
[ 74%] Built target market_history_plugin
[ 75%] Built target market_history_api_plugin
[ 76%] Built target network_broadcast_api_plugin
[ 76%] Built target tags_plugin
[ 77%] Built target tags_api_plugin
[ 78%] Built target witness_api_plugin
[ 80%] Built target condenser_api_plugin
[ 81%] Built target debug_node_plugin
[ 81%] Built target debug_node_api_plugin
[ 82%] Built target test_api_plugin
[ 83%] Built target block_log_info_plugin
[ 84%] Built target smt_test_plugin
[ 85%] Built target webserver_plugin
[ 86%] Built target steem_plugins
[ 88%] Built target steem_wallet
[ 88%] Built target cat-parts
[ 88%] Linking CXX executable cli_wallet
Undefined symbols for architecture x86_64:
  "_rl_abort", referenced from:
      fc::rpc::cli_completion(char const*, int, int) in libfc_debug.a(cli.cpp.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/cli_wallet/cli_wallet] Error 1
make[1]: *** [programs/cli_wallet/CMakeFiles/cli_wallet.dir/all] Error 2
make: *** [all] Error 2
kenneth commented 6 years ago
[ 88%] Building CXX object programs/cli_wallet/CMakeFiles/cli_wallet.dir/main.cpp.o
In file included from /steemit/steem/programs/cli_wallet/main.cpp:43:
/steemit/steem/libraries/wallet/include/steem/wallet/wallet.hpp:918:7: warning: TODO: Supplement API
      argument description [-W#pragma-messages]
      FC_TODO(Supplement API argument description)
      ^
/steemit/steem/libraries/fc/include/fc/macros.hpp:33:22: note: expanded from macro 'FC_TODO'
#define FC_TODO(msg) DO_PRAGMA(message("TODO: " #msg))
                     ^
/steemit/steem/libraries/fc/include/fc/macros.hpp:17:22: note: expanded from macro 'DO_PRAGMA'
#define DO_PRAGMA(x) _Pragma (#x)
                     ^
<scratch space>:66:2: note: expanded from here
 message("TODO: " "Supplement API argument description")
 ^
1 warning generated.
[ 88%] Linking CXX executable cli_wallet
kenneth commented 6 years ago
/steemit/steem/libraries/fc/include/fc/static_variant.hpp:385:34: error: class template partial specialization is not more specialized than the primary
      template [-Winvalid-partial-specialization]
  template<typename... T> struct get_typename<T...>  { static const char* name()   { return typeid(static_variant<T...>).name();   } };
                                 ^
/steemit/steem/libraries/fc/include/fc/reflect/typename.hpp:18:30: note: template is declared here
  template<typename T> class get_typename{};
                             ^
1 error generated.