[U-Boot-Users] Error building 1.0

Ed Okerson eokerson at texasconnect.net
Tue Nov 11 04:39:57 CET 2003


I am trying to build u-boot-1.0.0 for the dbau1x00 platform with
gcc-2.95.4 and get the following error:

mipsel-linux-gcc -g  -Os   -D__KERNEL__ -DTEXT_BASE=0xbfc00000
-I/home/eokerson/AMD/u-boot-1.0.0/include -fno-builtin -ffreestanding
-nostdinc -isystem /usr/lib/gcc-lib/mipsel-linux/2.95.4/include -pipe
-DCONFIG_MIPS -D__MIPS__ -EB -mabicalls -Wall -Wstrict-prototypes -c -o
vsprintf.o vsprintf.c
vsprintf.c: In function `vsprintf':
vsprintf.c:194: `__PTRDIFF_TYPE__' undeclared (first use in this function)
vsprintf.c:194: (Each undeclared identifier is reported only once
vsprintf.c:194: for each function it appears in.)
vsprintf.c:194: parse error before `args'
vsprintf.c:194: parse error before `args'
vsprintf.c:194: warning: left-hand operand of comma expression has no
effect
vsprintf.c:210: parse error before `args'
vsprintf.c:210: parse error before `args'
vsprintf.c:210: warning: left-hand operand of comma expression has no
effect
vsprintf.c:231: parse error before `args'
vsprintf.c:231: parse error before `args'
vsprintf.c:231: warning: left-hand operand of comma expression has no
effect
vsprintf.c:237: parse error before `args'
vsprintf.c:237: parse error before `args'
vsprintf.c:237: warning: left-hand operand of comma expression has no
effect
vsprintf.c:258: parse error before `args'
vsprintf.c:258: parse error before `args'
vsprintf.c:258: warning: left-hand operand of comma expression has no
effect
vsprintf.c:265: parse error before `args'
vsprintf.c:265: parse error before `args'
vsprintf.c:265: warning: left-hand operand of comma expression has no
effect
vsprintf.c:268: parse error before `args'
vsprintf.c:268: parse error before `args'
vsprintf.c:268: warning: left-hand operand of comma expression has no
effect
vsprintf.c:303: parse error before `args'
vsprintf.c:303: parse error before `args'
vsprintf.c:303: warning: left-hand operand of comma expression has no
effect
vsprintf.c:305: parse error before `args'
vsprintf.c:305: parse error before `args'
vsprintf.c:305: warning: left-hand operand of comma expression has no
effect
vsprintf.c:309: parse error before `args'
vsprintf.c:309: parse error before `args'
vsprintf.c:309: warning: left-hand operand of comma expression has no
effect
vsprintf.c:311: parse error before `args'
vsprintf.c:311: parse error before `args'
vsprintf.c:311: warning: left-hand operand of comma expression has no
effect
make[1]: *** [vsprintf.o] Error 1
make[1]: Leaving directory `/home/eokerson/AMD/u-boot-1.0.0/lib_generic'
make: *** [subdirs] Error 1

Any suggestions on how to fix this would be greatly appreciated.

Ed Okerson





More information about the U-Boot mailing list