public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, and errors came out
Date: Fri, 26 Jun 2009 14:41:35 +0200	[thread overview]
Message-ID: <m2hby36ubk.fsf@ohwell.denx.de> (raw)
In-Reply-To: <4A448CEA.6070506@yahoo.co.uk> (Johnson Yu's message of "Fri, 26 Jun 2009 16:55:06 +0800")

Hi Johnson Y,

> I met several compiling errors as below:
>
> make -C cpu/arm920t/at91rm9200/
> make[1]: Entering directory 
> `/home/johnson-yn/GEARI/u-boot-2009.06/cpu/arm920t/at91rm9200'
> arm-linux-gcc: lowlevel_init.o: No such file or directory
> arm-linux-gcc: unrecognized option `-MQ'

[...]

>
> Is that possibly because of the version of the cross compiler?? and 
> should I raise it to cross 3.2 or higher to solve this problem??

The error message is clear - the U-Boot build uses an option which your
compiler does not understand.  You have two ways of fixing this

1) upgrade your toolchain to a compiler understanding -MQ
2) "downgrade" the U-Boot buildprocess for your toolchain

I advise 1) as 2) invests time into something you will need to abandon
sometime anyhow.

Cheers
  Detlev

-- 
Those who would trade safety for freedom deserve neither.
           -- Thomas Jefferson
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

  parent reply	other threads:[~2009-06-26 12:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3291.1245991821.8190.u-boot@lists.denx.de>
2009-06-26  8:55 ` [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, and errors came out Johnson Yu
2009-06-26 11:19   ` [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, null
2009-06-26 12:41   ` Detlev Zundel [this message]
2009-06-29  6:40     ` [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, and errors came out Johnson Yu
2009-06-29 11:39       ` Detlev Zundel

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=m2hby36ubk.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /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