-
Notifications
You must be signed in to change notification settings - Fork 116
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
local build ERROR #424
Comments
do you mean my local build or all project? |
the project is not abandoned. just the utxo fullnode has not received new features lately. which version of gcc do you use @code1010111 ? |
gcc -v 10.3.1 This project has the same functions as new-frontiers? @canguruhh |
new-frontiers is the virtual machine enabled chain. you can find the source here: https://github.com/mvs-org/new-frontiers this project here is the metaverse utxo ledger which is based on libbitcoin. it is still important for the project as it contains our avatars, digital asset and hybrid consensus layer. gcc 10 is too new i guess. @betachen merged a fix for gcc 10 some time ago but there might still be an issue with it. let me try it myself with a fresh setup |
what's the os type? ubuntu or something else. it looks a link error caused by system env. |
How do the two chains of atp and dna work? Are they waiting for the new frontier to close before they can be put into operation? |
result
|
Hi @galiy, It's highly recommend that building Metaverse core files(mvsd/mvs-cli) with ubuntu20.04. However, I had fixed these issues under GCC11, the diff as below:
copy above content then save it as |
Metaverse is a fork of Bitcoin core with slight modifications in the Proof of Work logic. I've built Bitcoin core with success on Ubuntu 20.4 by following these steps: PS: The video serves to show how to build Bitcoin core on Linux, by offering a step-by-step guide based on this build guide on Ubuntu:
|
Hi! Thanks, it's almost good! But there was one error. At the very end, when building.
|
Building CXX object src/lib/bitcoin/CMakeFiles/bitcoin_shared.dir/message/header_message.cpp.o
cd /home/zah/RPM/metaverse/build/src/lib/bitcoin && /usr/bin/c++ -DBC_DLL=1 -DBC_STATIC=1 -Dbitcoin_shared_EXPORTS -I/home/zah/RPM/metaverse/contrib -I/home/zah/RPM/metaverse/include -I/home/zah/RPM/metaverse/src/lib/consensus/clone -std=c++14 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -Wno-type-limits -Wno-deprecated-declarations -Werror -pthread -fno-enforce-eh-specs -fnothrow-opt -Wno-reorder -Wno-ignored-qualifiers -Wno-unused-function -Wno-unused-but-set-variable -Wno-sign-compare -Wno-unused-but-set-parameter -Wno-implicit-fallthrough -Wno-parentheses -O2 -DNDEBUG -fPIC -o CMakeFiles/bitcoin_shared.dir/message/header_message.cpp.o -c /home/zah/RPM/metaverse/src/lib/bitcoin/message/header_message.cpp
/usr/bin/ld.default: ../../../lib/libethash.a(internal.c.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld.default: ../../../lib/libethash.a(io_posix.c.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld.default: ../../../lib/libethash.a(sha3.c.o): relocation R_X86_64_32S against
.rodata' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld.default: ../../../lib/libethash.a(io.c.o): relocation R_X86_64_32 against
.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC/usr/bin/ld.default: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [src/lib/consensus/CMakeFiles/consensus_shared.dir/build.make:487: lib/libmvs_consensus.so] Error 1
make[2]: Leaving directory '/home/zah/RPM/metaverse/build'
make[1]: *** [CMakeFiles/Makefile2:945: src/lib/consensus/CMakeFiles/consensus_shared.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered: