From: Komal Shah <komal_shah802003@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] smc91111.c : error: label at end of compound statement
Date: Wed, 26 Jan 2005 22:39:51 -0800 (PST) [thread overview]
Message-ID: <20050127063951.66064.qmail@web53603.mail.yahoo.com> (raw)
Hi All,
I have tried to cross-compile (arm-linux-gcc-3.4.0)
u-boot source-code with smc91111.c driver enabled. I
am getting this error, because of recent changes in
gcc-3.4.x series to detect them.
----------snip--------------
arm-linux-gcc -g -Os -fno-strict-aliasing
-fno-common -ffixed-r8 -D__KERNEL__
-DTEXT_BASE=0x80e80000 -I/home/bluesky/u-boot/include
-fno-builtin -ffreestanding -nostdinc -isystem
/public/data/omapts/linux/arm-tc/gcc-3.4.0-1/bin/../lib/gcc/arm-linux/3.4.0/include
-pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv6
-Wall -Wstrict-prototypes -c -o smc91111.o smc91111.c
smc91111.c: In function `smc_phy_configure':
smc91111.c:1343: error: label at end of compound
statement
make[1]: *** [smc91111.o] Error 1
make[1]: Leaving directory
`/home/bluesky/u-boot/drivers'
make: *** [drivers/libdrivers.a] Error 2
----------snip--------------
code snippet:
----------snip--------------
/* Re-Configure the Receive/Phy Control
register */
SMC_outw (RPC_DEFAULT, RPC_REG);
smc_phy_configure_exit:
}
----------snip--------------
It seems to me that no one there tried the above
combination. Simple solution is to put some dummy
varibale initialisation _or_ is there any compiler
switch to make it as warning.
=====
---Komal Shah
__________________________________
Do you Yahoo!?
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
next reply other threads:[~2005-01-27 6:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-27 6:39 Komal Shah [this message]
2005-01-27 8:10 ` [U-Boot-Users] smc91111.c : error: label at end of compound statement Wolfgang Denk
2005-01-27 8:30 ` Komal Shah
2005-01-27 9:47 ` [U-Boot-Users] " Catalin Marinas
2005-01-28 19:37 ` Wolfgang Denk
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=20050127063951.66064.qmail@web53603.mail.yahoo.com \
--to=komal_shah802003@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox