Under the ubuntu10.04, the installation of the cross-compilation, set a good path, but in the compilation uboot, will be reported to find GCC, very strange, the path is right. For a while, back to http://source.android.com/source/initializing.html.
Installing required Packages (Ubuntu 10.04--11.10)
You'll need a 64-bit version of Ubuntu. Ubuntu 10.04 is recommended. Building using a newer version of the Ubuntu is currently only experimentallysupported and isn't guaranteed to work on branch Es other than master.
$ sudo apt-get install Git-core GnuPG Flex Bison gperf build-essential \
Zip Curl Zlib1g-dev Libc6-dev lib32ncurses5-d EV ia32-libs \
x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev \
Libgl1-mesa-dev g++-multilib Mingw32 tofrodos python-markdown \
libxml2-utils Xsltproc
The meaning is to install the above G++-multilib package, after installation, compile pass.