编译libmodbus
下载路径
1、编译准备
sudo apt-get install libtool
./autogen.sh
2、arm编译
./autogen.sh
mkdir install
./configure ac_cv_func_malloc_0_nonnull=yes --host=arm-linux-gnueabihf --enable-static --prefix=$(<
编译libmodbus
下载路径
1、编译准备
sudo apt-get install libtool
./autogen.sh
2、arm编译
./autogen.sh
mkdir install
./configure ac_cv_func_malloc_0_nonnull=yes --host=arm-linux-gnueabihf --enable-static --prefix=$(<