Created
March 18, 2025 21:11
-
-
Save m0veax/b6dff6d36d5fe1fe31456ca2ab280ba3 to your computer and use it in GitHub Desktop.
cross compile rayhunter error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯❯ cargo build --release --target="armv7-unknown-linux-gnueabihf" | |
Compiling proc-macro2 v1.0.78 | |
Compiling unicode-ident v1.0.12 | |
Compiling autocfg v1.1.0 | |
Compiling libc v0.2.155 | |
Compiling cfg-if v1.0.0 | |
Compiling memchr v2.7.1 | |
Compiling log v0.4.20 | |
Compiling lock_api v0.4.11 | |
Compiling serde v1.0.197 | |
Compiling quote v1.0.35 | |
Compiling scopeguard v1.2.0 | |
Compiling syn v2.0.50 | |
Compiling pin-project-lite v0.2.13 | |
Compiling smallvec v1.13.1 | |
Compiling bytes v1.5.0 | |
Compiling slab v0.4.9 | |
Compiling syn v1.0.109 | |
Compiling futures-core v0.3.30 | |
Compiling parking_lot_core v0.9.9 | |
Compiling futures-sink v0.3.30 | |
Compiling itoa v1.0.10 | |
Compiling radium v0.7.0 | |
Compiling futures-channel v0.3.30 | |
Compiling num-traits v0.2.18 | |
Compiling pin-utils v0.1.0 | |
Compiling once_cell v1.19.0 | |
Compiling futures-task v0.3.30 | |
Compiling futures-io v0.3.30 | |
Compiling parking_lot v0.12.1 | |
Compiling num_cpus v1.16.0 | |
Compiling socket2 v0.5.5 | |
Compiling mio v0.8.11 | |
Compiling signal-hook-registry v1.4.1 | |
Compiling crossbeam-utils v0.8.20 | |
Compiling thiserror v1.0.57 | |
Compiling tracing-core v0.1.32 | |
Compiling serde_derive v1.0.197 | |
Compiling futures-macro v0.3.30 | |
Compiling tokio-macros v2.2.0 | |
Compiling thiserror-impl v1.0.57 | |
Compiling futures-util v0.3.30 | |
Compiling tokio v1.36.0 | |
Compiling crossbeam-epoch v0.9.18 | |
Compiling simd-adler32 v0.3.7 | |
Compiling version_check v0.9.4 | |
Compiling fnv v1.0.7 | |
Compiling rayon-core v1.12.1 | |
Compiling rustversion v1.0.14 | |
Compiling http v1.0.0 | |
Compiling unicase v2.7.0 | |
Compiling crossbeam-deque v0.8.5 | |
Compiling tracing v0.1.40 | |
Compiling hashbrown v0.14.3 | |
Compiling tap v1.0.1 | |
Compiling equivalent v1.0.1 | |
Compiling utf8parse v0.2.1 | |
Compiling anstyle-parse v0.2.3 | |
Compiling indexmap v2.2.3 | |
Compiling wyz v0.5.1 | |
Compiling num-integer v0.1.46 | |
Compiling aho-corasick v1.1.2 | |
Compiling regex-syntax v0.8.2 | |
Compiling adler v1.0.2 | |
Compiling byteorder v1.5.0 | |
Compiling anyhow v1.0.86 | |
Compiling colorchoice v1.0.0 | |
Compiling async-trait v0.1.77 | |
Compiling either v1.12.0 | |
Compiling ident_case v1.0.1 | |
Compiling strsim v0.10.0 | |
Compiling anstyle-query v1.0.2 | |
Compiling funty v2.0.0 | |
Compiling anstyle v1.0.6 | |
Compiling anstream v0.6.12 | |
Compiling bitvec v1.0.1 | |
Compiling darling_core v0.14.4 | |
Compiling regex-automata v0.4.5 | |
Compiling miniz_oxide v0.7.2 | |
Compiling num-bigint v0.4.5 | |
Compiling http-body v1.0.0 | |
Compiling httparse v1.8.0 | |
Compiling heck v0.4.1 | |
Compiling aligned-vec v0.5.0 | |
Compiling arrayvec v0.7.4 | |
Compiling built v0.7.3 | |
Compiling clap_lex v0.7.0 | |
Compiling toml_datetime v0.6.5 | |
Compiling winnow v0.5.40 | |
Compiling lazy_static v1.4.0 | |
Compiling paste v1.0.15 | |
Compiling strsim v0.11.0 | |
Compiling minimal-lexical v0.2.1 | |
Compiling toml_edit v0.19.15 | |
Compiling nom v7.1.3 | |
Compiling clap_builder v4.5.2 | |
Compiling rav1e v0.7.1 | |
Compiling v_frame v0.3.8 | |
Compiling clap_derive v4.5.0 | |
Compiling regex v1.10.3 | |
Compiling num-rational v0.4.2 | |
Compiling darling_macro v0.14.4 | |
Compiling rayon v1.10.0 | |
Compiling tokio-util v0.7.10 | |
Compiling profiling-procmacros v1.0.15 | |
Compiling is-terminal v0.4.12 | |
Compiling crc32fast v1.4.2 | |
Compiling bitflags v2.6.0 | |
Compiling bytemuck v1.16.0 | |
Compiling cc v1.0.86 | |
Compiling atomic-waker v1.1.2 | |
Compiling termcolor v1.4.1 | |
Compiling pkg-config v0.3.30 | |
Compiling humantime v2.1.0 | |
Compiling proc-macro-crate v1.3.1 | |
Compiling libusb1-sys v0.6.4 | |
Compiling env_logger v0.10.2 | |
Compiling asn1-codecs v0.6.1 | |
Compiling h2 v0.4.5 | |
Compiling profiling v1.0.15 | |
Compiling flate2 v1.0.30 | |
Compiling maybe-rayon v0.1.1 | |
Compiling darling v0.14.4 | |
Compiling clap v4.5.2 | |
Compiling av1-grain v0.2.3 | |
Compiling itertools v0.12.1 | |
Compiling byteorder_slice v3.0.0 | |
Compiling axum-core v0.4.3 | |
Compiling derive-into-owned v0.2.0 | |
Compiling num-derive v0.4.2 | |
Compiling arg_enum_proc_macro v0.3.4 | |
Compiling pin-project-internal v1.1.4 | |
Compiling spin v0.9.8 | |
Compiling simd_helpers v0.1.0 | |
Compiling time-core v0.1.2 | |
Compiling imgref v1.10.1 | |
Compiling weezl v0.1.8 | |
Compiling tower-layer v0.3.2 | |
Compiling serde_json v1.0.114 | |
Compiling powerfmt v0.2.0 | |
Compiling percent-encoding v2.3.1 | |
Compiling tower-service v0.3.2 | |
Compiling rustix v0.38.34 | |
Compiling httpdate v1.0.3 | |
Compiling new_debug_unreachable v1.0.6 | |
Compiling mime v0.3.17 | |
Compiling bitstream-io v2.3.0 | |
Compiling topological-sort v0.2.2 | |
Compiling noop_proc_macro v0.3.0 | |
Compiling ryu v1.0.17 | |
Compiling num-conv v0.1.0 | |
Compiling time-macros v0.2.19 | |
Compiling asn1-compiler v0.6.1 | |
Compiling hyper v1.2.0 | |
Compiling form_urlencoded v1.2.1 | |
Compiling deranged v0.3.11 | |
Compiling pin-project v1.1.4 | |
Compiling loop9 v0.1.5 | |
Compiling flume v0.11.0 | |
Compiling pcap-file v2.0.0 | |
Compiling deku_derive v0.16.0 | |
Compiling mime_guess v2.0.4 | |
Compiling asn1_codecs_derive v0.6.1 | |
warning: [email protected]: Failed to run: "arm-linux-gnueabihf-gcc" "--version" | |
error: failed to run custom build command for `libusb1-sys v0.6.4` | |
Caused by: | |
process didn't exit successfully: `/home/m0veax/repos/rayhunter-tplink-m7350/target/release/build/libusb1-sys-77031467ccef6d4b/build-script-build` (exit status: 1) | |
--- stdout | |
cargo:rerun-if-env-changed=LIBUSB_STATIC | |
cargo:vendored=1 | |
cargo:static=1 | |
cargo:include=/home/m0veax/repos/rayhunter-tplink-m7350/target/armv7-unknown-linux-gnueabihf/release/build/libusb1-sys-d32536a44d2b2be2/out/include | |
cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7-unknown-linux-gnueabihf | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7_unknown_linux_gnueabihf | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS | |
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS | |
cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-gnueabihf | |
cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_gnueabihf | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-gnueabihf | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_gnueabihf | |
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR | |
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR | |
Including posix! | |
TARGET = Some("armv7-unknown-linux-gnueabihf") | |
OPT_LEVEL = Some("3") | |
HOST = Some("x86_64-unknown-linux-gnu") | |
cargo:rerun-if-env-changed=CC_armv7-unknown-linux-gnueabihf | |
CC_armv7-unknown-linux-gnueabihf = None | |
cargo:rerun-if-env-changed=CC_armv7_unknown_linux_gnueabihf | |
CC_armv7_unknown_linux_gnueabihf = None | |
cargo:rerun-if-env-changed=TARGET_CC | |
TARGET_CC = None | |
cargo:rerun-if-env-changed=CC | |
CC = None | |
RUSTC_LINKER = Some("arm-linux-gnueabihf-gcc") | |
cargo:rerun-if-env-changed=CROSS_COMPILE | |
CROSS_COMPILE = None | |
running: "arm-linux-gnueabihf-gcc" "--version" | |
cargo:warning=Failed to run: "arm-linux-gnueabihf-gcc" "--version" | |
cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS | |
CRATE_CC_NO_DEFAULTS = None | |
DEBUG = Some("false") | |
CARGO_CFG_TARGET_FEATURE = Some("crt-static") | |
cargo:rerun-if-env-changed=CFLAGS_armv7-unknown-linux-gnueabihf | |
CFLAGS_armv7-unknown-linux-gnueabihf = None | |
cargo:rerun-if-env-changed=CFLAGS_armv7_unknown_linux_gnueabihf | |
CFLAGS_armv7_unknown_linux_gnueabihf = None | |
cargo:rerun-if-env-changed=TARGET_CFLAGS | |
TARGET_CFLAGS = None | |
cargo:rerun-if-env-changed=CFLAGS | |
CFLAGS = None | |
running: "arm-linux-gnueabihf-gcc" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-static" "-march=armv7-a" "-mfpu=vfpv3-d16" "-I" "/home/m0veax/repos/rayhunter-tplink-m7350/target/armv7-unknown-linux-gnueabihf/release/build/libusb1-sys-d32536a44d2b2be2/out/include" "-I" "libusb/libusb" "-Wall" "-Wextra" "-DPRINTF_FORMAT(a, b)=" "-DENABLE_LOGGING=1" "-DOS_LINUX=1" "-DHAVE_ASM_TYPES_H=1" "-D_GNU_SOURCE=1" "-DHAVE_TIMERFD=1" "-DHAVE_EVENTFD=1" "-DHAVE_SYS_TIME_H=1" "-DHAVE_NFDS_T=1" "-DPLATFORM_POSIX=1" "-DHAVE_CLOCK_GETTIME=1" "-DDEFAULT_VISIBILITY=__attribute__((visibility(\"default\")))" "-o" "/home/m0veax/repos/rayhunter-tplink-m7350/target/armv7-unknown-linux-gnueabihf/release/build/libusb1-sys-d32536a44d2b2be2/out/0e3aad1164bcc6fc-linux_netlink.o" "-c" "libusb/libusb/os/linux_netlink.c" | |
--- stderr | |
error occurred: Failed to find tool. Is `arm-linux-gnueabihf-gcc` installed? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment