NoAngel
unread,Jan 26, 2012, 10:33:34 PM1/26/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
I tried to compile some sources with android-sdk-r7, and probably
found an issue.
I have following line in Android.mk to select target platform.
TARGET_PLATFORM := android-14
...
so I guess I wrote that, and NDK compiler must use platform headers
from $(NDK_ROOT)\platforms\android-14, but here I got another WTF:
looking to <blablabla>.o.d file:
<...>
obj/local/armeabi/objs/testgzip/main.o: jni/main.cpp \
jni/../../gzip/jni/zlibFormat.h jni/../../gzip/jni/zlib.h \
jni/../../gzip/jni/zconf.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/sys/types.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/stdint.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/sys/_types.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/machine/_types.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/sys/cdefs.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/sys/cdefs_elf.h \
/cygdrive/c/android-ndk-r7-crystax-4/platforms/android-3/arch-arm/usr/
include/linux/posix_types.h \
<...>
hmm it using android-3? so strange... or not?
same behavior with original ndk-r7, just using crystax mod to fix many
many other bugs.