Thursday, November 17, 2011

More fun with Android NDK7

I tried to compile cURL library Android NDK7 for x86 architecture and it looks like though the bug was reported in NDK6b: http://code.google.com/p/android/issues/detail?id=19851, the libc is still missing few functions sigsetjmp and siglongjmp.
The easiest solution for me was to get the libc from the latest ICS source tree (built for x86 arch).
Looking forward to get this fixed in NDK8, hopefully before Christmas.


2 comments:

Anonymous said...

“The easiest solution for me was to get the libc from the latest ICS source tree (built for x86 arch).”

I'm an beginner, so I do not know how to get the lasted libc. Could you give me some more information? Or where could I get libc.a...

my email is : waitersong2012@gmail.com

thanks.

Alex said...

Hi, here you can find all the information from how to set your environment to how to build the AOSP:
http://source.android.com/source/index.html

Once you build the Android from the source you will find full libc built there.
Let me know if you need further explanation, but first to follow the instructions at the link above and see how it goes. It's actually very useful to get familiar with Android internals.