Skip to content

local build ERROR #424

Description

@code1010111

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions