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

[reSIProcate-users] Failed to compile for Android


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