Try running 'source build/envsetup.sh' (the toolchain to use gets setup in 
that script).
It's likely that toolchain its trying to use doesn't exist, that doesn't 
seem to be the default one, which is established in envsetup.sh
You can try running 'choosecombo' after the source command as well and 
choosing product as beagleboard.

You should be able to specify a custom toolchain with TARGET_TOOLS_PREFIX= 
on the command line.

On Thursday, April 5, 2012 8:07:14 AM UTC+1, srinivasan shanmugam wrote:
>
> Dear All, 
>
>
> I am facing the below problem while building the android ICS 
>
> appusony@ubuntu:~/rowboat-android$ make TARGET_PRODUCT=beagleboard 
> OMAPES=5.x 
> /bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/ 
> bin/arm-linux-androideabi-gcc: No such file or directory 
> /bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/ 
> bin/arm-linux-androideabi-gcc: No such file or directory 
> /bin/bash: prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/ 
> bin/arm-linux-androideabi-gcc: No such file or directory 
> /bin/bash: bison: command not found 
> ============================================ 
> PLATFORM_VERSION_CODENAME=REL 
> PLATFORM_VERSION=4.0.3 
> TARGET_PRODUCT=beagleboard 
> TARGET_BUILD_VARIANT=eng 
> TARGET_BUILD_TYPE=release 
> TARGET_BUILD_APPS= 
> TARGET_ARCH=arm 
> TARGET_ARCH_VARIANT=armv7-a-neon 
> HOST_ARCH=x86 
> HOST_OS=linux 
> HOST_BUILD_TYPE=release 
> BUILD_ID=IML74K 
> ============================================ 
> Checking build tools versions... 
> ************************************************************ 
> You are attempting to build with the incorrect version 
> of java. 
>
> Your version is: java version "1.6.0_20". 
> The correct version is: Java SE 1.6. 
>
> Please follow the machine setup instructions at 
>     http://source.android.com/source/download.html 
> ************************************************************ 
> build/core/main.mk:131: *** stop.  Stop. 
>
>
> But when i tried to install Java 6: using the below commands 
>
> $ sudo add-apt-repository "deb http://archive.canonical.com/ lucid 
> partner" 
> $ sudo apt-get update 
> $ sudo apt-get install sun-java6-jdk 
>
>
> I'm getting the below errors 
>
>
> appusony@ubuntu:~$ sudo apt-get install sun-java6-jdk 
> Reading package lists... Done 
> Building dependency tree 
> Reading state information... Done 
> Package sun-java6-jdk is not available, but is referred to by another 
> package. 
> This may mean that the package is missing, has been obsoleted, or 
> is only available from another source 
> E: Package sun-java6-jdk has no installation candidate 
>
>
> I followed the different ways in solving the above error  from net, 
> but i was not able to succeed further 
>
> Could ne body pls kindly do the needful in resolving the above errors 
>
>
> Any help woud be greatly appreciated 
>
>
> Advanced thanks, 
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to