Make Error when "Linking CXX executable ethconsole"

ZoidbergasZoidbergas Member Posts: 6
Scanning dependencies of target BuildInfo.h
Scanning dependencies of target evmjit
Scanning dependencies of target secp256k1
Scanning dependencies of target devcore
[ 1%] Building CXX object libdevcore/CMakeFiles/devcore.dir/StructuredLogger.cpp.o
[ 1%] Building C object secp256k1/CMakeFiles/secp256k1.dir/secp256k1.c.o
[ 1%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/JIT.cpp.o
Files "/home/main/cpp-ethereum/BuildInfo.h.tmp" to "/home/main/cpp-ethereum/BuildInfo.h" are different.
[ 1%] Built target BuildInfo.h
Scanning dependencies of target scrypt
[ 1%] Building C object libscrypt/CMakeFiles/scrypt.dir/sha256.c.o
[ 1%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hash.c.o
[ 2%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-check.c.o
[ 2%] Building C object libscrypt/CMakeFiles/scrypt.dir/b64.c.o
[ 2%] Building C object libscrypt/CMakeFiles/scrypt.dir/slowequals.c.o
[ 3%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto-mcf.c.o
[ 3%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-nosse.c.o
[ 3%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto-scrypt-saltgen.c.o
[ 4%] Building C object libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hexconvert.c.o
[ 4%] Linking C shared library libscrypt.so
[ 4%] Built target scrypt
[ 4%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/JIT-c.cpp.o
[ 4%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Arith256.cpp.o
[ 5%] Linking C shared library libsecp256k1.so
[ 5%] Built target secp256k1
[ 6%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Array.cpp.o
[ 6%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/BasicBlock.cpp.o
[ 6%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Cache.cpp.o
[ 7%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Compiler.cpp.o
[ 7%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/CompilerHelper.cpp.o
[ 7%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RangeMask.cpp.o
[ 7%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o
[ 7%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Endianness.cpp.o
[ 8%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/ExecStats.cpp.o
[ 8%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Ext.cpp.o
[ 8%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/GasMeter.cpp.o
[ 9%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Instruction.cpp.o
[ 9%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Memory.cpp.o
[ 9%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Optimizer.cpp.o
[ 10%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieDB.cpp.o
[ 10%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/RuntimeManager.cpp.o
[ 11%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Stack.cpp.o
[ 11%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Type.cpp.o
[ 11%] Building CXX object evmjit/libevmjit/CMakeFiles/evmjit.dir/Utils.cpp.o
[ 11%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FileSystem.cpp.o
[ 11%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Common.cpp.o
[ 12%] Linking CXX shared library libevmjit.so
[ 12%] Built target evmjit
[ 12%] Generating NatspecResources.hpp
Files "/home/main/cpp-ethereum/libnatspec/NatspecResources.hpp.tmp" to "/home/main/cpp-ethereum/libnatspec/NatspecResources.hpp" are different.
Scanning dependencies of target natspec
[ 13%] Building CXX object libnatspec/CMakeFiles/natspec.dir/NatspecExpressionEvaluator.cpp.o
[ 13%] Linking CXX shared library libnatspec.so
[ 13%] Built target natspec
Scanning dependencies of target ethash
[ 13%] Building C object libethash/CMakeFiles/ethash.dir/io.c.o
[ 14%] Building C object libethash/CMakeFiles/ethash.dir/internal.c.o
[ 14%] Building C object libethash/CMakeFiles/ethash.dir/io_posix.c.o
[ 14%] Building CXX object libethash/CMakeFiles/ethash.dir/sha3_cryptopp.cpp.o
[ 15%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Hash.cpp.o
[ 16%] Linking CXX shared library libethash.so
[ 16%] Built target ethash
Scanning dependencies of target Sentinel.jsonstub
[ 16%] Built target Sentinel.jsonstub
Scanning dependencies of target minerphonehome.jsonstub
[ 16%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Guards.cpp.o
[ 16%] Built target minerphonehome.jsonstub
[ 16%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieHash.cpp.o
[ 17%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TransientDirectory.cpp.o
[ 17%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base64.cpp.o
[ 17%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o
Scanning dependencies of target minerfarm.jsonstub
[ 17%] Built target minerfarm.jsonstub
[ 17%] Building CXX object libdevcore/CMakeFiles/devcore.dir/MemoryDB.cpp.o
[ 18%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieCommon.cpp.o
[ 18%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o
[ 18%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o
[ 19%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o
[ 19%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonJS.cpp.o
[ 19%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o
[ 20%] Building CXX object libdevcore/CMakeFiles/devcore.dir/SHA3.cpp.o
Scanning dependencies of target jsonrpcstub
Files "/home/main/cpp-ethereum/webthree/src/libweb3jsonrpc/AbstractWebThreeStubServer.h.tmp" to "/home/main/cpp-ethereum/webthree/src/libweb3jsonrpc/AbstractWebThreeStubServer.h" are different.
[ 20%] Built target jsonrpcstub
Scanning dependencies of target evmjit-cpp
[ 20%] Building CXX object evmjit/libevmjit-cpp/CMakeFiles/evmjit-cpp.dir/Env.cpp.o
[ 20%] Building CXX object evmjit/libevmjit-cpp/CMakeFiles/evmjit-cpp.dir/JitVM.cpp.o
[ 20%] Generating JSEngineResources.hpp
Files "/home/main/cpp-ethereum/libjsengine/JSEngineResources.hpp.tmp" to "/home/main/cpp-ethereum/libjsengine/JSEngineResources.hpp" are different.
Scanning dependencies of target jsengine
[ 20%] Building CXX object libjsengine/CMakeFiles/jsengine.dir/JSPrinter.cpp.o
[ 21%] Building CXX object libjsengine/CMakeFiles/jsengine.dir/JSV8Engine.cpp.o
[ 21%] Building CXX object libjsengine/CMakeFiles/jsengine.dir/JSV8Printer.cpp.o
[ 21%] Linking CXX shared library libdevcore.so
[ 21%] Built target devcore
[ 21%] Generating OpenCL Kernel Byte Array
Scanning dependencies of target ethash-cl
[ 21%] Building CXX object libethash-cl/CMakeFiles/ethash-cl.dir/ethash_cl_miner.cpp.o
[ 21%] Building CXX object libjsengine/CMakeFiles/jsengine.dir/JSV8RPC.cpp.o
[ 22%] Building CXX object libjsengine/CMakeFiles/jsengine.dir/JSEngine.cpp.o
[ 22%] Linking CXX shared library libjsengine.so
[ 22%] Built target jsengine
Scanning dependencies of target evmcore
Scanning dependencies of target jsconsole
[ 22%] Building CXX object libevmcore/CMakeFiles/evmcore.dir/Instruction.cpp.o
[ 22%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/CURLRequest.cpp.o
[ 22%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/JSLocalConsole.cpp.o
[ 22%] Linking CXX shared library libethash-cl.so
[ 22%] Built target ethash-cl
Scanning dependencies of target devcrypto
[ 22%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/CryptoPP.cpp.o
[ 23%] Linking CXX static library libevmjit-cpp.a
[ 23%] Built target evmjit-cpp
[ 24%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/WordList.cpp.o
[ 25%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/JSConsole.cpp.o
[ 25%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/Common.cpp.o
[ 25%] Building CXX object libevmcore/CMakeFiles/evmcore.dir/Params.cpp.o
[ 25%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/JSV8Connector.cpp.o
[ 25%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/JSRemoteConsole.cpp.o
[ 25%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/SecretStore.cpp.o
[ 26%] Linking CXX shared library libevmcore.so
[ 26%] Built target evmcore
Scanning dependencies of target evmasm
[ 26%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/PathGasMeter.cpp.o
[ 26%] Building CXX object libjsconsole/CMakeFiles/jsconsole.dir/JSV8RemoteConnector.cpp.o
[ 27%] Linking CXX shared library libjsconsole.so
[ 27%] Built target jsconsole
Scanning dependencies of target ethconsole
[ 28%] Building CXX object ethconsole/CMakeFiles/ethconsole.dir/main.cpp.o
[ 28%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/AES.cpp.o
[ 29%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/AssemblyItem.cpp.o
[ 29%] Linking CXX executable ethconsole
../libjsconsole/libjsconsole.so: error: undefined reference to 'jsonrpc::AbstractServerConnector::AbstractServerConnector()'
../libjsconsole/libjsconsole.so: error: undefined reference to 'jsonrpc::AbstractServerConnector::~AbstractServerConnector()'
../libjsconsole/libjsconsole.so: error: undefined reference to 'jsonrpc::AbstractServerConnector::OnRequest(std::string const&, void*)'
../libjsconsole/libjsconsole.so: error: undefined reference to 'typeinfo for jsonrpc::AbstractServerConnector'
collect2: error: ld returned 1 exit status
make[2]: *** [ethconsole/ethconsole] Error 1
make[1]: *** [ethconsole/CMakeFiles/ethconsole.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 29%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/SemanticInformation.cpp.o
[ 30%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/OverlayDB.cpp.o
[ 30%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/CommonSubexpressionEliminator.cpp.o
[ 30%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/ECDHE.cpp.o
[ 30%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/KnownState.cpp.o
[ 31%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/GasMeter.cpp.o
[ 31%] Linking CXX shared library libdevcrypto.so
[ 31%] Built target devcrypto
[ 31%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/ControlFlowGraph.cpp.o
[ 31%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/ConstantOptimiser.cpp.o
[ 32%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/BlockDeduplicator.cpp.o
[ 32%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/Assembly.cpp.o
[ 32%] Building CXX object libevmasm/CMakeFiles/evmasm.dir/ExpressionClasses.cpp.o
[ 33%] Linking CXX shared library libevmasm.so
[ 33%] Built target evmasm
make: *** [all] Error 2
Sign In or Register to comment.