LINUX.ORG.RU

История изменений

Исправление Alex_Golubev, (текущая версия) :

Сделал вот так вроде собралось:

alexey@debian:~/raspberrypi/libmodbus$ ./autogen.sh
alexey@debian:~/raspberrypi/libmodbus$ ./configure --prefix=/home/alexey/raspberrypi/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf --host=arm-linux-gnueabihf
alexey@debian:~/raspberrypi/libmodbus$ make
alexey@debian:~/raspberrypi/libmodbus$ make install

Но qt ругается /../../../../arm-linux-gnueabihf/lib/libmodbus.so: file not recognized: File format not recognized .pro добавил LIBS += -lmodbus

Исходная версия Alex_Golubev, :

Сделал вот так вроде собралось:

alexey@debian:~/raspberrypi/libmodbus$ ./autogen.sh
alexey@debian:~/raspberrypi/libmodbus$ ./configure --prefix=/home/alexey/raspberrypi/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf --host=arm-linux-gnueabihf
alexey@debian:~/raspberrypi/libmodbus$ make
alexey@debian:~/raspberrypi/libmodbus$ make install