当前位置: 首页 > 工具软件 > CyaSSL > 使用案例 >

arm-openwrt-linux-musl 交叉编译cyassl

屈宏爽
2023-12-01

源码包版本

cyassl:cyassl-3.3.0

步骤

./autogen.sh
./configure --host=arm-openwrt-linux --prefix=/home/xxx/cyassl-3.3.0/build
make
make install

注意事项

  1. 如果./autogen.sh失败,一般是没有安装automake:
sudo apt-get install automake
  1. ./configure失败(其实之前的步骤autogen.sh已经报错Makefile.am:8: error: Libtool library used but ‘LIBTOOL’ is undefined):
./configure: line 3622: syntax error near unexpected token `2.2'
./configure: line 3622: `LT_PREREQ(2.2)'

原因是没有安装libtool

sudo apt-get install libtool
 类似资料: