Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] error while building kernel linux 2.6.19
       [not found] <CA+1cARzjF8hapKmHUUrS=dWMhUCAnvzqVtbXWnOknFs-dbCzQw@mail.gmail.com>
@ 2014-05-13  9:27 ` Digesh patel
  2014-05-13  9:36   ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Digesh patel @ 2014-05-13  9:27 UTC (permalink / raw)
  To: buildroot

Hi,

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

please help me how to overcome this error

Thanks,
Digesh

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] error while building kernel linux 2.6.19
  2014-05-13  9:27 ` [Buildroot] error while building kernel linux 2.6.19 Digesh patel
@ 2014-05-13  9:36   ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-05-13  9:36 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-13  9:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CA+1cARzjF8hapKmHUUrS=dWMhUCAnvzqVtbXWnOknFs-dbCzQw@mail.gmail.com>
2014-05-13  9:27 ` [Buildroot] error while building kernel linux 2.6.19 Digesh patel
2014-05-13  9:36   ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox