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

源码包版本

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
发布了8 篇原创文章 · 获赞 0 · 访问量 233

猜你喜欢

转载自blog.csdn.net/zhensansan/article/details/102460688
今日推荐