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

Re: [reSIProcate-users] openssl-android build error for resiprocate


Hello,

Any help would be appreciated.

Thank you,
Chandramouli.


On Thu, Dec 22, 2016 at 1:31 PM, Chandramouli P <mouli123@xxxxxxxxx> wrote:
Hello,

I downloaded the openssl-android source code from https://github.com/resiprocate/openssl-android.git and tried to build .so files. It is done for all platforms except mips64 platform. 

Below are the errors that we are getting:

[arm64-v8a] Install        : libcrypto.so => libs/arm64-v8a/libcrypto.so
[arm64-v8a] Install        : openssl => libs/arm64-v8a/openssl
[arm64-v8a] Install        : libssl.so => libs/arm64-v8a/libssl.so
[arm64-v8a] Install        : ssltest => libs/arm64-v8a/ssltest
[x86_64] Install        : libcrypto.so => libs/x86_64/libcrypto.so
[x86_64] Install        : openssl => libs/x86_64/openssl
[x86_64] Install        : libssl.so => libs/x86_64/libssl.so
[x86_64] Install        : ssltest => libs/x86_64/ssltest
[mips64] Install        : libcrypto.so => libs/mips64/libcrypto.so
[mips64] Executable     : openssl
/home/adts/Desktop/android-ndk-r13b/toolchains/mips64el-linux-android-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/mips64el-linux-android/4.9.x/../../../../mips64el-linux-android/bin/ld: warning: libz.so, needed by ./obj/local/mips64/libcrypto.so, not found (try using -rpath or -rpath-link)
./obj/local/mips64/libcrypto.so: undefined reference to `inflate'
./obj/local/mips64/libcrypto.so: undefined reference to `zError'
./obj/local/mips64/libcrypto.so: undefined reference to `deflate'
./obj/local/mips64/libcrypto.so: undefined reference to `deflateInit_'
./obj/local/mips64/libcrypto.so: undefined reference to `inflateEnd'
./obj/local/mips64/libcrypto.so: undefined reference to `deflateEnd'
./obj/local/mips64/libcrypto.so: undefined reference to `inflateInit_'
collect2: error: ld returned 1 exit status
/home/adts/Desktop/android-ndk-r13b/build/core/build-binary.mk:715: recipe for target 'obj/local/mips64/openssl' failed
make: *** [obj/local/mips64/openssl] Error 1

I tried in different ways with the help of Internet. But, unable to resolve the issue. Can any body help me to resolve the issue?

Thank you,
Chandramouli.