Advertisement
Guest User

Untitled

a guest
Feb 27th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 16.55 KB | None | 0 0
  1. [ 52%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o
  2. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  3. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [10], dev::bytes (*)(dev::bytesConstRef))
  4.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  5.                                                                                                                                                                           ^
  6. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:45:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  7.  ETH_REGISTER_PRECOMPILED(ecrecover)(bytesConstRef _in)
  8.  ^
  9. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  10. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  11.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  12.                              ^
  13. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  14. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionecrecover(dev::bytesConstRef)’:
  15. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:70:33: error: could not convert ‘{true, dev::FixedHash<N>::asBytes() const [with unsigned int N = 32u; dev::bytes = std::vector<unsigned char>]()}’ from ‘<brace-enclosed initializer list>’ to ‘dev::bytes {aka std::vector<unsigned char>}
  16.       return {true, ret.asBytes()};
  17.                                  ^
  18. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  19. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  20. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [7], dev::bytes (*)(dev::bytesConstRef))
  21.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  22.                                                                                                                                                                           ^
  23. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:79:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  24.  ETH_REGISTER_PRECOMPILED(sha256)(bytesConstRef _in)
  25.  ^
  26. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  27. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  28.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  29.                              ^
  30. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  31. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionsha256(dev::bytesConstRef)’:
  32. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:81:42: error: could not convert ‘{true, dev::FixedHash<N>::asBytes() const [with unsigned int N = 32u; dev::bytes = std::vector<unsigned char>]()}’ from ‘<brace-enclosed initializer list>’ to ‘dev::bytes {aka std::vector<unsigned char>}
  33.   return {true, dev::sha256(_in).asBytes()};
  34.                                           ^
  35. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  36. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  37. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [10], dev::bytes (*)(dev::bytesConstRef))
  38.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  39.                                                                                                                                                                           ^
  40. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:84:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  41.  ETH_REGISTER_PRECOMPILED(ripemd160)(bytesConstRef _in)
  42.  ^
  43. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  44. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  45.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  46.                              ^
  47. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  48. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionripemd160(dev::bytesConstRef)’:
  49. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:86:69: error: could not convert ‘{true, dev::FixedHash<N>::asBytes() const [with unsigned int N = 32u; dev::bytes = std::vector<unsigned char>]()}’ from ‘<brace-enclosed initializer list>’ to ‘dev::bytes {aka std::vector<unsigned char>}
  50.   return {true, h256(dev::ripemd160(_in), h256::AlignRight).asBytes()};
  51.                                                                      ^
  52. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  53. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  54. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [9], dev::bytes (*)(dev::bytesConstRef))
  55.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  56.                                                                                                                                                                           ^
  57. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:89:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  58.  ETH_REGISTER_PRECOMPILED(identity)(bytesConstRef _in)
  59.  ^
  60. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  61. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  62.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  63.                              ^
  64. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  65. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionidentity(dev::bytesConstRef)’:
  66. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:91:29: error: could not convert ‘{true, dev::vector_ref<_T>::toBytes() const [with _T = const unsigned char]()}’ from ‘<brace-enclosed initializer list>’ to ‘dev::bytes {aka std::vector<unsigned char>}
  67.   return {true, _in.toBytes()};
  68.                              ^
  69. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  70. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  71. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [26], dev::bytes (*)(dev::bytesConstRef))
  72.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  73.                                                                                                                                                                           ^
  74. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:94:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  75.  ETH_REGISTER_PRECOMPILED(alt_bn128_pairing_product)(bytesConstRef _in)
  76.  ^
  77. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  78. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  79.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  80.                              ^
  81. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  82. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_pairing_product(dev::bytesConstRef)’:
  83. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:96:14: error: ‘dev::snark’ has not been declared
  84.   return dev::snark::alt_bn128_pairing_product(_in);
  85.               ^
  86. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  87. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  88. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [17], dev::bytes (*)(dev::bytesConstRef))
  89.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  90.                                                                                                                                                                           ^
  91. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:99:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  92.  ETH_REGISTER_PRECOMPILED(alt_bn128_G1_add)(bytesConstRef _in)
  93.  ^
  94. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  95. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  96.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  97.                              ^
  98. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  99. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_G1_add(dev::bytesConstRef)’:
  100. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:101:14: error: ‘dev::snark’ has not been declared
  101.   return dev::snark::alt_bn128_G1_add(_in);
  102.               ^
  103. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  104. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
  105. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:57:288: error: no matching function for call to ‘dev::eth::PrecompiledRegistrar::registerPrecompiled(const char [17], dev::bytes (*)(dev::bytesConstRef))
  106.  ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
  107.                                                                                                                                                                           ^
  108. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:103:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
  109.  ETH_REGISTER_PRECOMPILED(alt_bn128_G1_mul)(bytesConstRef _in)
  110.  ^
  111. In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
  112. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note: candidate: static dev::eth::PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled(const string&, const PrecompiledExecutor&)
  113.   static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
  114.                              ^
  115. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.h:45:29: note:   no known conversion for argument 2 from ‘dev::bytes (*)(dev::bytesConstRef) {aka std::vector<unsigned char> (*)(dev::vector_ref<const unsigned char>)}’ to ‘const PrecompiledExecutor& {aka const std::function<std::pair<bool, std::vector<unsigned char> >(dev::vector_ref<const unsigned char>)>&}
  116. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_G1_mul(dev::bytesConstRef)’:
  117. /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:105:14: error: ‘dev::snark’ has not been declared
  118.   return dev::snark::alt_bn128_G1_mul(_in);
  119.               ^
  120. libethcore/CMakeFiles/ethcore.dir/build.make:230: recipe for target 'libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o' failed
  121. make[3]: *** [libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o] Error 1
  122. make[3]: *** Waiting for unfinished jobs....
  123. [ 52%] Building CXX object libp2p/CMakeFiles/p2p.dir/Network.cpp.o
  124. CMakeFiles/Makefile2:645: recipe for target 'libethcore/CMakeFiles/ethcore.dir/all' failed
  125. make[2]: *** [libethcore/CMakeFiles/ethcore.dir/all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement