ITADN

Artix Linux Build Error

#206OpenSUDOphedrine 创建于 2025-11-10
S
SUDOphedrinecommented
I am experiencing compilation errors attempting to build in Artix Linux, which is an Arch derivative. Here are the errors I receive building with the command "cmake .. -DENABLE_ALL=ON -DCMAKE_BUILD_TYPE=Release": > [ 17%] Built target XMLTOOLS_BLD-install > CMake Error at /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD-stamp/LIEF_BLD-build-Release.cmake:37 (message): > Command failed: 2 > > '/usr/bin/make' > > See also > > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD-stamp/LIEF_BLD-build-*.log > > > -- stdout output is: > [ 4%] Built target lief_mbed_tls > [ 8%] Built target lief_spdlog_project > [ 11%] Built target lief_frozen > [ 15%] Built target lief_expected > [ 19%] Built target lief_utfcpp > [ 22%] Built target lief_span > [ 22%] Building CXX object CMakeFiles/LIB_LIEF.dir/src/ObjC/objc.cpp.o > > -- stderr output is: > In file included from /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/IVar.hpp:18, > from /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/Class.hpp:18, > from /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/Metadata.hpp:18, > from /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/src/ObjC/objc.cpp:15: > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/Method.hpp:101:3: error: 'uintptr_t' does not name a type > 101 | uintptr_t address() const; > | ^~~~~~~~~ > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/Method.hpp:21:1: note: 'uintptr_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>' > 20 | #include <string> > +++ |+#include <cstdint> > 21 | > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/src/ObjC/objc.cpp:311:11: error: no declaration matches 'uintptr_t LIEF::objc::Method::address() const' > 311 | uintptr_t Method::address() const { > | ^~~~~~ > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/src/ObjC/objc.cpp:311:11: note: no functions named 'uintptr_t LIEF::objc::Method::address() const' > /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD/include/LIEF/ObjC/Method.hpp:31:16: note: 'class LIEF::objc::Method' defined here > 31 | class LIEF_API Method { > | ^~~~~~ > make[5]: *** [CMakeFiles/LIB_LIEF.dir/build.make:1200: CMakeFiles/LIB_LIEF.dir/src/ObjC/objc.cpp.o] Error 1 > make[4]: *** [CMakeFiles/Makefile2:630: CMakeFiles/LIB_LIEF.dir/all] Error 2 > make[3]: *** [Makefile:156: all] Error 2 > > CMake Error at /mnt/storage1/programs/brlcad/bext_build/lief/LIEF_BLD-prefix/src/LIEF_BLD-stamp/LIEF_BLD-build-Release.cmake:47 (message): > Stopping after outputting logs. > > > make[2]: *** [lief/CMakeFiles/LIEF_BLD-install.dir/build.make:83: lief/LIEF_BLD-prefix/src/LIEF_BLD-stamp/LIEF_BLD-build] Error 1 > make[1]: *** [CMakeFiles/Makefile2:1670: lief/CMakeFiles/LIEF_BLD-install.dir/all] Error 2 > make: *** [Makefile:91: all] Error 2 > CMake Error at misc/CMake/BRLCAD_Util.cmake:102 (_message): > Unable to successfully build bext dependency repository > Call Stack (most recent call first): > misc/CMake/BRLCAD_EXT_Setup.cmake:442 (message) > misc/CMake/BRLCAD_ExternalDeps.cmake:529 (brlcad_ext_setup) > CMakeLists.txt:2114 (brlcad_bext_process)
9 条评论