From: Andy Pont Date: Mon, 29 Oct 2007 20:08:01 +0000 (GMT) Subject: [U-Boot-Users] MPC8349 cross compile issues Message-ID: <115495.7870.qm@web50903.mail.re2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I am trying to compile the 1.3.0-rc3 source tree for the Freescale MPC8349GP miniITX board using the cross compilers that ship with the MontaVista development environment. The following is the output that I get... $ make MPC8349ITXGP_config Configuring for MPC8349ITXGP board... $ make CROSS_COMPILE=ppc_83xx- for dir in tools examples ; do make -C $dir _depend ; done make[1]: Entering directory `/home/andy/uboot/u-boot-1.3.0-rc3/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/andy/uboot/u-boot-1.3.0-rc3/tools' make[1]: Entering directory `/home/andy/uboot/u-boot-1.3.0-rc3/examples' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/home/andy/uboot/u-boot-1.3.0-rc3/examples' make -C tools all make[1]: Entering directory `/home/andy/uboot/u-boot-1.3.0-rc3/tools' gcc -g -Wall -pedantic -idirafter /home/andy/uboot/u-boot-1.3.0-rc3/include -idi rafter /home/andy/uboot/u-boot-1.3.0-rc3/include2 -idirafter /home/andy/uboot/u- boot-1.3.0-rc3/include -DTEXT_BASE=0xFE000000 -DUSE_HOSTCC -O -c -o sha1.o sha1. c In file included from /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/string.h:4 , from sha1.c:32: /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:111: error: parse error before "uint64_t" /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:111: error: ISO C forbid s data definition with no type or storage class /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:112: error: parse error before "u_int64_t" /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:112: error: ISO C forbid s data definition with no type or storage class /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:113: error: parse error before "int64_t" /home/andy/uboot/u-boot-1.3.0-rc3/include/linux/types.h:113: error: ISO C forbid s data definition with no type or storage class make[1]: *** [sha1.o] Error 1 make[1]: Leaving directory `/home/andy/uboot/u-boot-1.3.0-rc3/tools' make: *** [tools] Error 2 I have the same problem with all the 1.3.0 release candidates but the 1.2.0 source tree builds without problem. Anyone know what I am missing? TIA AndyP ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/