源码
wpa_supplicant官网:http://w1.fi/wpa_supplicant/
GIT源:git://w1.fi/hostap.git

openssl 源码:
https://www.openssl.org/
libnl 源码:
https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-3.5.0.tar.gz 或
https://github.com/thom311/libnl/releases/
编译
编译wpa之前需要先编译openssl 以及 libnl
openssl编译
./Configure linux-armv4 shared no-asm --prefix=$(pwd)/install CROSS_COMPILE=arm-linux-gnueabihf-
make -j16
make install
libnl
./configure --host=arm-linux-gnueabihf --prefix=$(pwd)/install

如果出现以上错误提示,需要对应安装:
apt-get install bison
apt-get install flex
编译:
make -j16
make insta

本文详细描述了如何从源码编译openssl、libnl,并在Linux平台上进行交叉编译以支持WPA,包括配置步骤、遇到的问题及解决方法,最后介绍了如何在开发板上测试所编译的wpa_supplicant和wpa_cli。
最低0.47元/天 解锁文章
455

被折叠的 条评论
为什么被折叠?



