[U-Boot-Users] UBOOT COMPILATION

Hi,
I am trying to compile u-boot.1.1.3, I did the following commands:
make at91rm9200dk_config make
And I've got the following error:
arm-linux-gcc -M -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -mshort-load-bytes -msoft-float -D__KERNEL__ -DTEXT_BASE=0x21f00000 -/root/uboot/u-boot-1.1.3/include -fno-builtin -ffreestanding -nostdinc -isystem include -pipe -DCONFIG_ARM -D__ARM__ -mapcs-32 -march=armv4 -Wall -strict-prototypes cache_8xx.S cache.c codec.c cpu.c dsp.c ether.c i2c.c memory.c post.c rtc.c spr.c sysmon.c tests.c uart.c usb.c watchdog.c > .depend
In file included from cache.c:24: /root/uboot/u-boot-1.1.3/include/common.h:40: stdarg.h: No such file or directory
I checked my compiler parameters and the results are:
[root@carloscoelho ~]# arm-linux-gcc -v Using builtin specs. gcc version 2.95.3 20010315 (release)
[root@carlosrenato ~]# arm-linux-gcc -dumpmachine arm-linux
[root@carloscoelho ~]# arm-linux-gcc -print-search-dirs install: /usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3/ programs: /usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3/:/usr/local/arm-linux/lib/gcc-lib/arm-linux/:/usr/lib/gcc/arm-linux/2.95.3/:/usr/lib/gcc/arm-linux/:/usr/local/arm-linux/arm-linux/bin/arm-linux/2.95.3/:/usr/local/arm-linux/arm-linux/bin/ libraries: /usr/local/arm-linux/lib/gcc-lib/arm-linux/2.95.3/:/usr/lib/gcc/arm-linux/2.95.3/:/usr/local/arm-linux/arm-linux/lib/arm-linux/2.95.3/:/usr/local/arm-linux/arm-linux/lib/
Does someone had this problem before?
Regards,
Carlos

In message 001701c6b0e4$70aa2a30$7c01a8c0@corp.tasksistemas.com.br you wrote:
I am trying to compile u-boot.1.1.3, I did the following commands:
...
gcc version 2.95.3 20010315 (release)
You are using very old (= obsolete) versions of both U-Boot and your toolchain. Do yourself a favour and update both. Then try again.
Best regards,
Wolfgang Denk
participants (2)
-
Carlos Coelho
-
Wolfgang Denk