When I want to build libhello-jni native library with ndk-build, there is an error: root@ThinkPad-Edge-E430:~/android-ndk-r8b/samples/hello-jni# ndk-build Gdbserver : [arm-linux-androideabi-4.6] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Executable : hello-jni /root/android-ndk-r8b/platforms/android-14/arch-arm/usr/lib/crtbegin_dynamic.o: In function `atexit': crtbrand.c:(.text+0x44): undefined reference to `main' collect2: ld returned 1 exit status make: *** [obj/local/armeabi/hello-jni] Error 1 I spent many time trying to see what happened but didn't figure out what's wrong :( I'd appreciate if any one can give some suggestions to resolve it, thank you in advance! )
-- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

