[U-Boot] compile the u-boot
Jilin Zhou
jzhou at qnx.com
Fri Jan 13 01:18:19 CET 2012
Hi Albert,
Thanks for the reply. My host environment is Mac. Our company has a cross compiler toolchain for armv7.
The commands I run are as follows:
1. export CROSS_COMPILE=ntoarmv7-
2. make omap4_panda_config
3. make all
We use this cross compiler every day and it should be fine.
Anywhere I made it wrong? Thanks.
Jilin
----- Original Message -----
From: Albert ARIBAUD [mailto:albert.u.boot at aribaud.net]
Sent: Thursday, January 12, 2012 05:27 PM
To: Jilin Zhou
Cc: u-boot at lists.denx.de <u-boot at lists.denx.de>
Subject: Re: [U-Boot] compile the u-boot
Hi Jilin,
Le 12/01/2012 21:42, Jilin Zhou a écrit :
> Hi there,
>
> Today I downloaded u-boot-2011.12. When I tried to build the u-boot for omap4_panda, I go the following error msg:
>
> /u-boot-2011.12/include/common.h:744: error: expected declaration specifiers or '...' before 'va_list'
> In file included from lib/asm-offsets.c:18:
> /u-boot-2011.12/include/common.h:777: error: expected declaration specifiers or '...' before 'va_list'
> make: *** [lib/asm-offsets.s] Error 1
>
> What is the issue?
Seems it is on your side: I don't get these errors when I build this
board, with ELDK42.
What compiler and which build command do you us?
> Thanks,
>
> Jilin
Amicalement,
--
Albert.
More information about the U-Boot
mailing list