源码包版本
cyassl:cyassl-3.3.0
步骤
./autogen.sh
./configure --host=arm-openwrt-linux --prefix=/home/xxx/cyassl-3.3.0/build
make
make install
注意事项
- 如果./autogen.sh失败,一般是没有安装automake:
sudo apt-get install automake
- ./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