Re: OpenSSL Support for Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

Michael Barthold

Senior Software Architect

----------------------------------------------
UNICOPE GmbH | Wien

T +43 5 06216-5285

----------------------------------------------
1Uniconnect

 

Von: pjsip [mailto:pjsip-bounces@xxxxxxxxxxxxxxx] Im Auftrag von Norlan Perdomo
Gesendet: Mittwoch, 20. Juli 2016 22:16
An: pjsip@xxxxxxxxxxxxxxx
Betreff: 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

 

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux