[Buildroot] error while building kernel linux 2.6.19

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue May 13 09:36:31 UTC 2014


Dear Digesh patel,

On Tue, 13 May 2014 14:57:01 +0530, Digesh patel wrote:

> i am getting error while building linux 2.6.19 after installing
> buildroot tool.i am using following,
> 
> target system=powerPC MPC8555 processor with linux 2.6.19
> host system having linux-2.6.32.11-custom-2.6.32.11.
> i am sending you error message when building kernel 2.6.19
> 
> i am getting following error message after giving this command
> 
> root at systemuser-desktop:/home/systemuser/xenomai_BEL/rajj1/linux-2.6.19#
> make ARCH=powerpc CROSS_COMPILE=powerpc-linux- uImage
> make: powerpc-linux-gcc: Command not found
> /home/systemuser/xenomai_BEL/rajj1/linux-2.6.19/scripts/gcc-version.sh:
> line 11: powerpc-linux-gcc: command not found
> /home/systemuser/xenomai_BEL/rajj1/linux-2.6.19/scripts/gcc-version.sh:
> line 12: powerpc-linux-gcc: command not found
> *** 2.6 kernels no longer build correctly with old versions of binutils.
> *** Please upgrade your binutils to 2.12.1 or newer
> make: *** [checkbin] Error 1

The error is pretty clear: it doesn't find your cross-compiler. So
either your CROSS_COMPILE value is wrong, or your cross-compiler is not
in your PATH.

I would suggest you to:

 1/ Use Buildroot to build your kernel, as it will make sure the right
    environment variables are passed. This is especially useful if you
    are a beginning with all this cross-compilation stuff and don't yet
    understand all the details.

 2/ Use a newer kernel than 2.6.19, which is completely outdated.

 3/ Not build as root, since it's useless.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list