a bug in ndk r7

55 views
Skip to first unread message

bunny rene

unread,
Nov 18, 2011, 10:46:27 PM11/18/11
to android-ndk
thinkinbunny@rene:~$ ndk-build
/home/thinkinbunny/android-ndk-r7/prebuilt/linux-x86/bin/awk: 1:
ELF : not found
/home/thinkinbunny/android-ndk-r7/prebuilt/linux-x86/bin/awk: 4:
Syntax error: word unexpected (expecting ")")
Android NDK: Host 'awk' tool is outdated. Please define HOST_AWK to
point to Gawk or Nawk !
/home/thinkinbunny/android-ndk-r7/build/core/init.mk:258: *** Android
NDK: Aborting. 。

same to me?
oh, you can delete the folder /prebuild


then ndk-build ok,well done

David Turner

unread,
Nov 20, 2011, 8:32:30 AM11/20/11
to andro...@googlegroups.com
It's a known bug in NDK r7 (the linux awk binary is 64-bit, should be 32-bit).
Simplest work-around is to remove the file prebuilt/linux-x86/bin/awk, the build system will pick the system one in this case.

A fix is coming, but no ETA for now.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


Reply all
Reply to author
Forward
0 new messages