Skip to content

Instantly share code, notes, and snippets.

@programonauta
Created July 17, 2016 15:15
Show Gist options
  • Save programonauta/cdeb0fae48046c8ddcbd7daae7459c52 to your computer and use it in GitHub Desktop.
Save programonauta/cdeb0fae48046c8ddcbd7daae7459c52 to your computer and use it in GitHub Desktop.
$ cmake .. -DEVMJIT=1
-- The C compiler identification is GNU 4.9.2
-- The CXX compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- boost headers: /usr/include
-- boost lib : /usr/lib/x86_64-linux-gnu/libboost_thread.so;/usr/lib/x86_64-linux-gnu/libboost_date_time.so;/usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_regex.so;/usr/lib/x86_64-linux-gnu/libboost_chrono.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_unit_test_framework.so;/usr/lib/x86_64-linux-gnu/libboost_program_options.so;/usr/lib/x86_64-linux-gnu/libboost_random.so;/usr/lib/x86_64-linux-gnu/libboost_atomic.so
------------------------------------------------------------------------
-- Configuring cpp-ethereum
------------------------------------------------------------------------
-- CMake Version 3.5.2
-- CMAKE_BUILD_TYPE Build type RelWithDebInfo
-- TARGET_PLATFORM Target platform Linux
--------------------------------------------------------------- features
-- Hardware identification support
-- HTTP Request support
-- VMTRACE VM execution tracing OFF
-- PROFILING Profiling support OFF
-- FATDB Full database exploring ON
-- ROCKSDB Prefer rocksdb to leveldb OFF
-- OLYMPIC Default to the Olympic network OFF
-- PARANOID - OFF
-- MINIUPNPC - ON
------------------------------------------------------------- components
-- TESTS Build tests ON
-- ETHASHCL Build OpenCL components ON
-- EVMJIT Build LLVM-based JIT EVM ON
-- SOLIDITY Build Solidity ON
------------------------------------------------------------------------
-- Found jsoncpp: /usr/lib/libjsoncpp.so
-- JsonCpp headers: /usr/include/jsoncpp
-- JsonCpp lib : /usr/lib/libjsoncpp.so
-- Found leveldb: /usr/lib/x86_64-linux-gnu/libleveldb.so
-- LevelDB headers: /usr/include
-- LevelDB lib : /usr/lib/x86_64-linux-gnu/libleveldb.so
-- Found CryptoPP: /usr/local/include (found suitable version "5.6.3", minimum required is "5.6.2")
-- CryptoPP headers: /usr/local/include
-- CryptoPP lib : /usr/local/lib/libcryptopp.so
-- Found miniupnpc: /usr/lib/x86_64-linux-gnu/libminiupnpc.so
-- miniupnpc headers: /usr/include
-- miniupnpc lib : /usr/lib/x86_64-linux-gnu/libminiupnpc.so
-- Found json_rpc_cpp: /usr/local/include (found suitable version "0.6.0", minimum required is "0.4")
-- json-rpc-cpp headers: /usr/local/include
-- json-rpc-cpp lib : /usr/local/lib/libjsonrpccpp-common.so;/usr/local/lib/libjsonrpccpp-server.so;/usr/local/lib/libjsonrpccpp-client.so
-- Found CURL: /usr/lib/x86_64-linux-gnu/libcurl.so
-- curl headers: /usr/include
-- curl lib : /usr/lib/x86_64-linux-gnu/libcurl.so
-- Found mhd: /usr/lib/x86_64-linux-gnu/libmicrohttpd.so
-- microhttpd headers: /usr/include
-- microhttpd lib : /usr/lib/x86_64-linux-gnu/libmicrohttpd.so
-- jsonrpcstub location : /usr/local/bin/jsonrpcstub
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - not found
-- Looking for CL_VERSION_1_2
-- Looking for CL_VERSION_1_2 - found
-- Found OpenCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 (found version "1.2")
-- OpenCL headers: /usr/include
-- OpenCL lib : /usr/lib/x86_64-linux-gnu/libOpenCL.so.1
-- Cpuid headers: CPUID_INCLUDE_DIR-NOTFOUND
-- Cpuid lib : CPUID_LIBRARY-NOTFOUND
-- EVM JIT 0.9.0
-- test: ClientBase | --eth_testfile=BlockTests/bcJS_API_Test --eth_threads=1; --eth_testfile=BlockTests/bcJS_API_Test --eth_threads=3; --eth_testfile=BlockTests/bcJS_API_Test --eth_threads=10; --eth_testfile=BlockTests/bcValidBlockTest --eth_threads=1; --eth_testfile=BlockTests/bcValidBlockTest --eth_threads=3; --eth_testfile=BlockTests/bcValidBlockTest --eth_threads=10
-- test: JsonRpc | --eth_testfile=BlockTests/bcJS_API_Test; --eth_testfile=BlockTests/bcValidBlockTest
./overlaydb.cpp./memorydb.cpp./test.cpp./libdevcore/./FixedHash.cpp./libdevcore/./RangeMask.cpp./libdevcore/./Base36.cpp./libdevcore/./CommonJS.cpp./libdevcore/./rlp.cpp./libdevcore/./core.cpp./libdevcrypto/./crypto.cpp./libdevcrypto/./hexPrefix.cpp./libdevcrypto/./AES.cpp./libdevcrypto/./MemTrie.cpp./libdevcrypto/./trie.cpp./libdevcrypto/./SecretStore.cpp./libp2p/./net.cpp./libp2p/./rlpx.cpp./libp2p/./capability.cpp./libp2p/./peer.cpp./libp2p/./eip-8.cpp
-- Found gmp: /usr/lib/x86_64-linux-gnu/libgmp.so
-- Gmp headers: /usr/include/x86_64-linux-gnu
-- Gmp lib : /usr/lib/x86_64-linux-gnu/libgmp.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ricardo/cpp-ethereum/build
ricardo@debian:~/cpp-ethereum/build$ make
Scanning dependencies of target cpp-ethereum_BuildInfo.h
[ 0%] Built target cpp-ethereum_BuildInfo.h
Scanning dependencies of target secp256k1
[ 0%] Building C object utils/secp256k1/CMakeFiles/secp256k1.dir/secp256k1.c.o
[ 1%] Linking C static library libsecp256k1.a
[ 1%] Built target secp256k1
Scanning dependencies of target devcore
[ 1%] Building CXX object libdevcore/CMakeFiles/devcore.dir/MemoryDB.cpp.o
[ 1%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o
[ 2%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Guards.cpp.o
[ 2%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieHash.cpp.o
[ 2%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RangeMask.cpp.o
[ 3%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base64.cpp.o
[ 3%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Common.cpp.o
[ 4%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieCommon.cpp.o
[ 4%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Hash.cpp.o
[ 4%] Building CXX object libdevcore/CMakeFiles/devcore.dir/SHA3.cpp.o
[ 5%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonJS.cpp.o
[ 5%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TransientDirectory.cpp.o
[ 5%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FileSystem.cpp.o
[ 6%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o
[ 6%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o
[ 6%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o
[ 7%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o
[ 7%] Building CXX object libdevcore/CMakeFiles/devcore.dir/OverlayDB.cpp.o
[ 8%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Base58.cpp.o
[ 8%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o
[ 8%] Building CXX object libdevcore/CMakeFiles/devcore.dir/TrieDB.cpp.o
[ 9%] Linking CXX shared library libdevcore.so
[ 9%] Built target devcore
Scanning dependencies of target scrypt
[ 9%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/sha256.c.o
[ 10%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto-mcf.c.o
[ 10%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto-scrypt-saltgen.c.o
[ 11%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hexconvert.c.o
[ 11%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/slowequals.c.o
[ 11%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-nosse.c.o
[ 12%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/b64.c.o
[ 12%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-check.c.o
[ 12%] Building C object utils/libscrypt/CMakeFiles/scrypt.dir/crypto_scrypt-hash.c.o
[ 13%] Linking C shared library libscrypt.so
[ 13%] Built target scrypt
Scanning dependencies of target devcrypto
[ 13%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/AES.cpp.o
[ 13%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/WordList.cpp.o
[ 14%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/Common.cpp.o
[ 14%] Building CXX object libdevcrypto/CMakeFiles/devcrypto.dir/CryptoPP.cpp.o
In file included from /home/ricardo/cpp-ethereum/cryptopp/secblock.h:11:0,
from /home/ricardo/cpp-ethereum/cryptopp/iterhash.h:5,
from /home/ricardo/cpp-ethereum/cryptopp/sha.h:11,
from /home/ricardo/cpp-ethereum/libdevcrypto/CryptoPP.h:37,
from /home/ricardo/cpp-ethereum/libdevcrypto/CryptoPP.cpp:48:
/home/ricardo/cpp-ethereum/cryptopp/misc.h:1074:20: error: ‘std::string CryptoPP::StringNarrow(const wchar_t*, bool)’ defined but not used [-Werror=unused-function]
static std::string StringNarrow(const wchar_t *str, bool throwOnError = true)
^
cc1plus: all warnings being treated as errors
libdevcrypto/CMakeFiles/devcrypto.dir/build.make:134: recipe for target 'libdevcrypto/CMakeFiles/devcrypto.dir/CryptoPP.cpp.o' failed
make[2]: *** [libdevcrypto/CMakeFiles/devcrypto.dir/CryptoPP.cpp.o] Error 1
CMakeFiles/Makefile2:251: recipe for target 'libdevcrypto/CMakeFiles/devcrypto.dir/all' failed
make[1]: *** [libdevcrypto/CMakeFiles/devcrypto.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment