All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alessio Raccis <alessio.raccis@akhela.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] compiling error
Date: 07 Oct 2004 19:27:50 +0200	[thread overview]
Message-ID: <1097170069.2908.15.camel@BART> (raw)

Hi all,

I'm a newbie in u-boot, then sorry for all my fool questions.

I'm trying to compile u-boot for smdk2410, but I have an error. 

This is what I have:

..............
make[1]: Leaving directory `/root/u-boot-0.4.8_new/drivers'
make[1]: Entering directory `/root/u-boot-0.4.8_new/drivers/sk98lin'
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 skge.o skge.c
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 skaddr.o skaddr.c
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 skgehwt.o skgehwt.c
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 skgeinit.o skgeinit.c
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 skgepnmi.o skgepnmi.c
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 skgesirq.o skgesirq.c
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 ski2c.o ski2c.c
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 sklm80.o sklm80.c
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 skqueue.o skqueue.c
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 skrlmt.o skrlmt.c
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 sktimer.o sktimer.c
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 skvpd.o skvpd.c
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 skxmac2.o skxmac2.c
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 skcsum.o skcsum.c
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_skb.o uboot_skb.c
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

these are my compilers:

gcc-3.2.2-5
gcc-c++-3.2.2-5
libgcc-3.2.2-5
gcc-g77-3.2.2-5
gcc-java-3.2.2-5
gcc-objc-3.2.2-5

and these are my glibc

glibc-common-2.3.2-5
glibc-2.3.2-5
glibc-devel-2.3.2-5
glibc-kernheaders-2.4-8.10

thanks in advance for the help !!


best regards

@le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20041007/6101604c/attachment.htm 

             reply	other threads:[~2004-10-07 17:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-07 17:27 Alessio Raccis [this message]
2004-10-07 18:36 ` [U-Boot-Users] compiling error Wolfgang Denk
2004-10-07 23:54 ` Detlev Zundel
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=1097170069.2908.15.camel@BART \
    --to=alessio.raccis@akhela.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.