From: Dirk Behme <dirk.behme@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Error while compiling U-Boot for beagleboard
Date: Sat, 07 Nov 2009 14:46:59 +0100 [thread overview]
Message-ID: <4AF57A53.6050304@googlemail.com> (raw)
In-Reply-To: <7f245da80911070433k3b4f68ees928399b3ee163b3a@mail.gmail.com>
Chetan Nanda wrote:
> 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
Could you try
http://lists.denx.de/pipermail/u-boot/2009-November/063601.html
?
What is your output of
arm-none-linux-gnueabi-gcc -v
?
If it's older than
gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203)
please try to update your tool chain.
Best regards
Dirk
next prev parent reply other threads:[~2009-11-07 13:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-07 12:33 [U-Boot] Error while compiling U-Boot for beagleboard Chetan Nanda
2009-11-07 13:46 ` Dirk Behme [this message]
2009-11-08 14:07 ` Chetan Nanda
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=4AF57A53.6050304@googlemail.com \
--to=dirk.behme@googlemail.com \
--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.