3150K .......... .......... .......... .......... .......... 28% 10.6M 1s 3200K .......... .......... .......... .......... .......... 29% 10.7M 1s 3250K .......... .......... .......... .......... .......... 29% 9.80M 1s 3300K .......... .......... .......... .......... .......... 30% 10.6M 1s 3350K .......... .......... .......... .......... .......... 30% 12.4M 1s 3400K .......... .......... .......... .......... .......... 30% 10.1M 1s 3450K .......... .......... .......... .......... .......... 31% 10.7M 1s 3500K .......... .......... .......... .......... .......... 31% 10.1M 1s 3550K .......... .......... .......... .......... .......... 32% 8.68M 1s 3600K .......... .......... .......... .......... .......... 32% 12.4M 1s 3650K .......... .......... .......... .......... .......... 33% 10.1M 1s 3700K .......... .......... .......... .......... .......... 33% 9.79M 1s 3750K .......... .......... .......... .......... .......... 34% 8.87M 1s 3800K .......... .......... .......... .......... .......... 34% 10.6M 1s 3850K .......... .......... .......... .......... .......... 34% 10.7M 1s 3900K .......... .......... .......... .......... .......... 35% 12.4M 1s 3950K .......... .......... .......... .......... .......... 35% 10.1M 1s 4000K .......... .......... .......... .......... .......... 36% 10.6M 1s 4050K .......... .......... .......... .......... .......... 36% 12.4M 1s 4100K .......... .......... .......... .......... .......... 37% 10.6M 1s 4150K .......... .......... .......... .......... .......... 37% 10.1M 1s 4200K .......... .......... .......... .......... .......... 38% 11.6M 1s 4250K .......... .......... .......... .......... .......... 38% 12.0M 1s 4300K .......... .......... .......... .......... .......... 38% 10.1M 1s 4350K .......... .......... .......... .......... .......... 39% 8.87M 1s 4400K .......... .......... .......... .......... .......... 39% 12.4M 1s 4450K .......... .......... .......... .......... .......... 40% 7.76M 1s 4500K .......... .......... .......... .......... .......... 40% 10.4M 1s 4550K .......... .......... .......... .......... .......... 41% 9.31M 1s 4600K .......... .......... .......... .......... .......... 41% 10.6M 1s 4650K .......... .......... .......... .......... .......... 42% 9.81M 1s 4700K .......... .......... .......... .......... .......... 42% 12.0M 1s 4750K .......... .......... .......... .......... .......... 42% 10.1M 1s 4800K .......... .......... .......... .......... .......... 43% 10.6M 1s 4850K .......... .......... .......... .......... .......... 43% 9.31M 1s 4900K .......... .......... .......... .......... .......... 44% 8.87M 1s 4950K .......... .......... .......... .......... .......... 44% 18.4M 1s 5000K .......... .......... .......... .......... .......... 45% 9.11M 1s 5050K .......... .......... .......... .......... .......... 45% 12.4M 1s 5100K .......... .......... .......... .......... .......... 46% 14.5M 1s 5150K .......... .......... .......... .......... .......... 46% 8.22M 1s 5200K .......... .......... .......... .......... .......... 47% 11.8M 1s 5250K .......... .......... .......... .......... .......... 47% 11.7M 1s 5300K .......... .......... .......... .......... .......... 47% 10.0M 1s 5350K .......... .......... .......... .......... .......... 48% 10.1M 1s 5400K .......... .......... .......... .......... .......... 48% 9.31M 1s 5450K .......... .......... .......... .......... .......... 49% 10.6M 1s 5500K .......... .......... .......... .......... .......... 49% 7.96M 1s 5550K .......... .......... .......... .......... .......... 50% 12.3M 1s 5600K .......... .......... .......... .......... .......... 50% 10.6M 1s 5650K .......... .......... .......... .......... .......... 51% 12.4M 1s 5700K .......... .......... .......... .......... .......... 51% 10.6M 1s 5750K .......... .......... .......... .......... .......... 51% 10.7M 1s 5800K .......... .......... .......... .......... .......... 52% 10.7M 1s 5850K .......... .......... .......... .......... .......... 52% 10.0M 1s 5900K .......... .......... .......... .......... .......... 53% 10.7M 1s 5950K .......... .......... .......... .......... .......... 53% 10.7M 1s 6000K .......... .......... .......... .......... .......... 54% 10.6M 1s 6050K .......... .......... .......... .......... .......... 54% 10.0M 1s 6100K .......... .......... .......... .......... .......... 55% 10.1M 1s 6150K .......... .......... .......... .......... .......... 55% 10.3M 1s 6200K .......... .......... .......... .......... .......... 55% 8.10M 1s 6250K .......... .......... .......... .......... .......... 56% 10.5M 1s 6300K .......... .......... .......... .......... .......... 56% 11.8M 1s 6350K .......... .......... .......... .......... .......... 57% 10.6M 1s 6400K .......... .......... .......... .......... .......... 57% 10.4M 1s 6450K .......... .......... .......... .......... .......... 58% 12.4M 0s 6500K .......... .......... .......... .......... .......... 58% 7.30M 0s 6550K .......... .......... .......... .......... .......... 59% 14.3M 0s 6600K .......... .......... .......... .......... .......... 59% 12.4M 0s 6650K .......... .......... .......... .......... .......... 60% 10.6M 0s 6700K .......... .......... .......... .......... .......... 60% 10.6M 0s 6750K .......... .......... .......... .......... .......... 60% 12.4M 0s 6800K .......... .......... .......... .......... .......... 61% 8.47M 0s 6850K .......... .......... .......... .......... .......... 61% 8.18M 0s 6900K .......... .......... .......... .......... .......... 62% 12.7M 0s 6950K .......... .......... .......... .......... .......... 62% 14.8M 0s 7000K .......... .......... .......... .......... .......... 63% 10.6M 0s 7050K .......... .......... .......... .......... .......... 63% 6.11M 0s 7100K .......... .......... .......... .......... .......... 64% 19.8M 0s 7150K .......... .......... .......... .......... .......... 64% 8.71M 0s 7200K .......... .......... .......... .......... .......... 64% 13.3M 0s 7250K .......... .......... .......... .......... .......... 65% 10.6M 0s 7300K .......... .......... .......... .......... .......... 65% 6.35M 0s 7350K .......... .......... .......... .......... .......... 66% 12.3M 0s 7400K .......... .......... .......... .......... .......... 66% 12.1M 0s 7450K .......... .......... .......... .......... .......... 67% 10.0M 0s 7500K .......... .......... .......... .......... .......... 67% 10.6M 0s 7550K .......... .......... .......... .......... .......... 68% 12.4M 0s 7600K .......... .......... .......... .......... .......... 68% 9.09M 0s 7650K .......... .......... .......... .......... .......... 68% 10.1M 0s 7700K .......... .......... .......... .......... .......... 69% 9.55M 0s 7750K .......... .......... .......... .......... .......... 69% 10.1M 0s 7800K .......... .......... .......... .......... .......... 70% 7.24M 0s 7850K .......... .......... .......... .......... .......... 70% 9.66M 0s 7900K .......... .......... .......... .......... .......... 71% 8.87M 0s 7950K .......... .......... .......... .......... .......... 71% 16.6M 0s 8000K .......... .......... .......... .......... .......... 72% 8.31M 0s 8050K .......... .......... .......... .......... .......... 72% 19.0M 0s 8100K .......... .......... .......... .......... .......... 72% 10.6M 0s 8150K .......... .......... .......... .......... .......... 73% 9.59M 0s 8200K .......... .......... .......... .......... .......... 73% 11.8M 0s 8250K .......... .......... .......... .......... .......... 74% 12.5M 0s 8300K .......... .......... .......... .......... .......... 74% 10.7M 0s 8350K .......... .......... .......... .......... .......... 75% 12.4M 0s 8400K .......... .......... .......... .......... .......... 75% 10.6M 0s 8450K .......... .......... .......... .......... .......... 76% 9.53M 0s 8500K .......... .......... .......... .......... .......... 76% 8.50M 0s 8550K .......... .......... .......... .......... .......... 77% 14.3M 0s 8600K .......... .......... .......... .......... .......... 77% 9.82M 0s 8650K .......... .......... .......... .......... .......... 77% 10.1M 0s 8700K .......... .......... .......... .......... .......... 78% 9.94M 0s 8750K .......... .......... .......... .......... .......... 78% 8.98M 0s 8800K .......... .......... .......... .......... .......... 79% 10.3M 0s 8850K .......... .......... .......... .......... .......... 79% 10.6M 0s 8900K .......... .......... .......... .......... .......... 80% 10.6M 0s 8950K .......... .......... .......... .......... .......... 80% 10.7M 0s 9000K .......... .......... .......... .......... .......... 81% 12.4M 0s 9050K .......... .......... .......... .......... .......... 81% 10.6M 0s 9100K .......... .......... .......... .......... .......... 81% 10.1M 0s 9150K .......... .......... .......... .......... .......... 82% 10.1M 0s 9200K .......... .......... .......... .......... .......... 82% 10.7M 0s 9250K .......... .......... .......... .......... .......... 83% 8.16M 0s 9300K .......... .......... .......... .......... .......... 83% 13.6M 0s 9350K .......... .......... .......... .......... .......... 84% 10.6M 0s 9400K .......... .......... .......... .......... .......... 84% 9.80M 0s 9450K .......... .......... .......... .......... .......... 85% 9.31M 0s 9500K .......... .......... .......... .......... .......... 85% 9.21M 0s 9550K .......... .......... .......... .......... .......... 85% 8.99M 0s 9600K .......... .......... .......... .......... .......... 86% 15.7M 0s 9650K .......... .......... .......... .......... .......... 86% 10.8M 0s 9700K .......... .......... .......... .......... .......... 87% 10.6M 0s 9750K .......... .......... .......... .......... .......... 87% 10.6M 0s 9800K .......... .......... .......... .......... .......... 88% 11.1M 0s 9850K .......... .......... .......... .......... .......... 88% 10.8M 0s 9900K .......... .......... .......... .......... .......... 89% 7.80M 0s 9950K .......... .......... .......... .......... .......... 89% 11.9M 0s 10000K .......... .......... .......... .......... .......... 90% 11.9M 0s 10050K .......... .......... .......... .......... .......... 90% 6.25M 0s 10100K .......... .......... .......... .......... .......... 90% 12.1M 0s 10150K .......... .......... .......... .......... .......... 91% 12.2M 0s 10200K .......... .......... .......... .......... .......... 91% 12.1M 0s 10250K .......... .......... .......... .......... .......... 92% 12.1M 0s 10300K .......... .......... .......... .......... .......... 92% 6.11M 0s 10350K .......... .......... .......... .......... .......... 93% 258M 0s 10400K .......... .......... .......... .......... .......... 93% 6.28M 0s 10450K .......... .......... .......... .......... .......... 94% 12.0M 0s 10500K .......... .......... .......... .......... .......... 94% 12.0M 0s 10550K .......... .......... .......... .......... .......... 94% 12.3M 0s 10600K .......... .......... .......... .......... .......... 95% 12.3M 0s 10650K .......... .......... .......... .......... .......... 95% 6.19M 0s 10700K .......... .......... .......... .......... .......... 96% 12.2M 0s 10750K .......... .......... .......... .......... .......... 96% 12.1M 0s 10800K .......... .......... .......... .......... .......... 97% 12.1M 0s 10850K .......... .......... .......... .......... .......... 97% 12.1M 0s 10900K .......... .......... .......... .......... .......... 98% 6.12M 0s 10950K .......... .......... .......... .......... .......... 98% 12.3M 0s 11000K .......... .......... .......... .......... .......... 98% 12.1M 0s 11050K .......... .......... .......... .......... .......... 99% 12.2M 0s 11100K .......... .......... .......... .......... .......... 99% 12.2M 0s 11150K .......... ...... 100% 4.05M=1.1s 2017-11-03 05:40:28 (9.59 MB/s) - '/home/buildroot/autobuild/run/instance-0/output/build/.u-boot-2017.09.tar.bz2.Q5WUer/output' saved [11434323] u-boot-2017.09.tar.bz2: OK (sha256: b2d15f2cf5f72e706025cde73d67247c6da8cd35f7e10891eefe7d9095089744) >>> host-uboot-tools 2017.09 Extracting bzcat /home/buildroot/autobuild/run/instance-0/dl/u-boot-2017.09.tar.bz2 | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-0/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/buildroot/autobuild/run/instance-0/output/build/host-uboot-tools-2017.09/include/config touch /home/buildroot/autobuild/run/instance-0/output/build/host-uboot-tools-2017.09/include/config/auto.conf >>> host-uboot-tools 2017.09 Building /usr/bin/make -j1 -C /home/buildroot/autobuild/run/instance-0/output/build/host-uboot-tools-2017.09 HOSTCC="/usr/bin/gcc" HOSTCFLAGS="-O2 -I/home/buildroot/autobuild/run/instance-0/output/host/include" HOSTLDFLAGS="-L/home/buildroot/autobuild/run/instance-0/output/host/lib -Wl,-rpath,/home/buildroot/autobuild/run/instance-0/output/host/lib" CONFIG_FIT=y CONFIG_FIT_SIGNATURE=y 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 HOSTCC tools/fit_common.o HOSTCC tools/fit_image.o HOSTCC tools/image-host.o WRAP tools/common/image-fit.c HOSTCC tools/common/image-fit.o WRAP tools/common/image-sig.c HOSTCC tools/common/image-sig.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 WRAP tools/lib/rsa/rsa-sign.c HOSTCC tools/lib/rsa/rsa-sign.o WRAP tools/lib/rsa/rsa-verify.c HOSTCC tools/lib/rsa/rsa-verify.o WRAP tools/lib/rsa/rsa-checksum.c HOSTCC tools/lib/rsa/rsa-checksum.o WRAP tools/lib/rsa/rsa-mod-exp.c HOSTCC tools/lib/rsa/rsa-mod-exp.o HOSTCC tools/dumpimage.o HOSTLD tools/dumpimage HOSTCC tools/mkimage.o HOSTLD tools/mkimage HOSTCC tools/fit_info.o HOSTLD tools/fit_info HOSTCC tools/fit_check_sign.o HOSTLD tools/fit_check_sign 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/buildroot/autobuild/run/instance-0/output/build/host-uboot-tools-2017.09/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'