Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error when building for aarch64 #128

Open
ranjankumar23 opened this issue Dec 2, 2024 · 0 comments
Open

Compilation error when building for aarch64 #128

ranjankumar23 opened this issue Dec 2, 2024 · 0 comments

Comments

@ranjankumar23
Copy link

ranjankumar23 commented Dec 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant