[U-Boot-Users] MPC8349 cross compile issues

Andy Pont peeble73 at yahoo.com
Mon Oct 29 21:08:01 CET 2007


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/ 




More information about the U-Boot mailing list