11/19/2023 0 Comments Android ndk c 11![]() ![]() Users/jackiegleason/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/././././arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory arm-linux-androideabi-gcc hello.c -sysroot=~/Development/Android/android-ndk-r8c/platforms/android-9/arch-arm Users/un/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/././././arm-linux-androideabi/bin/ld: error: cannot find -ldlĬan someone help me with what I am doing wrong? Am I missing a link or something? Android.mk is not an option. Users/un/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/././././arm-linux-androideabi/bin/ld: error: cannot find -lc Users/un/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/././././arm-linux-androideabi/bin/ld: error: cannot open crtend_android.o: No such file or directory Users/un/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/././././arm-linux-androideabi/bin/ld: error: cannot open crtbegin_dynamic.o: No such file or directory ~/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/arm-linux-androideabi-gcc hello.c -o hello -ffreestandingĪnd I get. So due to a lack of gcc knowledge (but some Google ability) I find this and try it. Users/un/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/./lib/gcc/arm-linux-androideabi/4.6/include/stdint.h:3:26: fatal error: stdint.h: No such file or directory ~/Development/Android/android-ndk-r8c/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86/bin/arm-linux-androideabi-gcc hello.c -o hello ![]() I/DEBUG ( 31): #06 pc 0000d362 /system/lib/libc.soĪndroid NDK includes a command ndk-stack that can help match the addresses with actual source files of your code, which is based on the addr2line utility in NDK toolchain.I am trying to compile the following class using the Android GCC compiler. I/DEBUG ( 31): signal 11 (SIGSEGV), fault addr 0d9f00d8 ![]() Instead of the Run tab, look at the Logcat. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |