[U-Boot-Users] compiling error

Alessio Raccis alessio.raccis at akhela.com
Thu Oct 7 19:27:50 CEST 2004


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 


More information about the U-Boot mailing list