Perhaps Ubuntu 10.04 LTS has become unsupported, so you may try replacing "lucid" by "precise" (Ubuntu 12.04 LTS).
On Apr 5, 3:07 pm, srinivasan shanmugam <[email protected]> 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 "debhttp://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
