[openssl-users] Openssl-1.0.2h failed compilation

Openssl.User mariem.mhiri at outlook.com
Wed May 10 12:31:25 UTC 2017


Hello, 

I try to cross-compile openssl-1.02h on ARM. 

First, I set the environment variable: 

export ARCH=arm64 
export CROSS_COMPILE=aarch64-poky-linux- 

Then I configured it: 
./config shared --prefix=/opt/poky/aarch64-poky-linux/usr 

 When I do make I have the following error: 

aarch64-poky-linux-gcc: error: unrecognized command line option '-m64' 
<builtin>: recipe for target 'cryptlib.o' failed 
make[1]: *** [cryptlib.o] Error 1 
make[1]: Leaving directory '/opt/poky/libssl1.0.2/openssl-1.0.2h/crypto' 
Makefile:285: recipe for target 'build_crypto' failed 
make: *** [build_crypto] Error 1 

How can I fix this problem? 



--
View this message in context: http://openssl.6102.n7.nabble.com/Openssl-1-0-2h-failed-compilation-tp70737.html
Sent from the OpenSSL - User mailing list archive at Nabble.com.


More information about the openssl-users mailing list