Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 52%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:45:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(ecrecover)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionecrecover(dev::bytesConstRef)’:
- /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>}’
- return {true, ret.asBytes()};
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:79:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(sha256)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionsha256(dev::bytesConstRef)’:
- /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>}’
- return {true, dev::sha256(_in).asBytes()};
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:84:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(ripemd160)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionripemd160(dev::bytesConstRef)’:
- /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>}’
- return {true, h256(dev::ripemd160(_in), h256::AlignRight).asBytes()};
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:89:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(identity)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionidentity(dev::bytesConstRef)’:
- /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>}’
- return {true, _in.toBytes()};
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:94:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(alt_bn128_pairing_product)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_pairing_product(dev::bytesConstRef)’:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:96:14: error: ‘dev::snark’ has not been declared
- return dev::snark::alt_bn128_pairing_product(_in);
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:99:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(alt_bn128_G1_add)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_G1_add(dev::bytesConstRef)’:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:101:14: error: ‘dev::snark’ has not been declared
- return dev::snark::alt_bn128_G1_add(_in);
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: At global scope:
- /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))’
- ic PrecompiledExecutor __eth_registerPrecompiledFactory ## Name = ::dev::eth::PrecompiledRegistrar::registerPrecompiled(#Name, &__eth_registerPrecompiledFunction ## Name); static b
- ^
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:103:1: note: in expansion of macro ‘ETH_REGISTER_PRECOMPILED’
- ETH_REGISTER_PRECOMPILED(alt_bn128_G1_mul)(bytesConstRef _in)
- ^
- In file included from /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:22:0:
- /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&)
- static PrecompiledExecutor registerPrecompiled(std::string const& _name, PrecompiledExecutor const& _exec) { return (get()->m_execs[_name] = _exec); }
- ^
- /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>)>&}’
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp: In function ‘dev::bytes {anonymous}::__eth_registerPrecompiledFunctionalt_bn128_G1_mul(dev::bytesConstRef)’:
- /home/user/Documents/Project/cpp-ethereum/libethcore/Precompiled.cpp:105:14: error: ‘dev::snark’ has not been declared
- return dev::snark::alt_bn128_G1_mul(_in);
- ^
- libethcore/CMakeFiles/ethcore.dir/build.make:230: recipe for target 'libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o' failed
- make[3]: *** [libethcore/CMakeFiles/ethcore.dir/Precompiled.cpp.o] Error 1
- make[3]: *** Waiting for unfinished jobs....
- [ 52%] Building CXX object libp2p/CMakeFiles/p2p.dir/Network.cpp.o
- CMakeFiles/Makefile2:645: recipe for target 'libethcore/CMakeFiles/ethcore.dir/all' failed
- make[2]: *** [libethcore/CMakeFiles/ethcore.dir/all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement