[U-Boot-Users] RFC: make new image support mandatory
Haavard Skinnemoen
haavard.skinnemoen at atmel.com
Wed Mar 26 16:28:16 CET 2008
On Wed, 26 Mar 2008 15:16:44 +0100
Wolfgang Denk <wd at denx.de> wrote:
> Can we agree on this?
Can we please un-break the existing tree first?
gcc -g -Wall -idirafter /home/hskinnemoen/git/u-boot/upstream/include -idirafter /home/hskinnemoen/git/u-boot/upstream/include2 -idirafter /home/hskinnemoen/git/u-boot/upstream/include -DTEXT_BASE=0x00000000 -DUSE_HOSTCC -O -c -o fdt.o fdt.c
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:156: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_magic’:
../include/libfdt.h:156: error: ‘struct fdt_header’ has no member named ‘magic’
../include/libfdt.h:156: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h:156: error: (Each undeclared identifier is reported only once
../include/libfdt.h:156: error: for each function it appears in.)
../include/libfdt.h: At top level:
../include/libfdt.h:157: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_totalsize’:
../include/libfdt.h:157: error: ‘struct fdt_header’ has no member named ‘totalsize’
../include/libfdt.h:157: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:158: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_off_dt_struct’:
../include/libfdt.h:158: error: ‘struct fdt_header’ has no member named ‘off_dt_struct’
../include/libfdt.h:158: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:159: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_off_dt_strings’:
../include/libfdt.h:159: error: ‘struct fdt_header’ has no member named ‘off_dt_strings’
../include/libfdt.h:159: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:160: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_off_mem_rsvmap’:
../include/libfdt.h:160: error: ‘struct fdt_header’ has no member named ‘off_mem_rsvmap’
../include/libfdt.h:160: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:161: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_version’:
../include/libfdt.h:161: error: ‘struct fdt_header’ has no member named ‘version’
../include/libfdt.h:161: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:162: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_set_last_comp_version’:
../include/libfdt.h:162: error: ‘struct fdt_header’ has no member named ‘last_comp_version’
../include/libfdt.h:162: error: ‘val’ undeclared (first use in this function)
../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_boot_cpuid_phys’:
../include/libfdt.h:163: error: ‘struct fdt_header’ has no member named ‘boot_cpuid_phys’
../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_size_dt_strings’:
../include/libfdt.h:164: error: ‘struct fdt_header’ has no member named ‘size_dt_strings’
../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_size_dt_struct’:
../include/libfdt.h:165: error: ‘struct fdt_header’ has no member named ‘size_dt_struct’
../include/libfdt.h:165: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:251: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:251: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fdt_get_phandle’
../include/libfdt.h:590: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h:718: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_setprop_inplace_cell’:
../include/libfdt.h:720: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:779: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:779: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:783: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_property_cell’:
../include/libfdt.h:785: error: ‘val’ undeclared (first use in this function)
../include/libfdt.h: At top level:
../include/libfdt.h:822: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:822: error: expected declaration specifiers or ‘...’ before ‘uint64_t’
../include/libfdt.h:908: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
../include/libfdt.h: In function ‘fdt_setprop_cell’:
../include/libfdt.h:910: error: ‘val’ undeclared (first use in this function)
In file included from fdt.c:60:
libfdt_internal.h: At top level:
libfdt_internal.h:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_fdt_next_tag’
libfdt_internal.h: In function ‘_fdt_offset_ptr’:
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h:67: error: ‘const struct fdt_header’ has no member named ‘off_dt_struct’
libfdt_internal.h: In function ‘_fdt_mem_rsv’:
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
libfdt_internal.h:78: error: ‘const struct fdt_header’ has no member named ‘off_mem_rsvmap’
fdt.c: In function ‘fdt_check_header’:
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:64: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:66: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:68: error: ‘const struct fdt_header’ has no member named ‘last_comp_version’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:70: error: ‘const struct fdt_header’ has no member named ‘magic’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:72: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c: In function ‘fdt_offset_ptr’:
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:85: error: ‘const struct fdt_header’ has no member named ‘version’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c:87: error: ‘const struct fdt_header’ has no member named ‘size_dt_struct’
fdt.c: At top level:
fdt.c:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fdt_next_tag’
fdt.c: In function ‘fdt_move’:
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:155: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
fdt.c:158: error: ‘const struct fdt_header’ has no member named ‘totalsize’
make[1]: *** [fdt.o] Error 1
make[1]: Leaving directory `/home/hskinnemoen/git/u-boot/upstream/tools'
make: *** [tools] Error 2
$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-2)
Haavard
More information about the U-Boot
mailing list