libudev problems
It fails to compile with: /usr/lib/libudev.so: file not recognized: File format not recognized
cargo build --target=armv7-unknown-linux-gnueabihf Any idea of how to solve that ?
My cargo file
[dependencies]
clap = "2.31.2"
libc = "0.2.*"
mio = "0.6"
mio-serial = "3.*"
serialport = "3.*"
Need a bit more information, but it looks like maybe you're trying to cross compile and it's trying to link against libudev.so on the host instead of the target?
I can't speak to @patrickelectric, but I have been having that same issue. I think you are right about the cause, how do I make it link against libudev.so on the target? I am targeting the same toolchain as patrick.
I dont remember right now what I did to fix, but for now I'm using musl.