Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Ubuntu 18.04 Linux #20

Open
DoktorCranium opened this issue Oct 7, 2018 · 5 comments
Open

Build fails on Ubuntu 18.04 Linux #20

DoktorCranium opened this issue Oct 7, 2018 · 5 comments

Comments

@DoktorCranium
Copy link

Scanning dependencies of target obj_cryptonote_core
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
make[3]: Entering directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/blockchain.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_core.cpp.o
[ 35%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/tx_pool.cpp.o
[ 36%] Building CXX object src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o
In function ‘bool cryptonote::construct_miner_tx(size_t, size_t, uint64_t, size_t, uint64_t, const cryptonote::account_public_address&, cryptonote::transaction&, const blobdata&, size_t, uint8_t)’:
cc1plus: error: ‘void* __builtin_memset(void*, int, long unsigned int)’: specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Werror=stringop-overflow=]
cc1plus: all warnings being treated as errors
src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/build.make:134: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o' failed
make[3]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/cryptonote_tx_utils.cpp.o] Error 1
make[3]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
CMakeFiles/Makefile2:1259: recipe for target 'src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all' failed
make[2]: *** [src/cryptonote_core/CMakeFiles/obj_cryptonote_core.dir/all] Error 2
make[2]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:140: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/user/CRYPTO/MONEROV-NEW/monerov/build/release'
Makefile:64: recipe for target 'release-all' failed
make: *** [release-all] Error 2

@DoktorCranium
Copy link
Author

DoktorCranium commented Oct 7, 2018

root@panasonic:/home/user/CRYPTO/MONEROV-NEW/monerov# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu

Thread model: posix
gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)

@DoktorCranium
Copy link
Author

In case anybody else gets stuck on this with the new GCC compiler 7.3.0 this is what helps in the moverov directory

sed -i -e 's/-Werror//g' CMakeLists.txt

Lets you compile code
Reference : letheanVPN/blockchain-iz#10

@DoktorCranium
Copy link
Author

user@panasonic ~/CRYPTO/MONEROV-NEW/monerov/build/release/bin $ ./monerov-wallet-cli
This is the command line MoneroV wallet. It needs to connect to a monerov
daemon to work correctly.

MoneroV 'Hayek' (v0.13.0.0-master-f4e3d51)
Logging to ./monerov-wallet-cli.log

@reeyon
Copy link

reeyon commented Oct 8, 2018

try this
aeonix/aeon@fa9e54b

@DoktorCranium
Copy link
Author

Yes this fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants