willyliu / build-openssl-android

Builds openssl 1.1.0h with android ndk r17.
25 stars 22 forks source link

Can't build latest versions of OpenSSL (1.0.2i, 1.1.1) #3

Open ljakab opened 5 years ago

ljakab commented 5 years ago

I tried building OpenSSL 1.0.2i and 1.1.1 with this script, and I get this build failure:

The options 'shared', 'pic' and 'dynamic-engine' aren't supported on this
platform, so we will pretend you gave the option 'no-pic', which also disables
'shared' and 'dynamic-engine'.  If you know how to implement shared libraries
or position independent code, please let us know (but please first make sure
you have tried with a current version of OpenSSL).

**********************************************************************
***                                                                ***
***   If you want to report a building issue, please include the   ***
***   output from this command:                                    ***
***                                                                ***
***     perl configdata.pm --dump                                  ***
***                                                                ***
**********************************************************************
Building for libcrypto.a and libssl.a for arm64-v8a

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

***** Unsupported options: no-pic no-krb5 no-idea no-camellia         no-seed no-bf no-cast no-rc2 no-rc4 no-rc5 no-md2         no-md4 no-ripemd no-rsa no-ecdh no-sock no-ssl2 no-ssl3         no-dsa no-dh no-ec no-ecdsa no-tls1 no-pbe no-pkcs         no-tlsext no-pem no-rfc3779 no-whirlpool no-ui no-srp         no-ssltrace no-tlsext no-mdc2 no-ecdh no-engine         no-tls2 no-srtp -fPIC
Error executing:./Configure android64-aarch64 no-pic no-krb5 no-idea no-camellia         no-seed no-bf no-cast no-rc2 no-rc4 no-rc5 no-md2         no-md4 no-ripemd no-rsa no-ecdh no-sock no-ssl2 no-ssl3         no-dsa no-dh no-ec no-ecdsa no-tls1 no-pbe no-pkcs         no-tlsext no-pem no-rfc3779 no-whirlpool no-ui no-srp         no-ssltrace no-tlsext no-mdc2 no-ecdh no-engine         no-tls2 no-srtp -fPIC

Any idea what to try? The ChangeLog doesn't have anything interesting that could cause this.