All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Error while compiling U-Boot for beagleboard
@ 2009-11-07 12:33 Chetan Nanda
  2009-11-07 13:46 ` Dirk Behme
  0 siblings, 1 reply; 3+ messages in thread
From: Chetan Nanda @ 2009-11-07 12:33 UTC (permalink / raw)
  To: u-boot

Hi List,

I am trying to compile U-Boot for beagleboard. I have run following
commands:

make CROSS_COMPILE=arm-none-linux-gnueabi- mrproper
make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_config
make CROSS_COMPILE=arm-none-linux-gnueabi-

But it resulted in following error:

make[1]: Entering directory
`/media/DISK_VOL2/Work/beagleboard/sw/code/uboot/u-boot-main/lib_arm'
arm-none-linux-gnueabi-gcc  -g  -Os   -fno-common -ffixed-r8 -msoft-float
-D__KERNEL__ -DTEXT_BASE=0x80e80000
-I/media/DISK_VOL2/Work/beagleboard/sw/code/uboot/u-boot-main/include
-fno-builtin -ffreestanding -nostdinc -isystem
/root/CodeSourcery/arm-2009q3/bin/../lib/gcc/arm-none-linux-gnueabi/4.4.1/include
-pipe  -DCONFIG_ARM -D__ARM__ -marm  -mabi=aapcs-linux -mno-thumb-interwork
-march=armv5 -Wall -Wstrict-prototypes -fno-stack-protector   -o board.o
board.c -c
board.c:96: error: inline function 'coloured_LED_init' cannot be declared
weak
board.c:98: error: inline function 'red_LED_on' cannot be declared weak
board.c:100: error: inline function 'red_LED_off' cannot be declared weak
board.c:102: error: inline function 'green_LED_on' cannot be declared weak
board.c:104: error: inline function 'green_LED_off' cannot be declared weak
board.c:106: error: inline function 'yellow_LED_on' cannot be declared weak
board.c:108: error: inline function 'yellow_LED_off' cannot be declared weak
board.c:110: error: inline function 'blue_LED_on' cannot be declared weak
board.c:112: error: inline function 'blue_LED_off' cannot be declared weak

I get the U-Boot code from Git repository few days back using:

git clone git://git.denx.de/u-boot.git u-boot-main
cd u-boot-main
git checkout --track -b omap3 origin/master


Am I missing anything here?

Thanks,
Chetan Nanda

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

end of thread, other threads:[~2009-11-08 14:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-07 12:33 [U-Boot] Error while compiling U-Boot for beagleboard Chetan Nanda
2009-11-07 13:46 ` Dirk Behme
2009-11-08 14:07   ` Chetan Nanda

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.