Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] error while building kernel linux 2.6.19
Date: Tue, 13 May 2014 11:36:31 +0200	[thread overview]
Message-ID: <20140513113631.72cd9fea@free-electrons.com> (raw)
In-Reply-To: <CA+1cARyZ-JiXanYHDq7AAyd+3O7VhcOwnjjaULqBKMYQoNN4QA@mail.gmail.com>

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

      reply	other threads:[~2014-05-13  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140513113631.72cd9fea@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox