Closed
Description
System: ubuntu
rustc: 1.34.2
Cargo.toml:
[package]
name = "example"
version = "0.1.0"
authors = ["Julian Gaal <...>"]
edition = "2018"
[dependencies]
mpu6050 = { path = "../" }
i2cdev = "0.4.1"
linux-embedded-hal = "0.2.2"
Error with command cargo build --release --target=armv7-unknown-linux-gnueabihf
:
error[E0425]: cannot find value `PTRACE_GETFPXREGS` in module `libc`
--> /home/julian/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.11.0/src/sys/ptrace.rs:77:9
|
77 | PTRACE_GETFPXREGS,
| ^^^^^^^^^^^^^^^^^
help: a constant with a similar name exists
|
77 | PTRACE_GETFPREGS,
| ^^^^^^^^^^^^^^^^
help: possible candidate is found in another module, you can import it into scope
|
3 | use sys::ptrace::Request::PTRACE_GETFPXREGS;
|
error[E0425]: cannot find value `PTRACE_SETFPXREGS` in module `libc`
--> /home/julian/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.11.0/src/sys/ptrace.rs:84:9
|
84 | PTRACE_SETFPXREGS,
| ^^^^^^^^^^^^^^^^^
help: a constant with a similar name exists
|
84 | PTRACE_SETFPREGS,
| ^^^^^^^^^^^^^^^^
help: possible candidate is found in another module, you can import it into scope
|
3 | use sys::ptrace::Request::PTRACE_SETFPXREGS;
|
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0425`.
error: Could not compile `nix`.
Not sure which this is more related to: nix or libc. Cheers
Metadata
Metadata
Assignees
Labels
No labels