Hello,
I've tried to build PJSIP with openssl-1.0.2h following the instructions provided in https://trac.pjsip.org/repos/wiki/Getting-Started/Android#OpenSSLSupport, however when trying to build the PJSIP code using "TARGET_ABI=arm64-v8a ./configure-android --use-ndk-cflags --with-ssl=[mypath] /openssl-1.0.2h", it yields these results:
...
checking for OpenSSL installations..
Using SSL prefix... [mypath]/openssl-1.0.2h
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... no
aconfigure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!
aconfigure: WARNING: openssl/ssl.h: proceeding with the compiler's result
checking for openssl/ssl.h... yes
checking for ERR_load_BIO_strings in -lcrypto... yes
checking for SSL_library_init in -lssl... no
** OpenSSL libraries not found, disabling SSL support **
...
Just to confirm, the lib*.a files in [mypath]/openssl-1.0.2h/lib/ directory have been built correctly, is there anything else I'm missing?
Full android-configure script logs are attached.
Thanks
Norlan Perdomo | Allin Interactive, Inc. | 2841 West Cypress Creek Road | Ft. Lauderdale, FL 33309 | 954.630.1050
We had lots of issues building ssl/android too.
We found out, that the build somehow modifies files in the build chain and you can only build one target at a time.
So the only solution we had was to set up our builds like this:
Fresh checkout of the repo (pjsip from a local repository copy)
Fresh checkout/unzip of openssl
Modify config_site.h and other needed files for the target platform
Build the platform
Reset everything (restart with fresh checkout)
Next platform... and so on...
Hope it helps
cheers
mit freundlichen Grüßen | kind regards
[1Uniconnect]http://www.1uniconnect.at/de
Von: pjsip [mailto:pjsip-bounces@lists.pjsip.org] Im Auftrag von Norlan Perdomo
Gesendet: Mittwoch, 20. Juli 2016 22:16
An: pjsip@lists.pjsip.org
Betreff: [pjsip] OpenSSL Support for Android
Hello,
I've tried to build PJSIP with openssl-1.0.2h following the instructions provided in https://trac.pjsip.org/repos/wiki/Getting-Started/Android#OpenSSLSupport, however when trying to build the PJSIP code using "TARGET_ABI=arm64-v8a ./configure-android --use-ndk-cflags --with-ssl=[mypath] /openssl-1.0.2h", it yields these results:
...
checking for OpenSSL installations..
Using SSL prefix... [mypath]/openssl-1.0.2h
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... no
aconfigure: WARNING: openssl/ssl.h: accepted by the compiler, rejected by the preprocessor!
aconfigure: WARNING: openssl/ssl.h: proceeding with the compiler's result
checking for openssl/ssl.h... yes
checking for ERR_load_BIO_strings in -lcrypto... yes
checking for SSL_library_init in -lssl... no
** OpenSSL libraries not found, disabling SSL support **
...
Just to confirm, the lib*.a files in [mypath]/openssl-1.0.2h/lib/ directory have been built correctly, is there anything else I'm missing?
Full android-configure script logs are attached.
Thanks
Norlan Perdomo | Allin Interactive, Inc. | 2841 West Cypress Creek Road | Ft. Lauderdale, FL 33309 | 954.630.1050