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

Khalid Mohiuddin khalid.mohiuddin at dektech.com.au
Fri Nov 11 16:01:58 CET 2011



Hi,
    I am new to linux and trying to build linux3.x for powerpc. I got  
the following errors

khalid at khalid-VPCS13S9E:~/ctbuild/linux$ sudo make ARCH=powerpc  
CROSS_COMPILE=powerpc-linux- CROSS32_COMPILE=powerpc-linux-  
CROSS_COMPILE_TARGET=yes
make: powerpc-linux-gcc: Command not found
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (FSL_SOC_BOOKE && SERIAL_8250_RM9K) selects  
SERIAL_8250_SHARE_IRQ which has unmet direct dependencies (HAS_IOMEM  
&& SERIAL_8250_EXTENDED)
warning: (FSL_SOC_BOOKE && SERIAL_8250_RM9K) selects  
SERIAL_8250_SHARE_IRQ which has unmet direct dependencies (HAS_IOMEM  
&& SERIAL_8250_EXTENDED)
make: powerpc-linux-gcc: Command not found
/home/khalid/ctbuild/linux-3.0.8/scripts/gcc-version.sh: line 25:  
powerpc-linux-gcc: command not found
/home/khalid/ctbuild/linux-3.0.8/scripts/gcc-version.sh: line 26:  
powerpc-linux-gcc: command not found
/home/khalid/ctbuild/linux-3.0.8/scripts/gcc-version.sh: line 25:  
powerpc-linux-gcc: command not found
/home/khalid/ctbuild/linux-3.0.8/scripts/gcc-version.sh: line 26:  
powerpc-linux-gcc: command not found
/home/khalid/ctbuild/linux-3.0.8/scripts/gcc-version.sh: line 28:  
powerpc-linux-gcc: command not found
*** 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$ echo $PATH
/home/khalid/opt/eldk/bin:/home/khalid/opt/eldk/usr/bin:/home/khalid/opt/eldk/bin:/home/khalid/opt/eldk/usr/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
khalid at khalid-VPCS13S9E:~/ctbuild/linux$ powerpc-linux-gcc
powerpc-linux-gcc: no input files
khalid at khalid-VPCS13S9E:~/ctbuild/linux$ ld --version
GNU ld (GNU Binutils for Ubuntu) 2.21.53.20110810
Copyright 2011 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
khalid at khalid-VPCS13S9E:~/ctbuild/linux$



My eldk installation dir is ~/opt/eldk. and host OS is ubuntu 11.xx  
64bit. Can any one help as I had checked PATH(using echo $PATH), cross  
compiler(powerpc-linux-gcc).

Thanks in advance
Regards
Khalid















More information about the eldk mailing list