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
成功
./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
成功