Skip to contentSkip to conversation

MPC8349 cross compile issues

U-Boot-Users Andy Pont 2 participants 2 messages Oct 29, 2007

lore
Share & tools
lore

Andy Pont

author
#0 lore raw

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/

#1 lore raw
Quoted 5 lines · In message <[email protected]> you wrote:

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.

I guess you should contact MV technical support with such an issue.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Whom the gods would destroy, they first teach BASIC.