build Openssl - android-arm

Post Reply
voyzer
Site Admin
Posts: 36
Joined: 2022 Jul 06 16:57

build Openssl - android-arm

Post by voyzer »

1. Configure enable-fips shared android-arm

root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev# ./Configure enable-fips shared android-arm
Configuring OpenSSL version 3.0.8 for target android-arm
Using os-specific seed configuration

Failure! build file wasn't produced.
Please read INSTALL.md and associated NOTES-* files. You may also have to
look over your available compiler tool chain or change your configuration.

$ANDROID_NDK_ROOT is not defined at (eval 13) line 32.
root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev#



root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev# export ANDROID_NDK_ROOT=/mnt/d/metatools/android-ndk-r23c-linux
root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev# ./Configure enable-fips shared android-arm
Configuring OpenSSL version 3.0.8 for target android-arm
Using os-specific seed configuration

Failure! build file wasn't produced.
Please read INSTALL.md and associated NOTES-* files. You may also have to
look over your available compiler tool chain or change your configuration.

no NDK arm-linux-androideabi-gcc on $PATH at (eval 13) line 142.

2. Add ndk bin path
PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH



root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev# PATH=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH

3. Congiure, then make
root@P00A48241-003:/mnt/d/Project/ntalkinf/openssl-3.0.8_dev# ./Configure enable-fips shared android-arm

Configuring OpenSSL version 3.0.8 for target android-arm
Using os-specific seed configuration
Created configdata.pm
Running configdata.pm
Created Makefile.in
Created Makefile
Created include/openssl/configuration.h

**********************************************************************
*** ***
*** OpenSSL has been successfully configured ***
*** ***
*** If you encounter a problem while building, please open an ***
*** issue on GitHub <https://github.com/openssl/openssl/issues> ***
*** and include the output from the following command: ***
*** ***
*** perl configdata.pm --dump ***
*** ***
*** (If you are new to OpenSSL, you might want to consult the ***
*** 'Troubleshooting' section in the INSTALL.md file first) ***

4. make
Post Reply