[ELDK] powerpc-linux-gcc:command not found

Stefano Babic sbabic at denx.de
Fri Nov 11 19:16:30 CET 2011


On 11/11/2011 06:52 PM, Khalid Mohiuddin wrote:
> Hi Stefano,
>    Thanks as I didn't know PATH would be effected by using sudo. The
> problem is partly solved now. Below is the error message.
> 
> khalid at khalid-VPCS13S9E:~/ctbuild/linux$ make ARCH=powerpc
> CROSS_COMPILE=powerpc-linux- CROSS32_COMPILE=powerpc-linux-
> *** 3.0 kernels no longer build correctly with old versions of binutils.
> *** Please upgrade your binutils to 2.12.1 or newer
> make: *** [checkbin] Error 1
> khalid at khalid-VPCS13S9E:~/ctbuild/linux$
> 
> 
> What could be the problem? below is what I got with ->ld --version
> khalid at khalid-VPCS13S9E:~/ctbuild/linux$ ld --version
> GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810

Your ELDK seems too old - use at least ELDK-4.2 or, better, ELDK-5.0.

> (To recall, my host os is ubuntu 11.xx 64bit) Do I have to get latest
> binutils or apply some patch?

No, ELDK works fine on Ubuntu - I use myself Ubuntu as host.

Be suere to hzave installed the 32 bit libraries:

sudo apt-get install ia32-libs

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the eldk mailing list