tole(0xa7672661L), tole(0xd06016f7L), tole(0x4969474dL), tole(0x3e6e77dbL), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:145:58: note: in expansion of macro ‘tole’ tole(0xaed16a4aL), tole(0xd9d65adcL), tole(0x40df0b66L), tole(0x37d83bf0L), ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[235]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:145:58: note: in expansion of macro ‘tole’ tole(0xaed16a4aL), tole(0xd9d65adcL), tole(0x40df0b66L), tole(0x37d83bf0L), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:146:58: note: in expansion of macro ‘tole’ tole(0xa9bcae53L), tole(0xdebb9ec5L), tole(0x47b2cf7fL), tole(0x30b5ffe9L), ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[239]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:146:58: note: in expansion of macro ‘tole’ tole(0xa9bcae53L), tole(0xdebb9ec5L), tole(0x47b2cf7fL), tole(0x30b5ffe9L), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:147:58: note: in expansion of macro ‘tole’ tole(0xbdbdf21cL), tole(0xcabac28aL), tole(0x53b39330L), tole(0x24b4a3a6L), ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[243]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:147:58: note: in expansion of macro ‘tole’ tole(0xbdbdf21cL), tole(0xcabac28aL), tole(0x53b39330L), tole(0x24b4a3a6L), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:148:58: note: in expansion of macro ‘tole’ tole(0xbad03605L), tole(0xcdd70693L), tole(0x54de5729L), tole(0x23d967bfL), ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[247]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:148:58: note: in expansion of macro ‘tole’ tole(0xbad03605L), tole(0xcdd70693L), tole(0x54de5729L), tole(0x23d967bfL), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:149:58: note: in expansion of macro ‘tole’ tole(0xb3667a2eL), tole(0xc4614ab8L), tole(0x5d681b02L), tole(0x2a6f2b94L), ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[251]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:149:58: note: in expansion of macro ‘tole’ tole(0xb3667a2eL), tole(0xc4614ab8L), tole(0x5d681b02L), tole(0x2a6f2b94L), ^~~~ ././include/compiler.h:71:2: warning: initializer element is not a constant expression [-Wpedantic] ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:150:58: note: in expansion of macro ‘tole’ tole(0xb40bbe37L), tole(0xc30c8ea1L), tole(0x5a05df1bL), tole(0x2d02ef8dL) ^~~~ ././include/compiler.h:71:2: note: (near initialization for ‘crc_table[255]’) ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:105:26: note: in expansion of macro ‘uswap_32’ # define cpu_to_le32(x) uswap_32(x) ^~~~~~~~ ./tools/../lib/crc32.c:27:17: note: in expansion of macro ‘cpu_to_le32’ #define tole(x) cpu_to_le32(x) ^~~~~~~~~~~ ./tools/../lib/crc32.c:150:58: note: in expansion of macro ‘tole’ tole(0xb40bbe37L), tole(0xc30c8ea1L), tole(0x5a05df1bL), tole(0x2d02ef8dL) ^~~~ HOSTCC tools/lib/sha1.o HOSTCC tools/lib/rc4.o HOSTCC tools/lib/sha256.o HOSTCC tools/common/hash.o HOSTCC tools/lib/libfdt/fdt.o HOSTCC tools/lib/libfdt/fdt_ro.o HOSTCC tools/lib/libfdt/fdt_wip.o HOSTCC tools/lib/libfdt/fdt_sw.o HOSTCC tools/lib/libfdt/fdt_rw.o HOSTCC tools/lib/libfdt/fdt_strerror.o HOSTCC tools/lib/libfdt/fdt_empty_tree.o HOSTCC tools/lib/libfdt/fdt_addresses.o HOSTCC tools/lib/libfdt/fdt_overlay.o HOSTCC tools/lib/libfdt/fdt_region.o HOSTLD tools/mkenvimage HOSTLD tools/mkimage HOSTLD tools/dumpimage HOSTLD tools/fdtgrep STRIP tools/mkenvimage tools/dumpimage tools/mkimage tools/proftool tools/fdtgrep PATH="/home/peko/autobuild/instance-1/output/host/bin:/home/peko/autobuild/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/peko/.local/bin:/home/peko/bin" /usr/bin/make -j16 -C /home/peko/autobuild/instance-1/output/build/uboot-tools-2017.09 CROSS_COMPILE="/home/peko/autobuild/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os " LDFLAGS="" STRIP=/home/peko/autobuild/instance-1/output/host/bin/xtensa-buildroot-linux-uclibc-strip envtools no-dot-config-targets=envtools LD tools/env/built-in.o HOSTCC tools/env/crc32.o HOSTCC tools/env/aes.o HOSTCC tools/env/ctype.o HOSTCC tools/env/env_attr.o HOSTCC tools/env/env_flags.o HOSTCC tools/env/fw_env.o HOSTCC tools/env/linux_string.o HOSTCC tools/env/fw_env_main.o AR tools/env/lib.a HOSTLD tools/env/fw_printenv STRIP tools/env/fw_printenv >>> uboot-tools 2017.09 Installing to staging directory /usr/bin/install -D -m 0755 /home/peko/autobuild/instance-1/output/build/uboot-tools-2017.09/tools/env/lib.a /home/peko/autobuild/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libubootenv.a /usr/bin/install -D -m 0644 /home/peko/autobuild/instance-1/output/build/uboot-tools-2017.09/tools/env/fw_env.h /home/peko/autobuild/instance-1/output/host/xtensa-buildroot-linux-uclibc/sysroot/usr/include/fw_env.h >>> uboot-tools 2017.09 Fixing libtool files >>> uboot-tools 2017.09 Installing to target u-boot-2017.09.tar.bz2: OK (sha256: b2d15f2cf5f72e706025cde73d67247c6da8cd35f7e10891eefe7d9095089744) >>> host-uboot-tools 2017.09 Extracting bzcat /home/peko/autobuild/instance-1/dl/u-boot-2017.09.tar.bz2 | tar --strip-components=1 -C /home/peko/autobuild/instance-1/output/build/host-uboot-tools-2017.09 -xf - >>> host-uboot-tools 2017.09 Patching Applying 0001-drop-configh-from-tools.patch using patch: patching file tools/env/fw_env_private.h Applying 0002-tools-only-in-no-dot-config-targets.patch using patch: patching file Makefile Applying 0003-Make-FIT-support-really-optional.patch using patch: patching file common/bootm.c Hunk #1 succeeded at 903 (offset 2 lines). Hunk #2 succeeded at 968 (offset 2 lines). patching file include/bootm.h patching file tools/Makefile Hunk #1 succeeded at 58 with fuzz 1 (offset 4 lines). Hunk #2 succeeded at 85 (offset 16 lines). Applying 0004-uboot-tools-disable-pylibfdt.patch using patch: patching file Kconfig Hunk #1 succeeded at 389 with fuzz 2 (offset 31 lines). patching file tools/Makefile Hunk #1 succeeded at 230 (offset 4 lines). >>> host-uboot-tools 2017.09 Configuring mkdir -p /home/peko/autobuild/instance-1/output/build/host-uboot-tools-2017.09/include/config touch /home/peko/autobuild/instance-1/output/build/host-uboot-tools-2017.09/include/config/auto.conf >>> host-uboot-tools 2017.09 Building /usr/bin/make -j1 -C /home/peko/autobuild/instance-1/output/build/host-uboot-tools-2017.09 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="-O2 -I/home/peko/autobuild/instance-1/output/host/include" HOSTLDFLAGS="-L/home/peko/autobuild/instance-1/output/host/lib -Wl,-rpath,/home/peko/autobuild/instance-1/output/host/lib" tools-only HOSTCC scripts/basic/fixdep CHK include/config/uboot.release UPD include/config/uboot.release CHK include/generated/version_autogenerated.h UPD include/generated/version_autogenerated.h CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h HOSTCC tools/mkenvimage.o HOSTCC tools/os_support.o WRAP tools/lib/crc32.c HOSTCC tools/lib/crc32.o HOSTLD tools/mkenvimage HOSTCC tools/aisimage.o HOSTCC tools/atmelimage.o WRAP tools/common/bootm.c HOSTCC tools/common/bootm.o HOSTCC tools/default_image.o WRAP tools/lib/fdtdec_common.c HOSTCC tools/lib/fdtdec_common.o WRAP tools/lib/fdtdec.c HOSTCC tools/lib/fdtdec.o WRAP tools/common/image.c HOSTCC tools/common/image.o HOSTCC tools/imagetool.o HOSTCC tools/imximage.o HOSTCC tools/kwbimage.o WRAP tools/lib/md5.c HOSTCC tools/lib/md5.o HOSTCC tools/lpc32xximage.o HOSTCC tools/mxsimage.o HOSTCC tools/omapimage.o HOSTCC tools/pblimage.o HOSTCC tools/pbl_crc32.o HOSTCC tools/vybridimage.o WRAP tools/lib/rc4.c HOSTCC tools/lib/rc4.o HOSTCC tools/rkcommon.o HOSTCC tools/rkimage.o HOSTCC tools/rksd.o HOSTCC tools/rkspi.o HOSTCC tools/socfpgaimage.o WRAP tools/lib/sha1.c HOSTCC tools/lib/sha1.o WRAP tools/lib/sha256.c HOSTCC tools/lib/sha256.o WRAP tools/common/hash.c HOSTCC tools/common/hash.o HOSTCC tools/ublimage.o HOSTCC tools/zynqimage.o HOSTCC tools/zynqmpimage.o WRAP tools/lib/libfdt/fdt.c HOSTCC tools/lib/libfdt/fdt.o WRAP tools/lib/libfdt/fdt_ro.c HOSTCC tools/lib/libfdt/fdt_ro.o WRAP tools/lib/libfdt/fdt_wip.c HOSTCC tools/lib/libfdt/fdt_wip.o WRAP tools/lib/libfdt/fdt_sw.c HOSTCC tools/lib/libfdt/fdt_sw.o WRAP tools/lib/libfdt/fdt_rw.c HOSTCC tools/lib/libfdt/fdt_rw.o WRAP tools/lib/libfdt/fdt_strerror.c HOSTCC tools/lib/libfdt/fdt_strerror.o WRAP tools/lib/libfdt/fdt_empty_tree.c HOSTCC tools/lib/libfdt/fdt_empty_tree.o WRAP tools/lib/libfdt/fdt_addresses.c HOSTCC tools/lib/libfdt/fdt_addresses.o WRAP tools/lib/libfdt/fdt_overlay.c HOSTCC tools/lib/libfdt/fdt_overlay.o WRAP tools/lib/libfdt/fdt_region.c HOSTCC tools/lib/libfdt/fdt_region.o HOSTCC tools/gpimage.o HOSTCC tools/gpimage-common.o HOSTCC tools/dumpimage.o HOSTLD tools/dumpimage HOSTCC tools/mkimage.o HOSTLD tools/mkimage HOSTCC tools/proftool HOSTCC tools/fdtgrep.o tools/fdtgrep.c:228:21: error: array type has incomplete element type struct fdt_region region[], int count) ^ tools/fdtgrep.c:228:10: warning: ‘struct fdt_region’ declared inside parameter list [enabled by default] struct fdt_region region[], int count) ^ tools/fdtgrep.c:228:10: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] tools/fdtgrep.c: In function ‘display_fdt_by_regions’: tools/fdtgrep.c:272:20: error: ‘FDT_REG_ADD_MEM_RSVMAP’ undeclared (first use in this function) if (disp->flags & FDT_REG_ADD_MEM_RSVMAP) { ^ tools/fdtgrep.c:272:20: note: each undeclared identifier is reported only once for each function it appears in tools/fdtgrep.c:305:39: error: dereferencing pointer to incomplete type if (reg < reg_end && file_ofs >= reg->offset + reg->size) ^ tools/fdtgrep.c:305:53: error: dereferencing pointer to incomplete type if (reg < reg_end && file_ofs >= reg->offset + reg->size) ^ tools/fdtgrep.c:306:7: error: increment of pointer to unknown structure reg++; ^ tools/fdtgrep.c:306:4: error: arithmetic on pointer to an incomplete type reg++; ^ tools/fdtgrep.c:307:47: error: dereferencing pointer to incomplete type in_region = reg < reg_end && file_ofs >= reg->offset && ^ tools/fdtgrep.c:308:19: error: dereferencing pointer to incomplete type file_ofs < reg->offset + reg->size; ^ tools/fdtgrep.c:308:33: error: dereferencing pointer to incomplete type file_ofs < reg->offset + reg->size; ^ tools/fdtgrep.c:381:21: error: dereferencing pointer to incomplete type file_ofs >= reg->offset && ^ tools/fdtgrep.c:382:26: error: dereferencing pointer to incomplete type file_ofs + len < reg->offset + ^ tools/fdtgrep.c:383:10: error: dereferencing pointer to incomplete type reg->size; ^ tools/fdtgrep.c: At top level: tools/fdtgrep.c:424:21: error: array type has incomplete element type struct fdt_region region[], int count, char *out) ^ tools/fdtgrep.c:424:10: warning: ‘struct fdt_region’ declared inside parameter list [enabled by default] struct fdt_region region[], int count, char *out) ^ tools/fdtgrep.c: In function ‘dump_fdt_regions’: tools/fdtgrep.c:451:34: error: ‘FDT_REG_ADD_MEM_RSVMAP’ undeclared (first use in this function) if (count > 0 && (disp->flags & FDT_REG_ADD_MEM_RSVMAP)) { ^ tools/fdtgrep.c:458:35: error: ‘FDT_REG_ADD_STRING_TAB’ undeclared (first use in this function) if (count >= 2 && (disp->flags & FDT_REG_ADD_STRING_TAB)) { ^ tools/fdtgrep.c:480:45: error: dereferencing pointer to incomplete type memcpy(out + ptr, (const char *)blob + reg->offset, reg->size); ^ tools/fdtgrep.c:480:58: error: dereferencing pointer to incomplete type memcpy(out + ptr, (const char *)blob + reg->offset, reg->size); ^ tools/fdtgrep.c:481:13: error: dereferencing pointer to incomplete type ptr += reg->size; ^ tools/fdtgrep.c: At top level: tools/fdtgrep.c:496:37: warning: ‘struct fdt_region’ declared inside parameter list [enabled by default] static void show_region_list(struct fdt_region *reg, int count) ^ tools/fdtgrep.c: In function ‘show_region_list’: tools/fdtgrep.c:501:33: error: increment of pointer to unknown structure for (i = 0; i < count; i++, reg++) { ^ tools/fdtgrep.c:501:2: error: arithmetic on pointer to an incomplete type for (i = 0; i < count; i++, reg++) { ^ tools/fdtgrep.c:502:39: error: dereferencing pointer to incomplete type printf("%d: %-10x %-10x\n", i, reg->offset, ^ tools/fdtgrep.c:503:13: error: dereferencing pointer to incomplete type reg->offset + reg->size); ^ tools/fdtgrep.c:503:27: error: dereferencing pointer to incomplete type reg->offset + reg->size); ^ tools/fdtgrep.c: In function ‘check_type_include’: tools/fdtgrep.c:511:26: error: ‘FDT_IS_ANY’ undeclared (first use in this function) int match, none_match = FDT_IS_ANY; ^ tools/fdtgrep.c:552:15: error: ‘FDT_IS_NODE’ undeclared (first use in this function) if (type == FDT_IS_NODE && disp->types_exc == FDT_ANY_GLOBAL) { ^ tools/fdtgrep.c:552:49: error: ‘FDT_ANY_GLOBAL’ undeclared (first use in this function) if (type == FDT_IS_NODE && disp->types_exc == FDT_ANY_GLOBAL) { ^ tools/fdtgrep.c: In function ‘h_include’: tools/fdtgrep.c:590:36: error: ‘FDT_IS_PROP’ undeclared (first use in this function) if (disp->include_root && type == FDT_IS_PROP && offset == 0 && inc) ^ tools/fdtgrep.c:597:27: error: ‘FDT_IS_NODE’ undeclared (first use in this function) if (inc == -1 && type == FDT_IS_NODE) { ^ tools/fdtgrep.c:600:34: error: ‘FDT_IS_COMPAT’ undeclared (first use in this function) inc = check_type_include(priv, FDT_IS_COMPAT, data, len); ^ tools/fdtgrep.c:605:25: error: ‘FDT_NODE_HAS_PROP’ undeclared (first use in this function) (disp->types_inc & FDT_NODE_HAS_PROP)) { ^ tools/fdtgrep.c: In function ‘h_cmp_region’: tools/fdtgrep.c:642:16: error: dereferencing pointer to incomplete type return region1->offset - region2->offset; ^ tools/fdtgrep.c:642:34: error: dereferencing pointer to incomplete type return region1->offset - region2->offset; ^ tools/fdtgrep.c: At top level: tools/fdtgrep.c:649:3: warning: ‘struct fdt_region’ declared inside parameter list [enabled by default] int max_regions, char *path, int path_len, int flags) ^ tools/fdtgrep.c: In function ‘fdtgrep_find_regions’: tools/fdtgrep.c:651:26: error: storage size of ‘state’ isn’t known struct fdt_region_state state; ^ tools/fdtgrep.c:657:4: error: invalid use of undefined type ‘struct fdt_region’ ®ion[count++], path, path_len, ^ tools/fdtgrep.c:657:11: error: dereferencing pointer to incomplete type ®ion[count++], path, path_len, ^ tools/fdtgrep.c:661:5: error: invalid use of undefined type ‘struct fdt_region’ count < max_regions ? ®ion[count] : NULL, ^ tools/fdtgrep.c:661:34: error: dereferencing pointer to incomplete type count < max_regions ? ®ion[count] : NULL, ^ tools/fdtgrep.c:686:32: error: invalid application of ‘sizeof’ to incomplete type ‘struct fdt_region’ qsort(region, count, sizeof(struct fdt_region), ^ tools/fdtgrep.c: In function ‘do_fdtgrep’: tools/fdtgrep.c:803:34: error: invalid application of ‘sizeof’ to incomplete type ‘struct fdt_region’ region = malloc(count * sizeof(struct fdt_region)); ^ tools/fdtgrep.c:813:5: warning: passing argument 4 of ‘fdtgrep_find_regions’ from incompatible pointer type [enabled by default] disp->flags); ^ tools/fdtgrep.c:645:12: note: expected ‘struct fdt_region *’ but argument is of type ‘struct fdt_region *’ static int fdtgrep_find_regions(const void *fdt, ^ tools/fdtgrep.c:825:3: warning: passing argument 1 of ‘show_region_list’ from incompatible pointer type [enabled by default] show_region_list(region, count); ^ tools/fdtgrep.c:496:13: note: expected ‘struct fdt_region *’ but argument is of type ‘struct fdt_region *’ static void show_region_list(struct fdt_region *reg, int count) ^ tools/fdtgrep.c:829:3: error: type of formal parameter 3 is incomplete ret = display_fdt_by_regions(disp, blob, region, count); ^ tools/fdtgrep.c:841:3: error: type of formal parameter 3 is incomplete size = dump_fdt_regions(disp, blob, region, count, fdt); ^ tools/fdtgrep.c: In function ‘scan_args’: tools/fdtgrep.c:1084:11: error: ‘FDT_NODE_HAS_PROP’ undeclared (first use in this function) type = FDT_NODE_HAS_PROP; ^ tools/fdtgrep.c:1090:11: error: ‘FDT_IS_COMPAT’ undeclared (first use in this function) type = FDT_IS_COMPAT; ^ tools/fdtgrep.c:1096:19: error: ‘FDT_REG_DIRECT_SUBNODES’ undeclared (first use in this function) disp->flags |= FDT_REG_DIRECT_SUBNODES; ^ tools/fdtgrep.c:1105:11: error: ‘FDT_ANY_GLOBAL’ undeclared (first use in this function) type = FDT_ANY_GLOBAL; ^ tools/fdtgrep.c:1117:19: error: ‘FDT_REG_ADD_MEM_RSVMAP’ undeclared (first use in this function) disp->flags |= FDT_REG_ADD_MEM_RSVMAP; ^ tools/fdtgrep.c:1123:11: error: ‘FDT_IS_NODE’ undeclared (first use in this function) type = FDT_IS_NODE; ^ tools/fdtgrep.c:1142:11: error: ‘FDT_IS_PROP’ undeclared (first use in this function) type = FDT_IS_PROP; ^ tools/fdtgrep.c:1151:19: error: ‘FDT_REG_ALL_SUBNODES’ undeclared (first use in this function) disp->flags |= FDT_REG_ALL_SUBNODES; ^ tools/fdtgrep.c:1154:20: error: ‘FDT_REG_SUPERNODES’ undeclared (first use in this function) disp->flags &= ~FDT_REG_SUPERNODES; ^ tools/fdtgrep.c:1157:19: error: ‘FDT_REG_ADD_STRING_TAB’ undeclared (first use in this function) disp->flags |= FDT_REG_ADD_STRING_TAB; ^ tools/fdtgrep.c: In function ‘main’: tools/fdtgrep.c:1187:15: error: ‘FDT_REG_SUPERNODES’ undeclared (first use in this function) disp.flags = FDT_REG_SUPERNODES; /* Default flags */ ^ tools/fdtgrep.c:1196:42: error: ‘FDT_IS_ANY’ undeclared (first use in this function) if (value_add(&disp, &disp.value_head, FDT_IS_ANY, 1, ^ tools/fdtgrep.c:1209:17: error: ‘FDT_REG_ADD_MEM_RSVMAP’ undeclared (first use in this function) disp.flags |= FDT_REG_ADD_MEM_RSVMAP | FDT_REG_ADD_STRING_TAB; ^ tools/fdtgrep.c:1209:42: error: ‘FDT_REG_ADD_STRING_TAB’ undeclared (first use in this function) disp.flags |= FDT_REG_ADD_MEM_RSVMAP | FDT_REG_ADD_STRING_TAB; ^ make[3]: *** [tools/fdtgrep.o] Error 1 make[2]: *** [tools-only] Error 2 make[1]: *** [/home/peko/autobuild/instance-1/output/build/host-uboot-tools-2017.09/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/peko/autobuild/instance-1/buildroot'