< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate-users] Failed to compile for Android


Please ignore my email I've got it fixed after copied the .so to NDK lib directory.

Best regards,

On Fri, Mar 20, 2015 at 9:39 PM, Karlsson <boost.regex@xxxxxxxxx> wrote:
Hi, I'm encountered the problem when compile the resip on dedian for android - can't find the openssl libraries, but I have been deployed  the openssl( https://github.com/resiprocate/openssl-android.git)

Compile x86    : ssl <= kssl.c
SharedLibrary  : libssl.so
Executable     : openssl
Install        : openssl => /opt/ndk/openssl-android/libs/x86/openssl
Install        : libssl.so => /opt/ndk/openssl-android/libs/x86/libssl.so
Compile x86    : ssltest <= ssltest.c
Executable     : ssltest
Install        : ssltest => /opt/ndk/openssl-android/libs/x86/ssltest
Library openssl deployed successfully to /root/ndk-prebuilt/openssl



/tmp/tmp.r4c5vhM4BV/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lssl
/tmp/tmp.r4c5vhM4BV/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lcrypto
collect2: ld returned 1 exit status
make[1]: *** [librutil.la] Error 1
make[1]: Leaving directory `/opt/ndk/resiprocate-1.9.8/rutil'


How to fix it ?

Thanks