You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fatal: not a git repository (or any of the parent directories): .git
/usr/local/src/target/arm-unknown-linux-gnueabihf/release/build/libmodbus-sys-4ca48fe86eb6a401/out/include/modbus.h:12:10: fatal error: 'sys/param.h' file not found
/usr/local/src/target/arm-unknown-linux-gnueabihf/release/build/libmodbus-sys-4ca48fe86eb6a401/out/include/modbus.h:12:10: fatal error: 'sys/param.h' file not found, err: true
thread 'main' panicked at 'could not reate binding: ()', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libmodbus-sys-1.0.0/build.rs:126:10
Hello @zzeroo
I have a problem with compiling your library.
Compiler cannot found:
https://github.com/stephane/libmodbus/blob/9d3b12861e7bd6880dd0cbdcaed94249ba75765f/src/modbus.h#L12
Version:
libmodbus = "1.0.1"
OS: Ubuntu Linux 18.04 (docker container)
arch: arm-linux-gnueabihf
Example: repo
cargo +1.54.0 b --release --target=arm-unknown-linux-gnueabihf
I have file
/usr/arm-linux-gnueabihf/include/sys/param.h
in container:Error:
Full log:
Dockerfile:
The text was updated successfully, but these errors were encountered: