Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » zenoh-c cross compilation on aarch64 poky linux
zenoh-c cross compilation on aarch64 poky linux [message #1862509] Fri, 08 December 2023 02:46
Eclipse UserFriend
Hi,

I am trying to compile zenoh-c source code using cross compiler for Poky Linux environment but it throws linking error. Please help me resolve on this.

nzyykr@udev-for-uplatform-development-only-v0:~/projects/uSpace/ultifi/zenoh-c/build$ cargo build
Compiling proc-macro2 v1.0.67
Compiling libc v0.2.148
Compiling serde v1.0.188
Compiling syn v1.0.109
Compiling futures-core v0.3.28
Compiling slab v0.4.9
Compiling ahash v0.8.3
error: could not exec the linker `aarch64-poky-linux-gcc`
|
= note: Permission denied (os error 13)
= note: LC_ALL="C" PATH="/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/bin:/home/nzyykr/bin:/home/nzyykr/.cargo/bin:/usr/share/Modules/bin:/usr/lib64/ccache:/root/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/cpptest:/usr/local/cpptest/bin" VSLANG="1033" "aarch64-poky-linux-gcc" "-m64" "/tmp/rustcviEPsl/symbols.o" "/home/nzyykr/projects/uSpace/ultifi/zenoh-c/target/debug/build/slab-7f6bb270d2df67a9/build_script_build-7f6bb270d2df67a9.build_script_build.d4b1142fbc85f0fc-cgu.0.rcgu.o" "/home/nzyykr/projects/uSpace/ultifi/zenoh-c/target/debug/build/slab-7f6bb270d2df67a9/build_script_build-7f6bb270d2df67a9.2cihdkw6pufst5jp.rcgu.o" "-Wl,--as-needed" "-L" "/home/nzyykr/projects/uSpace/ultifi/zenoh-c/target/debug/deps" "-L" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/nzyykr/projects/uSpace/ultifi/zenoh-c/target/debug/deps/libautocfg-95fddeba77b8019b.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-8f88c761e33f2651.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-f9018f9cee1cc5ff.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-919f89587cbed68d.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-c6624cb4360306cd.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-4930b3dc482158f7.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-65bea4bb6af40828.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bc6864da821ce9a2.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-1bccb7a942e1b311.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-356231f77d1e268a.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-80ed5799bf463787.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9c3df673b2797081.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-c6afbee8d1102512.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-682387162b570769.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-05a2cedbb78c1d4f.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-f002c8f83a289c4b.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-649be05783c8912e.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-13da980d6c74fec5.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-46a989d0e2cef827.rlib" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-b114db70ea0690b1.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/nzyykr/.rustup/toolchains/1.72.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/nzyykr/projects/uSpace/ultifi/zenoh-c/target/debug/build/slab-7f6bb270d2df67a9/build_script_build-7f6bb270d2df67a9" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"

Previous Topic:Multiple containers created on a build
Next Topic:can't format c++ code
Goto Forum:
  


Current Time: Sun Apr 27 20:17:05 EDT 2025

Powered by FUDForum. Page generated in 0.02701 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top