NDK Installation problem

17 views
Skip to first unread message

chetan

unread,
Sep 7, 2009, 12:19:53 AM9/7/09
to android-ndk
Hi,

While Installing NDK,
when I run the host setup script i.e <ndk>/build/host-setup.sh
I am getting the following error :

"Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
Error: It seems you do not have the correct arm-eabi-4.2.1 toolchain
binaries. Please go to the official Android NDK website and download
the appropriate NDK package for your platform (windows).
see http://developer.android.com/sdk/index.html

ABORTING."

Even after installing the latest version specified in the link
provided above I am getting the same error.
Please help to solve this.

David Turner

unread,
Sep 7, 2009, 7:43:15 AM9/7/09
to andro...@googlegroups.com
which platform are you on ?

vamsi

unread,
Oct 1, 2009, 2:53:12 AM10/1/09
to android-ndk
check with the environmental variable for ANDROID_NDK_ROOT and the
path properly.
or else in the host-script.sh file,
change the path for COMPILER_PATTERN.
for example, change
COMPILER_PATTERN=$ANDROID_NDK_ROOT/build/prebuilt/$HOST_TAG/$tc/bin/*-
gcc${EXT}
to
COMPILER_PATTERN=/cygdrive/c/android-ndk-1.5_r1/build/prebuilt/windows/
arm-eabi-4.2.1/bin/*-gcc${EXT}
this might work..

On Sep 7, 9:19 am, chetan <chetansav...@gmail.com> wrote:
> Hi,
>
> While Installing NDK,
> when I run the host setup script i.e <ndk>/build/host-setup.sh
> I am getting the following error :
>
> "Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> Error: It seems you do not have the correct arm-eabi-4.2.1 toolchain
> binaries. Please go to the official Android NDK website and download
> the appropriate NDK package for your platform (windows).
> seehttp://developer.android.com/sdk/index.html

David Turner

unread,
Oct 1, 2009, 7:36:15 PM10/1/09
to andro...@googlegroups.com
You can also try running the script with the --verbose option and report what it dumps, e.g.:

build/host-setup.sh --verbose

rb...@mail.ru

unread,
Oct 6, 2009, 11:44:41 AM10/6/09
to android-ndk
Hi Chetan,

May be the problem is a virus... or antivirus :) ?
What options you've selected when install cygwin? Try to select the
following:
-Devel/make
-Devel/gcc
-Devel/automake

Also, check NTFS permissions to your files.
Or ... You have successfully installed the ndk? What was the problem,
if not secret?

On Sep 7, 11:19 am, chetan <chetansav...@gmail.com> wrote:
> Hi,
>
> While Installing NDK,
> when I run the host setup script i.e <ndk>/build/host-setup.sh
> I am getting the following error :
>
> "Toolchain : Checking for arm-eabi-4.2.1 prebuilt binaries
> Error: It seems you do not have the correct arm-eabi-4.2.1 toolchain
> binaries. Please go to the official Android NDK website and download
> the appropriate NDK package for your platform (windows).
> seehttp://developer.android.com/sdk/index.html

David Turner

unread,
Oct 6, 2009, 11:47:37 AM10/6/09
to andro...@googlegroups.com
for the record, gcc is no longer a Cygwin requirement with 1.6, and automake clearly should not be needed (thank God !)
Reply all
Reply to author
Forward
0 new messages