All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johnson Yu <johnson.yn83@yahoo.co.uk>
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: Mon, 29 Jun 2009 14:40:36 +0800	[thread overview]
Message-ID: <4A4861E4.1050901@yahoo.co.uk> (raw)
In-Reply-To: <m2hby36ubk.fsf@ohwell.denx.de>

Hi Detlev Z,


Thanks for your suggestions, and after I upgraded the toolchain to v3.2, 
those problems went away.

However, new errors turned up as expected:

1) the invocations of U_BOOT_CMD in several .c files, common/cmd_bootm.c 
line 923, common/cmd_source.c line 232, common/cmd_ximg.c line 186 
terminated the make process for the "unterminated argument list invoking 
macro "U_BOOT_CMD" ", known as the "parse error". So, I set the last 
argument of U_BOOT_CMD marco to NULL, and then make went silent.

2) this error came at the linking stage:

  
"arm-linux-ld:/home/johnson-yn/GEARI/u-boot-2009.06/board/atmel/at91rm9200dk/u-boot.lds:40: 
parse error
make: *** [u-boot] Error 1"

and the line 40 of u-boot.lds is :

 .rodata : { *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))) }

how should I solve this?


If I just don't need use NAND flash module in u-boot, what are the steps 
I should take??


Regards,

Johnson Yu



Detlev Zundel wrote:
> 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
>
>   


		
___________________________________________________________ 
Try the all-new Yahoo! Mail. "The New Version is radically easier to use" ? The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html

  reply	other threads:[~2009-06-29  6:40 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   ` [U-Boot] Compiling the latest u-boot-2009.06 with Cross-2.95, and errors came out Detlev Zundel
2009-06-29  6:40     ` Johnson Yu [this message]
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=4A4861E4.1050901@yahoo.co.uk \
    --to=johnson.yn83@yahoo.co.uk \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.