From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] compiling error
Date: Fri, 08 Oct 2004 01:54:56 +0200 [thread overview]
Message-ID: <87brfegk33.fsf@deepthought.outer.space.org> (raw)
In-Reply-To: <1097170069.2908.15.camel@BART> (Alessio Raccis's message of "07 Oct 2004 19:27:50 +0200")
Hi Alessio,
> arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8
> -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/
> u-boot-0.4.8_new/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/
> lib/gcc-lib/i386-redhat-linux/3.2.2/include -pipe -DCONFIG_ARM -D__ARM__
> -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM -g -Os
> -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float
> -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/root/u-boot-0.4.8_new/include
> -fno-builtin -ffreestanding -nostdinc -isystem /usr/lib/gcc-lib/
> i386-redhat-linux/3.2.2/include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=
> armv4 -c -o uboot_drv.o uboot_drv.c
> In file included from /root/u-boot-0.4.8_new/include/common.h:40,
> from uboot_drv.c:26:
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: parse error
> before `__gnuc_va_list'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: warning: data
> definition has no type or storage class
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:110: parse error
> before `va_list'
> /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:110: warning: data
> definition has no type or storage class
> In file included from uboot_drv.c:26:
> /root/u-boot-0.4.8_new/include/common.h:438: parse error before `va_list'
> /root/u-boot-0.4.8_new/include/common.h:438: warning: function declaration
> isn't a prototype
> /root/u-boot-0.4.8_new/include/common.h:468: parse error before `va_list'
> /root/u-boot-0.4.8_new/include/common.h:468: warning: function declaration
> isn't a prototype
> make[1]: *** [uboot_drv.o] Error 1
> make[1]: Leaving directory `/root/u-boot-0.4.8_new/drivers/sk98lin'
> make: *** [subdirs] Error 1
First - U-Boot 0.4.8 is _old_ try the CVS version
Second - it looks like your arm-linux cross-compiler picks up i386
headers on the way which is not very friendly. Try a different tool
chain.
> these are my compilers:
>
> gcc-3.2.2-5
Just out of curiosity where does this come from? The -5 hints at a
distribution and not at self built toolchains so I just wondered.
Cheers
Detlev
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
next prev parent reply other threads:[~2004-10-07 23:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-07 17:27 [U-Boot-Users] compiling error Alessio Raccis
2004-10-07 18:36 ` Wolfgang Denk
2004-10-07 23:54 ` Detlev Zundel [this message]
2004-10-08 8:06 ` Alessio Raccis
2004-10-08 11:46 ` Wolfgang Denk
2004-10-08 12:24 ` Alessio Raccis
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=87brfegk33.fsf@deepthought.outer.space.org \
--to=dzu@denx.de \
--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