$ make CROSS_COMPILE=arm-linux-gnueabihf- scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h GEN include/autoconf.mk GEN include/autoconf.mk.dep GEN spl/include/autoconf.mk CHK include/config/uboot.release CHK include/generated/version_autogenerated.h CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h CHK include/generated/generic-asm-offsets.h CHK include/generated/asm-offsets.h HOSTCC tools/mkenvimage.o HOSTLD tools/mkenvimage HOSTCC tools/aisimage.o In file included from tools/../include/libfdt.h:54, from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’ typedef uint64_t FDT_BITWISE fdt64_t; ^~~~~~~ In file included from : ././include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here typedef __be64 fdt64_t; ^~~~~~~ In file included from ././include/libfdt_env.h:12, from : /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’ static inline uint32_t fdt32_to_cpu(fdt32_t x) ^~~~~~~~~~~~ ././include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’ static inline fdt32_t cpu_to_fdt32(uint32_t x) ^~~~~~~~~~~~ ././include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff000000) >> 24) | \ ^ ././include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff000000) >> 24) | \ ^~ ././include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token ((((x) & 0xff000000) >> 24) | \ ^ /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’ static inline uint64_t fdt64_to_cpu(fdt64_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’ static inline fdt64_t cpu_to_fdt64(uint64_t x) ^~~~~~~~~~~~ ././include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ ././include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^~ ././include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token ((((x) & 0xff00000000000000##sfx) >> 56) | \ ^ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’ static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) ^~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:136:21: note: previous definition of ‘fdt_offset_ptr_w’ was here static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen) ^~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:258:1: error: redefinition of ‘fdt_set_magic’ fdt_set_hdr_(magic); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_magic’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:219:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(magic); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:259:1: error: redefinition of ‘fdt_set_totalsize’ fdt_set_hdr_(totalsize); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_totalsize’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:220:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(totalsize); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:260:1: error: redefinition of ‘fdt_set_off_dt_struct’ fdt_set_hdr_(off_dt_struct); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_off_dt_struct’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:221:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(off_dt_struct); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:261:1: error: redefinition of ‘fdt_set_off_dt_strings’ fdt_set_hdr_(off_dt_strings); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_off_dt_strings’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:222:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(off_dt_strings); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:262:1: error: redefinition of ‘fdt_set_off_mem_rsvmap’ fdt_set_hdr_(off_mem_rsvmap); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_off_mem_rsvmap’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:223:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(off_mem_rsvmap); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:263:1: error: redefinition of ‘fdt_set_version’ fdt_set_hdr_(version); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_version’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:224:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(version); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:264:1: error: redefinition of ‘fdt_set_last_comp_version’ fdt_set_hdr_(last_comp_version); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_last_comp_version’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:225:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(last_comp_version); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:265:1: error: redefinition of ‘fdt_set_boot_cpuid_phys’ fdt_set_hdr_(boot_cpuid_phys); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_boot_cpuid_phys’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:226:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(boot_cpuid_phys); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:266:1: error: redefinition of ‘fdt_set_size_dt_strings’ fdt_set_hdr_(size_dt_strings); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_size_dt_strings’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:227:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(size_dt_strings); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:267:1: error: redefinition of ‘fdt_set_size_dt_struct’ fdt_set_hdr_(size_dt_struct); ^~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:214:21: note: previous definition of ‘fdt_set_size_dt_struct’ was here static inline void fdt_set_##name(void *fdt, uint32_t val) \ ^~~~~~~~ tools/../include/libfdt.h:228:1: note: in expansion of macro ‘__fdt_set_hdr’ __fdt_set_hdr(size_dt_struct); ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:340:13: error: conflicting types for ‘fdt_get_string’ const char *fdt_get_string(const void *fdt, int stroffset, int *lenp); ^~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:934:5: note: previous declaration of ‘fdt_get_string’ was here int fdt_get_string(const void *fdt, int node, const char *property, ^~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:653:36: error: redefinition of ‘fdt_get_property_w’ static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:516:36: note: previous definition of ‘fdt_get_property_w’ was here static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:750:21: error: redefinition of ‘fdt_getprop_w’ static inline void *fdt_getprop_w(void *fdt, int nodeoffset, ^~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:601:21: note: previous definition of ‘fdt_getprop_w’ was here static inline void *fdt_getprop_w(void *fdt, int nodeoffset, ^~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1248:19: error: redefinition of ‘fdt_setprop_inplace_u32’ static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1057:19: note: previous definition of ‘fdt_setprop_inplace_u32’ was here static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1283:19: error: redefinition of ‘fdt_setprop_inplace_u64’ static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1092:19: note: previous definition of ‘fdt_setprop_inplace_u64’ was here static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1295:19: error: redefinition of ‘fdt_setprop_inplace_cell’ static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1104:19: note: previous definition of ‘fdt_setprop_inplace_cell’ was here static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1361:19: error: redefinition of ‘fdt_property_u32’ static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) ^~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1170:19: note: previous definition of ‘fdt_property_u32’ was here static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val) ^~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1366:19: error: redefinition of ‘fdt_property_u64’ static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) ^~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1175:19: note: previous definition of ‘fdt_property_u64’ was here static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val) ^~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1373:19: error: redefinition of ‘fdt_property_cell’ static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) ^~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1180:19: note: previous definition of ‘fdt_property_cell’ was here static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val) ^~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1571:19: error: redefinition of ‘fdt_setprop_u32’ static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1346:19: note: previous definition of ‘fdt_setprop_u32’ was here static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1606:19: error: redefinition of ‘fdt_setprop_u64’ static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1381:19: note: previous definition of ‘fdt_setprop_u64’ was here static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1618:19: error: redefinition of ‘fdt_setprop_cell’ static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1393:19: note: previous definition of ‘fdt_setprop_cell’ was here static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name, ^~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1743:19: error: redefinition of ‘fdt_appendprop_u32’ static inline int fdt_appendprop_u32(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1488:19: note: previous definition of ‘fdt_appendprop_u32’ was here static inline int fdt_appendprop_u32(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1778:19: error: redefinition of ‘fdt_appendprop_u64’ static inline int fdt_appendprop_u64(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1523:19: note: previous definition of ‘fdt_appendprop_u64’ was here static inline int fdt_appendprop_u64(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~ In file included from include/image.h:53, from tools/aisimage.c:10: /usr/include/libfdt.h:1790:19: error: redefinition of ‘fdt_appendprop_cell’ static inline int fdt_appendprop_cell(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~ In file included from tools/fdt_host.h:11, from tools/imagetool.h:24, from tools/aisimage.c:8: tools/../include/libfdt.h:1535:19: note: previous definition of ‘fdt_appendprop_cell’ was here static inline int fdt_appendprop_cell(void *fdt, int nodeoffset, ^~~~~~~~~~~~~~~~~~~ make[1]: *** [scripts/Makefile.host:111: tools/aisimage.o] エラー 1 make: *** [Makefile:1246: tools] エラー 2 $