-
Notifications
You must be signed in to change notification settings - Fork 41
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
Get "-bash: ./test: No such file or directory" error on BeagleBone #54
Comments
Could you please give us the output from |
Yes, that's it thank you. But only the first part of my problem. The command
So I changed my target to
Now I'm stuck with the following message on my BeagleBone:
I'm going remain with version 0.2.2 for now. Thanks. |
in your initial [target.armv7-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
[target.armv7-unknown-linux-musleabihf]
linker = "arm-linux-musleabihf-gcc" to get the musl cross tooling you can either compile it yourself, find a pre-compiled package, or use cross which provides docker containers with the required tooling pre-installed.
|
When I use the below configuration and cross compile to ARMv7 I get the following error message on the BeagleBone:
debian@beaglebone:~$ ./test -bash: ./test: No such file or directory
When I use v0.2.2 of linux-embedded-hal or earlier I do not get this error. If I remove
extern crate linux_embedded_hal as hal;
from the code I do not get the error.Any ideas?
The code
src/main.rs
.cargo/config
Cargo.toml
To compile I use:
The text was updated successfully, but these errors were encountered: