Now tinderbox uses gcc 4.4.0 in NDK R4, but mobile team has a plan to upgrade to NDK R5.
Also, there is no readahead function in NDK.
Would the NDK r5 happen to define ELFCLASS through elf.h ?
(In reply to comment #2) > Would the NDK r5 happen to define ELFCLASS through elf.h ? It is same as NDKr4. But gcc 4.4.3 into NDKr5 defines __linux__ / linux as default. when using NDKr4, LINUX is undefined during compiling this, so it can be compiled. But when using NDKr5, LINUX is defined, so this error occurs.
Created attachment 540684 [details] [diff] [review] fix