Hi, My android for the TAB is HoneyComb and its API level is 12 so I have wriiten it as TARGET_ABI:=android-12-armeabi
I put the above line in android-config.mk just below the first LOCAL_CFLAGS and excuted the ndk-build but I got the following error . linux-androideabi/bin/ld: warning: libz.so, needed by ./obj/local/armeabi/libcry ./obj/local/armeabi/libcrypto.so: undefined reference to `zError' ./obj/local/armeabi/libcrypto.so: undefined reference to `inflateEnd' ./obj/local/armeabi/libcrypto.so: undefined reference to `deflate' ./obj/local/armeabi/libcrypto.so: undefined reference to `deflateInit_' Rgds Indu On Thu, Sep 13, 2012 at 8:06 AM, farmdve data.bg <farm...@data.bg> wrote: > Oh, and I highly suggest specifying the TARGET_ABI so that the code is > optimized(considerable boost compared to without specifying it). > > So either add TARGET_ABI := android-APILEVEL-armeabi to android-config.mkOR > open Android.mk in the crypto and ssl folders, and add it just before > $(BUILD_SHARED_LIBRARY). > Be sure to replace APILEVEL with the API level you target. And if you want > static libraries, replace $(BUILD_SHARED_LIBRARY) where encountered to > $(BUILD_STATIC_LIBRARY) > > > On Thu, Sep 13, 2012 at 5:30 AM, farmdve data.bg <farm...@data.bg> wrote: > >> Do not use that one, it's old. Use this one >> https://github.com/aluvalassuman/OpenSSL1.0.1cForAndroid >> >> Just calling ndk-build should work. >> >> On Wed, Sep 12, 2012 at 8:34 PM, Jason Goldberg <jgoldb...@oneid.com>wrote: >> >>> For Android, check out this project as an example: >>> >>> https://github.com/eighthave/openssl-android >>> >>> They have the Android-specific Makefile configs for doing an NDK build. >>> You could patch it with your changes and generate the .so libraries you >>> need. >>> >>> On Sep 12, 2012, at 12:05 PM, Indtiny s <indt...@gmail.com> wrote: >>> >>> >>> Hi, >>> >>> I have to build the openssl 1.0.1c for the android , I have added new >>> ECC-CCM chiper key support at the openssl , hence i want build the same >>> for android-ndk and use in my application as shared libraries . is there >>> any guide to build the same ..? >>> >>> Rgds >>> Indu >>> >>> >>> >> >