Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
build openssl for android
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Indtiny s  
View profile  
 More options Sep 12 2012, 1:07 pm
Newsgroups: mailing.openssl.users
From: indt...@gmail.com (Indtiny s)
Date: Wed, 12 Sep 2012 13:05:35 -0400
Local: Wed, Sep 12 2012 1:05 pm
Subject: build openssl for android

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Goldberg  
View profile  
 More options Sep 12 2012, 1:35 pm
Newsgroups: mailing.openssl.users
From: jgoldb...@oneid.com (Jason Goldberg)
Date: Wed, 12 Sep 2012 17:34:50 +0000
Local: Wed, Sep 12 2012 1:34 pm
Subject: Re: build openssl for android

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<mailto: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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"farmdve data.bg"  
View profile  
 More options Sep 12 2012, 10:31 pm
Newsgroups: mailing.openssl.users
From: farm...@data.bg ("farmdve data.bg")
Date: Thu, 13 Sep 2012 05:30:45 +0300
Local: Wed, Sep 12 2012 10:30 pm
Subject: Re: build openssl for android

Do not use that one, it's old. Use this one
https://github.com/aluvalassuman/OpenSSL1.0.1cForAndroid

Just calling ndk-build should work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"farmdve data.bg"  
View profile  
 More options Sep 12 2012, 10:37 pm
Newsgroups: mailing.openssl.users
From: farm...@data.bg ("farmdve data.bg")
Date: Thu, 13 Sep 2012 05:36:33 +0300
Local: Wed, Sep 12 2012 10:36 pm
Subject: Re: build openssl for android

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)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Indtiny s  
View profile  
 More options Sep 13 2012, 12:27 am
Newsgroups: mailing.openssl.users
From: indt...@gmail.com (Indtiny s)
Date: Thu, 13 Sep 2012 09:56:03 +0530
Local: Thurs, Sep 13 2012 12:26 am
Subject: Re: build openssl for android

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
t...@terralogic.net  
View profile  
 More options Sep 13 2012, 1:30 am
Newsgroups: mailing.openssl.users
From: t...@terralogic.net
Date: Wed, 12 Sep 2012 23:04:49 -0600
Local: Thurs, Sep 13 2012 1:04 am
Subject: Re: build openssl for android

I don't at this point own an android and I am thinking of getting one.  I'd like to ask of the environment.  Will I need to root it?  I expect the answer is yes and I'll have to install all the development tools as well.  Its there a website which provides instructions.

Next what of cross compilers or a development environment which runs on say the desktop and provides the test bed that the phone uses.

THanks.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-us...@openssl.org
Automated List Manager                           majord...@openssl.org

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Indtiny s  
View profile  
 More options Sep 13 2012, 2:46 am
Newsgroups: mailing.openssl.users
From: indt...@gmail.com (Indtiny s)
Date: Thu, 13 Sep 2012 12:15:32 +0530
Local: Thurs, Sep 13 2012 2:45 am
Subject: Re: build openssl for android

Hi,
When I complied  my old code (openssl-android 1.0.0e)  which downloaded
from the github , ir built properly ..
but this new code from the
https://github.com/aluvalassuman/OpenSSL1.0.1cForAndroid
is throwing the zlib not found error .. I ran everything through $ sudo
ndk-build script only .

Is there any reference needs to be added in the android.mk for the new code
..?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Indtiny s  
View profile  
 More options Sep 13 2012, 7:12 am
Newsgroups: mailing.openssl.users
From: indt...@gmail.com (Indtiny s)
Date: Thu, 13 Sep 2012 16:41:07 +0530
Local: Thurs, Sep 13 2012 7:11 am
Subject: Re: build openssl for android

Hi,
adding more to my previous problem reference post :

That library is there in the ndk floder

/home/indu/Android/android-ndk-r8b/platforms/android-9/arch-x86/usr/lib/lib z.a
/home/indu/Android/android-ndk-r8b/platforms/android-9/arch-x86/usr/lib/lib z.so
/home/indu/Android/android-ndk-r8b//platforms/android-9/arch-arm/usr/lib/li bz.so
/home/indu/Android/android-ndk-r8b//platforms/android-4/arch-arm/usr/lib/li bz.so
/home/indu/Android/android-ndk-r8b//platforms/android-8/arch-arm/usr/lib/li bz.so
/home/indu/Android/android-ndk-r8b//platforms/android-5/arch-arm/usr/lib/li bz.so
/home/indu/Android/android-ndk-r8b//platforms/android-3/arch-arm/usr/lib/li bz.so

*But I'm getting the following error when with ndk-build *

/home/indu/Android/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/pre built/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../ ../arm-linux-androideabi/bin/ld:
warning: libz.so, needed by ./obj/local/armeabi/libcrypto.so, not found
(try using -rpath or -rpath-link)
./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_'
./obj/local/armeabi/libcrypto.so: undefined reference to `inflate'
./obj/local/armeabi/libcrypto.so: undefined reference to `deflateEnd'
./obj/local/armeabi/libcrypto.so: undefined reference to `inflateInit_'

Rgds
Indu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »