arm - OpenSSL交叉编译错误
本文介绍了arm - OpenSSL交叉编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
问 题
想把openssl交叉编译到arm平台上,但是make的时候,总是报错
想问一下怎么解决
./config no-asm --openssldir=./mybuild
Makefile里面的CC,AR和RANLIB也已经改了
making all in crypto...
make[1]: Entering directory `/media/sf_prj/demo/openssl/lib/openssl-1.0.2f/crypto'
/usr/bin/perl ../util/mkbuildinf.pl "arm-none-linux-gnueabi-gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -O3 -fomit-frame-pointer -Wall" "linux-elf" >buildinf.h
make[1]: *** No rule to make target `../include/openssl/bio.h', needed by `cryptlib.o'. Stop.
make[1]: Leaving directory `/media/sf_prj/demo/openssl/lib/openssl-1.0.2f/crypto'
make: *** [build_crypto] Error 1
解决方案
needed by `cryptlib.o'
是不是crypt这个库没装或者没找到?
这篇关于arm - OpenSSL交叉编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文