and seems we don't have the libc-version.h file in our linaro toolchain, how does ABS_TARGET_TOOLS_PREFIXhelp?
where is the libc-version.h used for the compile? is it one of the three list above?
There's no such thing -- the error message is a bit confusing because we wanted to keep the Android patch as unintrusive as possible.
Take a look at the Makefile producing the error:
If it can find libc-version.h, it assumes we're using glibc and tries to build with that. If it doesn't see libc-version.h, it checks for android/api-level.h, and if it finds that, assumes we're using bionic and goes ahead with that.
If it doesn't find either, it'll just complain about not having libc-version.h.