下载地址:/source/old/1.1.1/index.html
openssl-3.x.x为最新的大版本,与1.1.1可能不兼容
虚拟机:Ubuntu 18.04 64位
target:32位 arm-poky-linux-gnueabi
step1: 下载源码,解压
step2: ./config no-asm shared --prefix=$(pwd)/arm_output
no-asm : 禁止汇编加速编译(自测不加这个会报错)
shared:编译动态库
--prefix= : install的输出路劲
step3: 修改Makefile
删除$(CROSS_COMPILE)
删除-m64
step4: make; make install