<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.8">
</HEAD>
<BODY>
Hi all,<BR>
<BR>
I'm a newbie in u-boot, then sorry for all my fool questions.<BR>
<BR>
I'm trying to compile u-boot for smdk2410, but I have an error. <BR>
<BR>
This is what I have:<BR>
<BR>
..............<BR>
make[1]: Leaving directory `/root/u-boot-0.4.8_new/drivers'<BR>
make[1]: Entering directory `/root/u-boot-0.4.8_new/drivers/sk98lin'<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skge.o skge.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skaddr.o skaddr.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skgehwt.o skgehwt.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skgeinit.o skgeinit.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skgepnmi.o skgepnmi.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skgesirq.o skgesirq.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o ski2c.o ski2c.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o sklm80.o sklm80.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skqueue.o skqueue.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skrlmt.o skrlmt.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o sktimer.o sktimer.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skvpd.o skvpd.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skxmac2.o skxmac2.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o skcsum.o skcsum.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o uboot_skb.o uboot_skb.c<BR>
arm-linux-gcc -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -Wstrict-prototypes -I. -DSK_USE_CSUM&nbsp; -g&nbsp; -Os&nbsp;&nbsp; -fno-strict-aliasing&nbsp; -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&nbsp; -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4&nbsp; -c -o uboot_drv.o uboot_drv.c<BR>
In file included from /root/u-boot-0.4.8_new/include/common.h:40,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from uboot_drv.c:26:<BR>
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: parse error before `__gnuc_va_list'<BR>
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:43: warning: data definition has no type or storage class<BR>
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:110: parse error before `va_list'<BR>
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/stdarg.h:110: warning: data definition has no type or storage class<BR>
In file included from uboot_drv.c:26:<BR>
/root/u-boot-0.4.8_new/include/common.h:438: parse error before `va_list'<BR>
/root/u-boot-0.4.8_new/include/common.h:438: warning: function declaration isn't a prototype<BR>
/root/u-boot-0.4.8_new/include/common.h:468: parse error before `va_list'<BR>
/root/u-boot-0.4.8_new/include/common.h:468: warning: function declaration isn't a prototype<BR>
make[1]: *** [uboot_drv.o] Error 1<BR>
make[1]: Leaving directory `/root/u-boot-0.4.8_new/drivers/sk98lin'<BR>
make: *** [subdirs] Error 1<BR>
<BR>
these are my compilers:<BR>
<BR>
gcc-3.2.2-5<BR>
gcc-c++-3.2.2-5<BR>
libgcc-3.2.2-5<BR>
gcc-g77-3.2.2-5<BR>
gcc-java-3.2.2-5<BR>
gcc-objc-3.2.2-5<BR>
<BR>
and these are my glibc<BR>
<BR>
glibc-common-2.3.2-5<BR>
glibc-2.3.2-5<BR>
glibc-devel-2.3.2-5<BR>
glibc-kernheaders-2.4-8.10<BR>
<BR>
thanks in advance for the help !!<BR>
<BR>
<BR>
best regards<BR>
<BR>
@le
</BODY>
</HTML>