[U-Boot-Users] RFC: make new image support mandatory

Stefan Roese sr at denx.de
Thu Mar 27 08:04:12 CET 2008


On Thursday 27 March 2008, Jerry Van Baren wrote:
> I also am running debian and am getting the error.  Apparently our
> /usr/include/linux/types.h files are different from yours, or we have
> something set up differently/wrongly.
>
> Adding -isystem ../include (to override the host's include files) to
> FIT_FLAGS "fixes" the problem.

I'm running Ubuntu and am getting this errors too. Even without
enabling CONFIG_FIT:

[stefan at ubuntu u-boot-ppc4xx (master)]$ ./MAKEALL sequoia
Configuring for sequoia board...
In file included from fdt_host.h:24,
                 from fdt.c:57:
../include/fdt.h:7: error: expected specifier-qualifier-list before ‘uint32_t’
../include/fdt.h:26: error: expected specifier-qualifier-list before ‘uint64_t’
../include/fdt.h:31: error: expected specifier-qualifier-list before ‘uint32_t’
../include/fdt.h:36: error: expected specifier-qualifier-list before ‘uint32_t’
In file included from fdt_host.h:25,
                 from fdt.c:57:
../include/libfdt.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fdt_next_tag’
../include/libfdt.h:162: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_magic’:
../include/libfdt.h:162: error: ‘struct fdt_header’ has no member named ‘magic’
../include/libfdt.h:162: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h:162: error: (Each undeclared identifier is reported only once
../include/libfdt.h:162: error: for each function it appears in.)
../include/libfdt.h: At top level:
../include/libfdt.h:163: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_totalsize’:
../include/libfdt.h:163: error: ‘struct fdt_header’ has no member named ‘totalsize’
../include/libfdt.h:163: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:164: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_off_dt_struct’:
../include/libfdt.h:164: error: ‘struct fdt_header’ has no member named ‘off_dt_struct’
../include/libfdt.h:164: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:165: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_off_dt_strings’:
../include/libfdt.h:165: error: ‘struct fdt_header’ has no member named ‘off_dt_strings’

....


Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================




More information about the U-Boot mailing list