openssl3.2.22交叉编译arm
./Configure shared no-shared --prefix=/home/jieen/workspace/third/wirelesscmd/build_openssl linux-armv4
make depend
make
make install
/home/jieen/workspace/third/wirelesscmd/build_openssl
在.config文件中添加一段:
#### arm-linux (e.g., for yangchu2410) ######################################
CC=arm-linux-gcc
CFLAGS += -I/home/jieen/workspace/third/wirelesscmd/build_openssl/include
CFLAGS += -I/home/jieen/workspace/third/wirelesscmd/build_libnl_arm/include/libnl3
LIBS += -L/home/jieen/workspace/third/wirelesscmd/build_openssl/lib -lssl -lcrypto
LIBS += -L/home/jieen/workspace/third/wirelesscmd/build_libnl_arm/lib -lnl-3 -lnl-genl-3
###############################################################################

将Driver_nl80211.c的70行改为true
出现以下错误:
bin/ld: cannot find -lcrypto
下载:http://www.gnu.org/software/gnu-crypto/#downloading
./configure --prefix=/home/jieen/workspace/third/wirelesscmd/build_crypto --host=arm-linux
make
make install
尴尬的发现此文件无用,后直接在openssl编译目录下找到libcrypto.a,复制到编译链中。
重新再编译wpa
make
make install
成功
GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐