I believe that the path to the stock arm cross compiler is prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/arm-linux-androideabi/bin/gcc as opposed to the one that it's trying to use in your make command.
This toolchain gets setup in build/envsetup.sh toolchaindir=toolchain/arm-linux-androideabi-4.4.x/bin Try: source build/envsetup.sh and maybe running choosecombo and choosing beagleboard as the product. Alternatively you should be able to specify a toolchain for android to use on the command line with TARGET_TOOLS_PREFIX= HTH, Matt 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, > [email protected] > -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
