-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Error with -ludev when cross compiling for ARMv7 #10274
Comments
According to #9750, this error is caused by a missing/misplaced libudev dependency (which might be libudev-dev in your package repository) |
The package libudev-dev is already installed on the system, because there was a previous error that got fixed by installing it. |
@TheVidoja here's all the dependencies afaict, you can probably just run these commands: Since you're cross compiling, you need the library for the architecture you're compiling to as well. |
@joshua-mir when I try and install the armhf library this happens:
I don't really know where to go from here. |
@TheVidoja from earlier in the dockerfile I linked above, you need to add source URLs for the architecture you're compiling to |
@TheVidoja I think you want this package (might a different track) if it works otherwise I think you need build it from source as @joshua-mir suggested. However, I now see that our docker image is broken for ubuntu arm which we need to fix! |
|
Parity Ethereum version: 2.2.7
Operating system: Linux
Installation: built from source
Description: When I try to cross-compile the source for Raspberry Pi (armv7), I get an error saying that "-ludev" couldn't be found. This error occurs at the very end of the compiling process
Expected behavior: The binaries get built correctly and work on a Raspberry Pi
Actual behavior: The compilation process ends with an error
cargo build --release --features final --target=armv7-unknown-linux-gnueabihf
The text was updated successfully, but these errors were encountered: