hid4java icon indicating copy to clipboard operation
hid4java copied to clipboard

Linux build linux-armel is failing

Open tresf opened this issue 3 years ago • 0 comments

Running ./build-hidapi.sh linux-armel results in an error.

  • When running this build an error occurs stating that claims a header is missing.
    hid.c:44:10: fatal error: libudev.h: No such file or directory
    44 | #include <libudev.h>
       |          ^~~~~~~~~~~
    

Furthemore, the toolchain seems to be wrong:

  • The toolchain seems to be incorrectly using the hf suffix
    • gcc-arm-linux-gnueabihf should be gcc-arm-linux-gnueabi
    • --host=arm-linux-gnueabihf should be --host=arm-linux-gnueabi
    • libudev-dev:armhf should be libudev-dev:armel

I attempted to fix this by hand, but after a few unsuccessful builds dockcross is telling me You don't have enough free space in /var/cache/apt/archives/., which I can't figure out how to fix. 😆

tresf avatar Aug 06 '21 23:08 tresf