On Tue, Apr 3, 2012 at 6:29 AM, greno <[email protected]> wrote: > I have this linking problem with ndk r7b: > > ...arm-linux-androideabi/bin/ld: crtbegin_so.o: No such file: No such > file or directory > > I have not found a solution yet. Any ideas? > > You don't give any explanation about how you're trying to compile/link your program.
This "error" typically means you're invoking the toolchain binaries directly (e.g. calling $NDK/toolchains/arm-linux-androideabi-4.4.3/prebuilt/$SYSTEM/bin/arm-linux-androideabi-gcc/g++/ld) without specifying an appropriate sysroot. I.e. you're not using the NDK build system, not a standalone toolchain that was setup with make-standalone-toolchain.sh. Read the $NDK/docs/STANDALONE-TOOLCHAIN.html documentation, it will explain you how you can solve your issues. > -- > 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 > -- 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

