[U-Boot-Users] UBOOT COMPILATION

Carlos Coelho carlos.coelho at tasksistemas.com.br
Wed Jul 26 20:50:58 CEST 2006


 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 at carloscoelho ~]# arm-linux-gcc -v
 Using builtin specs.
 gcc version 2.95.3 20010315 (release)

 [root at carlosrenato ~]# arm-linux-gcc -dumpmachine
 arm-linux

 [root at 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





More information about the U-Boot mailing list