Skip to content

Compilation error when building for aarch64 #128

@ranjankumar23

Description

@ranjankumar23

Hello bytehound Team,
From README it looks to be best tool and i want to use it in my test.

I am getting compilation error. I need help.

rustup target add aarch64-unknown-linux-gnu
info: component 'rust-std' for target 'aarch64-unknown-linux-gnu' is up to date
:~/ranjan/bytehound$ CC='aarch64-linux-gnu-gcc' cargo build --target 'aarch64-unknown-linux-gnu' --release -p bytehound-preload
Compiling libc v0.2.126
Compiling cfg-if v1.0.0
Compiling unicode-ident v1.0.2
Compiling unicode-xid v0.1.0
error[E0463]: can't find crate for core
|
= note: the aarch64-unknown-linux-gnu target may not be installed
= help: consider downloading the target with rustup target add aarch64-unknown-linux-gnu

error[E0463]: can't find crate for compiler_builtins

For more information about this error, try rustc --explain E0463.
error: could not compile cfg-if (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error[E0432]: unresolved import ffi::c_void
--> /home/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.126/src/unix/mod.rs:1511:17
|
1511 | pub use ::ffi::c_void;
| ^^^^^^^^^^^^^

Some errors have detailed explanations: E0432, E0463.
For more information about an error, try rustc --explain E0432.
error: could not compile libc (lib) due to 3 previous errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions