From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Lange Date: Tue, 11 Nov 2003 11:18:29 +0100 Subject: [U-Boot-Users] Error building 1.0 In-Reply-To: References: Message-ID: <3FB0B775.3000105@corelatus.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I tried the ELDK from www.denx.de and it compiles fine. With hardhat crosscompiler, I get the same error. /Thomas Ed Okerson wrote: > 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 > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >