Skip to content

build failed on the alpine(3.20.3) #10174

@popeye2022

Description

@popeye2022

execute make release-static -j $(nproc)

error message
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../common/libcommon.a(stack_trace.cpp.o): in function tools::log_stack_trace(char const*) [clone .localalias]':
stack_trace.cpp:(.text+0x8a5): undefined reference to el::base::debug::StackTrace::generateNew()' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: stack_trace.cpp:(.text+0x8b0): undefined reference to el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)'
collect2: error: ld returned 1 exit status
gmake[3]: *** [src/gen_ssl_cert/CMakeFiles/gen_ssl_cert.dir/build.make:123: bin/monero-gen-ssl-cert] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:3416: src/gen_ssl_cert/CMakeFiles/gen_ssl_cert.dir/all] Error 2
gmake[2]: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../common/libcommon.a(stack_trace.cpp.o): in function tools::log_stack_trace(char const*) [clone .localalias]': stack_trace.cpp:(.text+0x8a5): undefined reference to el::base::debug::StackTrace::generateNew()'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: stack_trace.cpp:(.text+0x8b0): undefined reference to el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)' collect2: error: ld returned 1 exit status gmake[3]: *** [src/blockchain_utilities/CMakeFiles/blockchain_usage.dir/build.make:138: bin/monero-blockchain-usage] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:3703: src/blockchain_utilities/CMakeFiles/blockchain_usage.dir/all] Error 2 /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../common/libcommon.a(stack_trace.cpp.o): in function tools::log_stack_trace(char const*) [clone .localalias]':
stack_trace.cpp:(.text+0x8a5): undefined reference to el::base::debug::StackTrace::generateNew()' /usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: stack_trace.cpp:(.text+0x8b0): undefined reference to el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)'
collect2: error: ld returned 1 exit status
gmake[3]: *** [src/blockchain_utilities/CMakeFiles/blockchain_export.dir/build.make:170: bin/monero-blockchain-export] Error 1
gmake[2]: *** [CMakeFiles/Makefile2:3613: src/blockchain_utilities/CMakeFiles/blockchain_export.dir/all] Error 2
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: ../common/libcommon.a(stack_trace.cpp.o): in function tools::log_stack_trace(char const*) [clone .localalias]': stack_trace.cpp:(.text+0x8a5): undefined reference to el::base::debug::StackTrace::generateNew()'
/usr/lib/gcc/x86_64-alpine-linux-musl/13.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: stack_trace.cpp:(.text+0x8b0): undefined reference to el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)' collect2: error: ld returned 1 exit status gmake[3]: *** [src/blockchain_utilities/CMakeFiles/blockchain_import.dir/build.make:171: bin/monero-blockchain-import] Error 1 gmake[2]: *** [CMakeFiles/Makefile2:3571: src/blockchain_utilities/CMakeFiles/blockchain_import.dir/all] Error 2 gmake[1]: *** [Makefile:146: all] Error 2 gmake[1]: Leaving directory '/opt/monero/build/Linux/master/release' make: *** [Makefile:95: release-static] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions