[openssl-users] compiling openssl android on arm64

Nicolas Raby nicolas.raby34 at gmail.com
Fri Aug 26 18:20:01 UTC 2016


Hello,

Due to issue in openSSL 1.0.1l , I have to update openSSL in a project on 4
android platforms : armv7, 64 x86 & x64

I m following this guide, but having trouble compiling the 4 versions.
while I managed to build armv7, I failing building other versions

Can someone help me finding the right variables to edit in
setenv-android.sh ?

Does anyone knows where to find a more user friendly script ?

Here s what I edited for arm64 but it fails with

making depend in crypto...

../util/domd: line 26: arm-linux-androideabi-gcc: command not found

make[1]: *** [local_depend] Error 1


_ANDROID_NDK="android-ndk-r12b"

_ANDROID_EABI="aarch64-linux-android-4.9"
_ANDROID_ARCH=arch-arm64

_ANDROID_API="android-19"


When I launch the setenv script it only complains about FIPS but I dont
need it.

iMac-de-Nicolas:openSSLBuild erwan$ . ./setenv-android-arm64.sh

ERROR ERROR ERROR

Error: FIPS_SIG does not specify incore module. Please edit this script.

ANDROID_NDK_ROOT: /Developer/android-ndk-r12b

ANDROID_ARCH: arch-arm64

ANDROID_EABI: aarch64-linux-android-4.9

ANDROID_API: android-23

ANDROID_SYSROOT: /Developer/android-ndk-r12b/platforms/android-23/arch-arm64

ANDROID_TOOLCHAIN:
/Developer/android-ndk-r12b/toolchains/aarch64-linux-android-4.9/prebuilt/darwin-x86_64/bin

FIPS_SIG:

CROSS_COMPILE: arm-linux-androideabi-

ANDROID_DEV: /Developer/android-ndk-r12b/platforms/android-23/arch-arm64/usr


I m on macOS el capitan

thanks,

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160826/930bdd3b/attachment.html>


More information about the openssl-users mailing list