eth fails to build on Gentoo Linux with CommonIO.cpp error

I'm on Gentoo Linux and I'm configuring with:

cmake .. -DCMAKE_BUILD_TYPE=Release -DBUNDLE=minimal -DETHASHCL=0 -DEVMJIT=0 -DMINER=0

I want to be able to move the eth currency/token. Any ideas?

[ 13%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonIO.cpp.o
In file included from /root/cpp-ethereum/libdevcore/CommonIO.h:39:0,
from /root/cpp-ethereum/libdevcore/CommonIO.cpp:22:
/root/cpp-ethereum/libdevcore/Common.h:87:2: error: unused parameter '_c' [-Werror=unused-parameter]
secure_vector(secure_vector const& _c) = default;
^
/root/cpp-ethereum/libdevcore/CommonIO.cpp: In function 'dev::bytesSec dev::contentsSec(const string&)':
/root/cpp-ethereum/libdevcore/CommonIO.cpp:99:9: note: synthesized method 'dev::secure_vector::secure_vector(const dev::secure_vector&) [with T = unsigned char]' first required here
return ret;
^

Comments

  • ethereumrocksethereumrocks Member Posts: 6
    Any ideas? I'm dead in the water.
  • ethereumrocksethereumrocks Member Posts: 6
    I was able to get around this by removing -Werror from cmake/EthCompilerSettings.cmake Otherwise there are 14 files to remove -Werror from after running cmake:

    libdevcore/CMakeFiles/devcore.dir/flags.make
    libdevcrypto/CMakeFiles/devcrypto.dir/flags.make
    libethcore/CMakeFiles/ethcore.dir/flags.make
    libevm/CMakeFiles/evm.dir/flags.make
    libp2p/CMakeFiles/p2p.dir/flags.make
    libwhisper/CMakeFiles/whisper.dir/flags.make
    libethereum/CMakeFiles/ethereum.dir/flags.make
    libwebthree/CMakeFiles/webthree.dir/flags.make
    libweb3jsonrpc/CMakeFiles/web3jsonrpc.dir/flags.make
    ethminer/CMakeFiles/ethminer.dir/flags.make
    ethkey/CMakeFiles/ethkey.dir/flags.make
    abi/CMakeFiles/abi.dir/flags.make
    ethvm/CMakeFiles/ethvm.dir/flags.make
    eth/CMakeFiles/eth.dir/flags.make

    Here's my cmake:

    cmake .. -DCMAKE_BUILD_TYPE=Release -DBUNDLE=minimal -DETHASHCL=0 -DEVMJIT=0 -DJSCONSOLE=0
Sign In or Register to comment.