Advertisement
Guest User

Untitled

a guest
Jul 1st, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 94.93 KB | None | 0 0
  1. % make
  2. ./scripts/image release
  3.  
  4. =================================================================================
  5. Configuration for CoreELEC (community)
  6. =================================================================================
  7.  
  8. Buildoptions:
  9. ======================================================
  10. - CPU (ARCH): cortex-a53 (arm)
  11. - FLOAT: hard
  12. - FPU: neon-fp-armv8
  13. - CPU features: 32bit neon
  14. - LTO (Link Time Optimization) support: yes
  15. - GOLD (Google Linker) Support: yes
  16. - LLVM support: no
  17. - DEBUG: no
  18.  
  19. Graphic configuration:
  20. ======================================================
  21. - OpenGL (GLX) support (provider): no (no)
  22. - OpenGLES support (provider): yes (opengl-meson-t82x)
  23. - uvesafb support: no
  24.  
  25. Hardware decoder configuration:
  26. ======================================================
  27. - Kodi Player driver: libamcodec
  28. - VAAPI Support: no
  29. - VDPAU Support: no
  30.  
  31. Input device configuration:
  32. ======================================================
  33. - Remote support: yes
  34. - ATV Remote support: no
  35. - CEC Adapter support: yes
  36. - CEC Framework support: no
  37. - Kodi Joystick support: yes
  38.  
  39. Misc. hardware configuration:
  40. ======================================================
  41. - ALSA support: yes
  42. - Pulseaudio support: yes
  43. - Bluetooth support: yes
  44. - Include driver: gpu-aml
  45. - Include driver: RTL8192CU
  46. - Include driver: RTL8192DU
  47. - Include driver: RTL8192EU
  48. - Include driver: RTL8812AU
  49. - Include driver: RTL8814AU
  50. - Include driver: RTL8188EU-aml
  51. - Include driver: openvfd-driver
  52. - Include driver: kvimfan-aml
  53. - Include driver: RTL8189ES-aml
  54. - Include driver: RTL8189FS-aml
  55. - Include driver: RTL8723BS-aml
  56. - Include driver: RTL8723DS-aml
  57. - Include driver: RTL8822BU-aml
  58. - Include driver: ap6xxx-aml
  59. - Include driver: mt7601u-aml
  60. - Include driver: mt7603u-aml
  61. - Include driver: mt7610u-aml
  62. - Include driver: qca9377-aml
  63. - Include driver: ssv6xxx-aml
  64. - Include driver add-ons: crazycat_aml
  65. - Include driver add-ons: dvb-latest
  66. - Include firmware: misc-firmware
  67. - Include firmware: wlan-firmware
  68. - Include firmware: dvb-firmware
  69. - Include firmware: brcmfmac_sdio-firmware-all-aml
  70. - Include firmware: rtl8723bs_bt
  71. - Include firmware: qca9377-firmware-aml
  72. - Initramfs modules: font
  73. - Initramfs modules: softcursor
  74. - Initramfs modules: bitblit
  75. - Initramfs modules: fbcon
  76. - Initramfs modules: dwc_otg
  77.  
  78. Network service configuration:
  79. ======================================================
  80. - Avahi (Zeroconf) support: yes
  81. - NFS mounting support: yes
  82. - SAMBA mounting support: yes
  83. - SAMBA server support: yes
  84. - SFTP server support: yes
  85. - OpenVPN support: yes
  86.  
  87. OS configuration:
  88. ======================================================
  89. - OEM Support: no
  90. - Default ROOT Password: coreelec
  91. - Bootloader: u-boot
  92. - U-Boot configuration:
  93. - U-Boot config file: boot.ini
  94. - UDevil support: yes
  95. - Installer support: no
  96. - Include package: autoscript-amlogic
  97. - Include package: dtc
  98. - Include package: u-boot-tools-aml
  99. - Include package: CoreELEC-Debug-Scripts
  100.  
  101. Misc. Filesystems:
  102. ======================================================
  103. - Swap Support: yes
  104. - Swapfile default size: 128
  105. - exFAT Support (via Fuse): yes
  106. - NTFS Support (via Fuse): yes
  107. - Install HFS Tools: yes
  108.  
  109. Kodi configuration:
  110. ======================================================
  111. - Kodi version: kodi
  112. - Kodi Blu-Ray support: yes
  113. - Bluray BD+ support: yes
  114. - Bluray AACS support: yes
  115. - Kodi DVDCSS support: yes
  116. - Kodi Airplay support: yes
  117. - Kodi Airtunes support: yes
  118. - Kodi NFS support: yes
  119. - Kodi MySQL support: mariadb
  120. - Kodi Optical Drive support: yes
  121. - Kodi SAMBA client support: yes
  122. - Kodi UPNP support: yes
  123. - Kodi Webserver support: yes
  124. - Include Skin: Estuary
  125. - Default Skin: Estuary
  126. - Include extra fonts: yes
  127.  
  128. =================================================================================
  129. End Configuration for CoreELEC
  130. =================================================================================
  131.  
  132.  
  133.  
  134. INSTALL configtools (host)
  135. INSTALL make (host)
  136. INSTALL xz (host)
  137. INSTALL sed (host)
  138. INSTALL pkg-config (host)
  139. INSTALL autoconf (host)
  140. INSTALL automake (host)
  141. INSTALL intltool (host)
  142. INSTALL libtool (host)
  143. INSTALL autoconf-archive (host)
  144. INSTALL gcc (host)
  145. INSTALL bison (host)
  146. INSTALL flex (host)
  147. INSTALL cmake (host)
  148. INSTALL xmlstarlet (host)
  149. INSTALL p7zip (host)
  150. INSTALL ninja (host)
  151. INSTALL meson (host)
  152. INSTALL toolchain (target)
  153. INSTALL ccache (host)
  154. INSTALL autotools (host)
  155. INSTALL linux (host)
  156. INSTALL gcc (bootstrap)
  157. INSTALL glibc (target)
  158. INSTALL tz (target)
  159. INSTALL libc (target)
  160. INSTALL gcc (target)
  161. INSTALL cpio (host)
  162. INSTALL kmod (host)
  163. INSTALL wireless-regdb (target)
  164. INSTALL keyutils (target)
  165. INSTALL device-trees-amlogic (target)
  166. INSTALL aml-dtbtools (host)
  167. INSTALL gcc-linaro-aarch64-linux-gnu (host)
  168. INSTALL mkbootimg (host)
  169. INSTALL linux (target)
  170. INSTALL gpu-aml (target)
  171. INSTALL RTL8192CU (target)
  172. INSTALL RTL8192DU (target)
  173. INSTALL RTL8192EU (target)
  174. INSTALL RTL8812AU (target)
  175. INSTALL RTL8814AU (target)
  176. INSTALL RTL8188EU-aml (target)
  177. INSTALL openvfd-driver (target)
  178. INSTALL kvimfan-aml (target)
  179. INSTALL RTL8189ES-aml (target)
  180. INSTALL RTL8189FS-aml (target)
  181. INSTALL RTL8723BS-aml (target)
  182. INSTALL RTL8723DS-aml (target)
  183. INSTALL RTL8822BU-aml (target)
  184. INSTALL ap6xxx-aml (target)
  185. INSTALL mt7601u-aml (target)
  186. INSTALL mt7603u-aml (target)
  187. INSTALL mt7610u-aml (target)
  188. INSTALL qca9377-aml (target)
  189. INSTALL ssv6xxx-aml (target)
  190. INSTALL media_tree_aml (target)
  191. INSTALL media_tree_cc_aml (target)
  192. INSTALL crazycat_aml (target)
  193. INSTALL media_tree (target)
  194. INSTALL dvb-latest (target)
  195. INSTALL driverselect (target)
  196. INSTALL linux-drivers (target)
  197. INSTALL kernel-firmware (target)
  198. INSTALL misc-firmware (target)
  199. INSTALL wlan-firmware (target)
  200. INSTALL dvb-firmware (target)
  201. INSTALL brcmfmac_sdio-firmware-all-aml (target)
  202. INSTALL rtl8723bs_bt (target)
  203. INSTALL qca9377-firmware-aml (target)
  204. INSTALL linux-firmware (target)
  205. BUILD u-boot-LePotato (target)
  206. TOOLCHAIN manual
  207. CLEAN tools
  208. CLEAN tools/lib tools/common
  209. CLEAN scripts/kconfig
  210. CLEAN scripts/basic
  211. CLEAN u-boot.lds
  212. CLEAN include/config include/generated
  213. CLEAN .config include/autoconf.mk.dep include/autoconf.mk include/config.h
  214. HOSTCC scripts/basic/fixdep
  215. GEN ./Makefile
  216. multiconfig.sh: make -f ../scripts/Makefile.build obj=scripts/kconfig SRCARCH=.. KCONFIG_OBJDIR= .tmp_defconfig
  217. HOSTCC scripts/kconfig/conf.o
  218. SHIPPED scripts/kconfig/zconf.lex.c
  219. SHIPPED scripts/kconfig/zconf.hash.c
  220. SHIPPED scripts/kconfig/zconf.tab.c
  221. HOSTCC scripts/kconfig/zconf.tab.o
  222. In file included from scripts/kconfig/zconf.tab.c:2547:
  223. ../scripts/kconfig/confdata.c: In function ‘conf_write’:
  224. ../scripts/kconfig/confdata.c:767:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  225. sprintf(newname, "%s%s", dirname, basename);
  226. ^~~~~~
  227. ../scripts/kconfig/confdata.c:767:19: note: assuming directive output of 7 bytes
  228. In file included from /usr/include/stdio.h:867,
  229. from scripts/kconfig/zconf.tab.c:84:
  230. /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
  231. return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  232. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  233. __bos (__s), __fmt, __va_arg_pack ());
  234. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  235. In file included from scripts/kconfig/zconf.tab.c:2547:
  236. ../scripts/kconfig/confdata.c:770:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  237. sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
  238. ^~~~~~~~~~~~~~~~~
  239. In file included from /usr/include/stdio.h:867,
  240. from scripts/kconfig/zconf.tab.c:84:
  241. /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
  242. return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  243. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  244. __bos (__s), __fmt, __va_arg_pack ());
  245. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  246. HOSTLD scripts/kconfig/conf
  247. #
  248. # configuration written to .config
  249. #
  250. HOSTCC scripts/basic/fixdep
  251. GEN ./Makefile
  252. multiconfig.sh: make -f ../scripts/Makefile.build obj=scripts/kconfig SRCARCH=.. KCONFIG_OBJDIR= silentoldconfig
  253. HOSTCC scripts/kconfig/conf.o
  254. HOSTCC scripts/kconfig/zconf.tab.o
  255. In file included from scripts/kconfig/zconf.tab.c:2547:
  256. ../scripts/kconfig/confdata.c: In function ‘conf_write’:
  257. ../scripts/kconfig/confdata.c:767:19: warning: ‘%s’ directive writing likely 7 or more bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  258. sprintf(newname, "%s%s", dirname, basename);
  259. ^~~~~~
  260. ../scripts/kconfig/confdata.c:767:19: note: assuming directive output of 7 bytes
  261. In file included from /usr/include/stdio.h:867,
  262. from scripts/kconfig/zconf.tab.c:84:
  263. /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output 1 or more bytes (assuming 4104) into a destination of size 4097
  264. return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  265. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  266. __bos (__s), __fmt, __va_arg_pack ());
  267. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  268. In file included from scripts/kconfig/zconf.tab.c:2547:
  269. ../scripts/kconfig/confdata.c:770:20: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=]
  270. sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid());
  271. ^~~~~~~~~~~~~~~~~
  272. In file included from /usr/include/stdio.h:867,
  273. from scripts/kconfig/zconf.tab.c:84:
  274. /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 13 and 4119 bytes into a destination of size 4097
  275. return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
  276. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  277. __bos (__s), __fmt, __va_arg_pack ());
  278. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  279. HOSTLD scripts/kconfig/conf
  280. scripts/kconfig/conf --silentoldconfig Kconfig
  281. multiconfig.sh: make -f ../scripts/Makefile.autoconf obj=include include/autoconf.mk include/autoconf.mk.dep
  282. CHK include/config.h
  283. UPD include/config.h
  284. GEN include/autoconf.mk
  285. GEN include/autoconf.mk.dep
  286. CHK include/config/uboot.release
  287. CHK include/generated/timestamp_autogenerated.h
  288. GEN ./Makefile
  289. UPD include/generated/timestamp_autogenerated.h
  290. UPD include/config/uboot.release
  291. Using .. as source for U-Boot
  292. CHK include/generated/version_autogenerated.h
  293. UPD include/generated/version_autogenerated.h
  294. CC lib/asm-offsets.s
  295. CC arch/arm/lib/asm-offsets.s
  296. GEN include/generated/asm-offsets.h
  297. GEN include/generated/generic-asm-offsets.h
  298. HOSTCC tools/gen_eth_addr
  299. HOSTCC tools/mkenvimage.o
  300. HOSTCC tools/os_support.o
  301. LDS u-boot.lds
  302. WRAP tools/lib/crc32.c
  303. HOSTCC tools/aisimage.o
  304. HOSTCC tools/atmelimage.o
  305. WRAP tools/common/bootm.c
  306. HOSTCC tools/default_image.o
  307. WRAP tools/lib/fdtdec_common.c
  308. WRAP tools/lib/fdtdec.c
  309. HOSTCC tools/fit_common.o
  310. In file included from ../tools/../include/libfdt.h:54,
  311. from ../tools/fdt_host.h:11,
  312. from ../tools/imagetool.h:22,
  313. from ../tools/atmelimage.c:8:
  314. /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  315. typedef uint64_t FDT_BITWISE fdt64_t;
  316. ^~~~~~~
  317. In file included from <command-line>:
  318. ./../include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
  319. typedef __be64 fdt64_t;
  320. ^~~~~~~
  321. In file included from ./../include/libfdt_env.h:12,
  322. from <command-line>:
  323. /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  324. static inline uint32_t fdt32_to_cpu(fdt32_t x)
  325. ^~~~~~~~~~~~
  326. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  327. ((((x) & 0xff000000) >> 24) | \
  328. ^
  329. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  330. ((((x) & 0xff000000) >> 24) | \
  331. ^~
  332. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  333. ((((x) & 0xff000000) >> 24) | \
  334. ^
  335. /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’
  336. static inline fdt32_t cpu_to_fdt32(uint32_t x)
  337. ^~~~~~~~~~~~
  338. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  339. ((((x) & 0xff000000) >> 24) | \
  340. ^
  341. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  342. ((((x) & 0xff000000) >> 24) | \
  343. ^~
  344. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  345. ((((x) & 0xff000000) >> 24) | \
  346. ^
  347. /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’
  348. static inline uint64_t fdt64_to_cpu(fdt64_t x)
  349. ^~~~~~~~~~~~
  350. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  351. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  352. ^
  353. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  354. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  355. ^~
  356. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  357. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  358. ^
  359. /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’
  360. static inline fdt64_t cpu_to_fdt64(uint64_t x)
  361. ^~~~~~~~~~~~
  362. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  363. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  364. ^
  365. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  366. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  367. ^~
  368. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  369. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  370. ^
  371. In file included from ../include/image.h:49,
  372. from ../tools/atmelimage.c:11:
  373. /usr/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
  374. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  375. ^~~~~~~~~~~~~~~~
  376. In file included from ../tools/fdt_host.h:11,
  377. from ../tools/imagetool.h:22,
  378. from ../tools/atmelimage.c:8:
  379. ../tools/../include/libfdt.h:131:21: note: previous definition of ‘fdt_offset_ptr_w’ was here
  380. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  381. ^~~~~~~~~~~~~~~~
  382. In file included from ../include/image.h:49,
  383. from ../tools/atmelimage.c:11:
  384. /usr/include/libfdt.h:266:1: error: redefinition of ‘fdt_set_magic’
  385. fdt_set_hdr_(magic);
  386. ^~~~~~~~~~~~
  387. In file included from ../tools/fdt_host.h:11,
  388. from ../tools/imagetool.h:22,
  389. from ../tools/atmelimage.c:8:
  390. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_magic’ was here
  391. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  392. ^~~~~~~~
  393. ../tools/../include/libfdt.h:214:1: note: in expansion of macro ‘__fdt_set_hdr’
  394. __fdt_set_hdr(magic);
  395. ^~~~~~~~~~~~~
  396. In file included from ../include/image.h:49,
  397. from ../tools/atmelimage.c:11:
  398. /usr/include/libfdt.h:267:1: error: redefinition of ‘fdt_set_totalsize’
  399. fdt_set_hdr_(totalsize);
  400. ^~~~~~~~~~~~
  401. In file included from ../tools/fdt_host.h:11,
  402. from ../tools/imagetool.h:22,
  403. from ../tools/atmelimage.c:8:
  404. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_totalsize’ was here
  405. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  406. ^~~~~~~~
  407. ../tools/../include/libfdt.h:215:1: note: in expansion of macro ‘__fdt_set_hdr’
  408. __fdt_set_hdr(totalsize);
  409. ^~~~~~~~~~~~~
  410. In file included from ../include/image.h:49,
  411. from ../tools/atmelimage.c:11:
  412. /usr/include/libfdt.h:268:1: error: redefinition of ‘fdt_set_off_dt_struct’
  413. fdt_set_hdr_(off_dt_struct);
  414. ^~~~~~~~~~~~
  415. In file included from ../tools/fdt_host.h:11,
  416. from ../tools/imagetool.h:22,
  417. from ../tools/atmelimage.c:8:
  418. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_struct’ was here
  419. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  420. ^~~~~~~~
  421. ../tools/../include/libfdt.h:216:1: note: in expansion of macro ‘__fdt_set_hdr’
  422. __fdt_set_hdr(off_dt_struct);
  423. ^~~~~~~~~~~~~
  424. In file included from ../include/image.h:49,
  425. from ../tools/atmelimage.c:11:
  426. /usr/include/libfdt.h:269:1: error: redefinition of ‘fdt_set_off_dt_strings’
  427. fdt_set_hdr_(off_dt_strings);
  428. ^~~~~~~~~~~~
  429. In file included from ../tools/fdt_host.h:11,
  430. from ../tools/imagetool.h:22,
  431. from ../tools/atmelimage.c:8:
  432. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_strings’ was here
  433. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  434. ^~~~~~~~
  435. ../tools/../include/libfdt.h:217:1: note: in expansion of macro ‘__fdt_set_hdr’
  436. __fdt_set_hdr(off_dt_strings);
  437. ^~~~~~~~~~~~~
  438. In file included from ../include/image.h:49,
  439. from ../tools/atmelimage.c:11:
  440. /usr/include/libfdt.h:270:1: error: redefinition of ‘fdt_set_off_mem_rsvmap’
  441. fdt_set_hdr_(off_mem_rsvmap);
  442. ^~~~~~~~~~~~
  443. In file included from ../tools/fdt_host.h:11,
  444. from ../tools/imagetool.h:22,
  445. from ../tools/atmelimage.c:8:
  446. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_mem_rsvmap’ was here
  447. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  448. ^~~~~~~~
  449. ../tools/../include/libfdt.h:218:1: note: in expansion of macro ‘__fdt_set_hdr’
  450. __fdt_set_hdr(off_mem_rsvmap);
  451. ^~~~~~~~~~~~~
  452. In file included from ../include/image.h:49,
  453. from ../tools/atmelimage.c:11:
  454. /usr/include/libfdt.h:271:1: error: redefinition of ‘fdt_set_version’
  455. fdt_set_hdr_(version);
  456. ^~~~~~~~~~~~
  457. In file included from ../tools/fdt_host.h:11,
  458. from ../tools/imagetool.h:22,
  459. from ../tools/atmelimage.c:8:
  460. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_version’ was here
  461. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  462. ^~~~~~~~
  463. ../tools/../include/libfdt.h:219:1: note: in expansion of macro ‘__fdt_set_hdr’
  464. __fdt_set_hdr(version);
  465. ^~~~~~~~~~~~~
  466. In file included from ../include/image.h:49,
  467. from ../tools/atmelimage.c:11:
  468. /usr/include/libfdt.h:272:1: error: redefinition of ‘fdt_set_last_comp_version’
  469. fdt_set_hdr_(last_comp_version);
  470. ^~~~~~~~~~~~
  471. In file included from ../tools/fdt_host.h:11,
  472. from ../tools/imagetool.h:22,
  473. from ../tools/atmelimage.c:8:
  474. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_last_comp_version’ was here
  475. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  476. ^~~~~~~~
  477. ../tools/../include/libfdt.h:220:1: note: in expansion of macro ‘__fdt_set_hdr’
  478. __fdt_set_hdr(last_comp_version);
  479. ^~~~~~~~~~~~~
  480. In file included from ../include/image.h:49,
  481. from ../tools/atmelimage.c:11:
  482. /usr/include/libfdt.h:273:1: error: redefinition of ‘fdt_set_boot_cpuid_phys’
  483. fdt_set_hdr_(boot_cpuid_phys);
  484. ^~~~~~~~~~~~
  485. In file included from ../tools/fdt_host.h:11,
  486. from ../tools/imagetool.h:22,
  487. from ../tools/atmelimage.c:8:
  488. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_boot_cpuid_phys’ was here
  489. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  490. ^~~~~~~~
  491. ../tools/../include/libfdt.h:221:1: note: in expansion of macro ‘__fdt_set_hdr’
  492. __fdt_set_hdr(boot_cpuid_phys);
  493. ^~~~~~~~~~~~~
  494. In file included from ../include/image.h:49,
  495. from ../tools/atmelimage.c:11:
  496. /usr/include/libfdt.h:274:1: error: redefinition of ‘fdt_set_size_dt_strings’
  497. fdt_set_hdr_(size_dt_strings);
  498. ^~~~~~~~~~~~
  499. In file included from ../tools/fdt_host.h:11,
  500. from ../tools/imagetool.h:22,
  501. from ../tools/atmelimage.c:8:
  502. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_strings’ was here
  503. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  504. ^~~~~~~~
  505. ../tools/../include/libfdt.h:222:1: note: in expansion of macro ‘__fdt_set_hdr’
  506. __fdt_set_hdr(size_dt_strings);
  507. ^~~~~~~~~~~~~
  508. In file included from ../include/image.h:49,
  509. from ../tools/atmelimage.c:11:
  510. /usr/include/libfdt.h:275:1: error: redefinition of ‘fdt_set_size_dt_struct’
  511. fdt_set_hdr_(size_dt_struct);
  512. ^~~~~~~~~~~~
  513. In file included from ../tools/fdt_host.h:11,
  514. from ../tools/imagetool.h:22,
  515. from ../tools/atmelimage.c:8:
  516. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_struct’ was here
  517. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  518. ^~~~~~~~
  519. ../tools/../include/libfdt.h:223:1: note: in expansion of macro ‘__fdt_set_hdr’
  520. __fdt_set_hdr(size_dt_struct);
  521. ^~~~~~~~~~~~~
  522. In file included from ../include/image.h:49,
  523. from ../tools/atmelimage.c:11:
  524. /usr/include/libfdt.h:348:13: error: conflicting types for ‘fdt_get_string’
  525. const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
  526. ^~~~~~~~~~~~~~
  527. In file included from ../tools/fdt_host.h:11,
  528. from ../tools/imagetool.h:22,
  529. from ../tools/atmelimage.c:8:
  530. ../tools/../include/libfdt.h:929:5: note: previous declaration of ‘fdt_get_string’ was here
  531. int fdt_get_string(const void *fdt, int node, const char *property,
  532. ^~~~~~~~~~~~~~
  533. In file included from ../include/image.h:49,
  534. from ../tools/atmelimage.c:11:
  535. /usr/include/libfdt.h:661:36: error: redefinition of ‘fdt_get_property_w’
  536. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  537. ^~~~~~~~~~~~~~~~~~
  538. In file included from ../tools/fdt_host.h:11,
  539. from ../tools/imagetool.h:22,
  540. from ../tools/atmelimage.c:8:
  541. ../tools/../include/libfdt.h:511:36: note: previous definition of ‘fdt_get_property_w’ was here
  542. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  543. ^~~~~~~~~~~~~~~~~~
  544. In file included from ../include/image.h:49,
  545. from ../tools/atmelimage.c:11:
  546. /usr/include/libfdt.h:758:21: error: redefinition of ‘fdt_getprop_w’
  547. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  548. ^~~~~~~~~~~~~
  549. In file included from ../tools/fdt_host.h:11,
  550. from ../tools/imagetool.h:22,
  551. from ../tools/atmelimage.c:8:
  552. ../tools/../include/libfdt.h:596:21: note: previous definition of ‘fdt_getprop_w’ was here
  553. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  554. ^~~~~~~~~~~~~
  555. In file included from ../include/image.h:49,
  556. from ../tools/atmelimage.c:11:
  557. /usr/include/libfdt.h:1256:19: error: redefinition of ‘fdt_setprop_inplace_u32’
  558. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  559. ^~~~~~~~~~~~~~~~~~~~~~~
  560. In file included from ../tools/fdt_host.h:11,
  561. from ../tools/imagetool.h:22,
  562. from ../tools/atmelimage.c:8:
  563. ../tools/../include/libfdt.h:1052:19: note: previous definition of ‘fdt_setprop_inplace_u32’ was here
  564. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  565. ^~~~~~~~~~~~~~~~~~~~~~~
  566. In file included from ../include/image.h:49,
  567. from ../tools/atmelimage.c:11:
  568. /usr/include/libfdt.h:1291:19: error: redefinition of ‘fdt_setprop_inplace_u64’
  569. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  570. ^~~~~~~~~~~~~~~~~~~~~~~
  571. In file included from ../tools/fdt_host.h:11,
  572. from ../tools/imagetool.h:22,
  573. from ../tools/atmelimage.c:8:
  574. ../tools/../include/libfdt.h:1087:19: note: previous definition of ‘fdt_setprop_inplace_u64’ was here
  575. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  576. ^~~~~~~~~~~~~~~~~~~~~~~
  577. In file included from ../include/image.h:49,
  578. from ../tools/atmelimage.c:11:
  579. /usr/include/libfdt.h:1303:19: error: redefinition of ‘fdt_setprop_inplace_cell’
  580. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  581. ^~~~~~~~~~~~~~~~~~~~~~~~
  582. In file included from ../tools/fdt_host.h:11,
  583. from ../tools/imagetool.h:22,
  584. from ../tools/atmelimage.c:8:
  585. ../tools/../include/libfdt.h:1099:19: note: previous definition of ‘fdt_setprop_inplace_cell’ was here
  586. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  587. ^~~~~~~~~~~~~~~~~~~~~~~~
  588. In file included from ../include/image.h:49,
  589. from ../tools/atmelimage.c:11:
  590. /usr/include/libfdt.h:1369:19: error: redefinition of ‘fdt_property_u32’
  591. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  592. ^~~~~~~~~~~~~~~~
  593. In file included from ../tools/fdt_host.h:11,
  594. from ../tools/imagetool.h:22,
  595. from ../tools/atmelimage.c:8:
  596. ../tools/../include/libfdt.h:1165:19: note: previous definition of ‘fdt_property_u32’ was here
  597. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  598. ^~~~~~~~~~~~~~~~
  599. In file included from ../include/image.h:49,
  600. from ../tools/atmelimage.c:11:
  601. /usr/include/libfdt.h:1374:19: error: redefinition of ‘fdt_property_u64’
  602. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  603. ^~~~~~~~~~~~~~~~
  604. In file included from ../tools/fdt_host.h:11,
  605. from ../tools/imagetool.h:22,
  606. from ../tools/atmelimage.c:8:
  607. ../tools/../include/libfdt.h:1170:19: note: previous definition of ‘fdt_property_u64’ was here
  608. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  609. ^~~~~~~~~~~~~~~~
  610. In file included from ../include/image.h:49,
  611. from ../tools/atmelimage.c:11:
  612. /usr/include/libfdt.h:1381:19: error: redefinition of ‘fdt_property_cell’
  613. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  614. ^~~~~~~~~~~~~~~~~
  615. In file included from ../tools/fdt_host.h:11,
  616. from ../tools/imagetool.h:22,
  617. from ../tools/atmelimage.c:8:
  618. ../tools/../include/libfdt.h:1175:19: note: previous definition of ‘fdt_property_cell’ was here
  619. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  620. ^~~~~~~~~~~~~~~~~
  621. In file included from ../include/image.h:49,
  622. from ../tools/atmelimage.c:11:
  623. /usr/include/libfdt.h:1579:19: error: redefinition of ‘fdt_setprop_u32’
  624. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  625. ^~~~~~~~~~~~~~~
  626. In file included from ../tools/fdt_host.h:11,
  627. from ../tools/imagetool.h:22,
  628. from ../tools/atmelimage.c:8:
  629. ../tools/../include/libfdt.h:1325:19: note: previous definition of ‘fdt_setprop_u32’ was here
  630. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  631. ^~~~~~~~~~~~~~~
  632. In file included from ../include/image.h:49,
  633. from ../tools/atmelimage.c:11:
  634. /usr/include/libfdt.h:1614:19: error: redefinition of ‘fdt_setprop_u64’
  635. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  636. ^~~~~~~~~~~~~~~
  637. In file included from ../tools/fdt_host.h:11,
  638. from ../tools/imagetool.h:22,
  639. from ../tools/atmelimage.c:8:
  640. ../tools/../include/libfdt.h:1360:19: note: previous definition of ‘fdt_setprop_u64’ was here
  641. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  642. ^~~~~~~~~~~~~~~
  643. In file included from ../include/image.h:49,
  644. from ../tools/atmelimage.c:11:
  645. /usr/include/libfdt.h:1626:19: error: redefinition of ‘fdt_setprop_cell’
  646. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  647. ^~~~~~~~~~~~~~~~
  648. In file included from ../tools/fdt_host.h:11,
  649. from ../tools/imagetool.h:22,
  650. from ../tools/atmelimage.c:8:
  651. ../tools/../include/libfdt.h:1372:19: note: previous definition of ‘fdt_setprop_cell’ was here
  652. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  653. ^~~~~~~~~~~~~~~~
  654. In file included from ../include/image.h:49,
  655. from ../tools/atmelimage.c:11:
  656. /usr/include/libfdt.h:1751:19: error: redefinition of ‘fdt_appendprop_u32’
  657. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  658. ^~~~~~~~~~~~~~~~~~
  659. In file included from ../tools/fdt_host.h:11,
  660. from ../tools/imagetool.h:22,
  661. from ../tools/atmelimage.c:8:
  662. ../tools/../include/libfdt.h:1467:19: note: previous definition of ‘fdt_appendprop_u32’ was here
  663. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  664. ^~~~~~~~~~~~~~~~~~
  665. In file included from ../include/image.h:49,
  666. from ../tools/atmelimage.c:11:
  667. /usr/include/libfdt.h:1786:19: error: redefinition of ‘fdt_appendprop_u64’
  668. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  669. ^~~~~~~~~~~~~~~~~~
  670. In file included from ../tools/fdt_host.h:11,
  671. from ../tools/imagetool.h:22,
  672. from ../tools/atmelimage.c:8:
  673. ../tools/../include/libfdt.h:1502:19: note: previous definition of ‘fdt_appendprop_u64’ was here
  674. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  675. ^~~~~~~~~~~~~~~~~~
  676. In file included from ../include/image.h:49,
  677. from ../tools/atmelimage.c:11:
  678. /usr/include/libfdt.h:1798:19: error: redefinition of ‘fdt_appendprop_cell’
  679. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  680. ^~~~~~~~~~~~~~~~~~~
  681. In file included from ../tools/fdt_host.h:11,
  682. from ../tools/imagetool.h:22,
  683. from ../tools/atmelimage.c:8:
  684. ../tools/../include/libfdt.h:1514:19: note: previous definition of ‘fdt_appendprop_cell’ was here
  685. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  686. ^~~~~~~~~~~~~~~~~~~
  687. make[2]: *** [scripts/Makefile.host:108: tools/atmelimage.o] Error 1
  688. make[2]: *** Waiting for unfinished jobs....
  689. In file included from ../tools/../include/libfdt.h:54,
  690. from ../tools/fdt_host.h:11,
  691. from ../tools/imagetool.h:22,
  692. from ../tools/aisimage.c:8:
  693. /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  694. typedef uint64_t FDT_BITWISE fdt64_t;
  695. ^~~~~~~
  696. In file included from <command-line>:
  697. ./../include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
  698. typedef __be64 fdt64_t;
  699. ^~~~~~~
  700. In file included from ./../include/libfdt_env.h:12,
  701. from <command-line>:
  702. /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  703. static inline uint32_t fdt32_to_cpu(fdt32_t x)
  704. ^~~~~~~~~~~~
  705. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  706. ((((x) & 0xff000000) >> 24) | \
  707. ^
  708. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  709. ((((x) & 0xff000000) >> 24) | \
  710. ^~
  711. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  712. ((((x) & 0xff000000) >> 24) | \
  713. ^
  714. /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’
  715. static inline fdt32_t cpu_to_fdt32(uint32_t x)
  716. ^~~~~~~~~~~~
  717. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  718. ((((x) & 0xff000000) >> 24) | \
  719. ^
  720. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  721. ((((x) & 0xff000000) >> 24) | \
  722. ^~
  723. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  724. ((((x) & 0xff000000) >> 24) | \
  725. ^
  726. /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’
  727. static inline uint64_t fdt64_to_cpu(fdt64_t x)
  728. ^~~~~~~~~~~~
  729. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  730. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  731. ^
  732. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  733. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  734. ^~
  735. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  736. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  737. ^
  738. /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’
  739. static inline fdt64_t cpu_to_fdt64(uint64_t x)
  740. ^~~~~~~~~~~~
  741. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  742. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  743. ^
  744. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  745. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  746. ^~
  747. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  748. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  749. ^
  750. In file included from ../include/image.h:49,
  751. from ../tools/aisimage.c:10:
  752. /usr/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
  753. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  754. ^~~~~~~~~~~~~~~~
  755. In file included from ../tools/fdt_host.h:11,
  756. from ../tools/imagetool.h:22,
  757. from ../tools/aisimage.c:8:
  758. ../tools/../include/libfdt.h:131:21: note: previous definition of ‘fdt_offset_ptr_w’ was here
  759. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  760. ^~~~~~~~~~~~~~~~
  761. In file included from ../include/image.h:49,
  762. from ../tools/aisimage.c:10:
  763. /usr/include/libfdt.h:266:1: error: redefinition of ‘fdt_set_magic’
  764. fdt_set_hdr_(magic);
  765. ^~~~~~~~~~~~
  766. In file included from ../tools/fdt_host.h:11,
  767. from ../tools/imagetool.h:22,
  768. from ../tools/aisimage.c:8:
  769. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_magic’ was here
  770. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  771. ^~~~~~~~
  772. ../tools/../include/libfdt.h:214:1: note: in expansion of macro ‘__fdt_set_hdr’
  773. __fdt_set_hdr(magic);
  774. ^~~~~~~~~~~~~
  775. In file included from ../include/image.h:49,
  776. from ../tools/aisimage.c:10:
  777. /usr/include/libfdt.h:267:1: error: redefinition of ‘fdt_set_totalsize’
  778. fdt_set_hdr_(totalsize);
  779. ^~~~~~~~~~~~
  780. In file included from ../tools/fdt_host.h:11,
  781. from ../tools/imagetool.h:22,
  782. from ../tools/aisimage.c:8:
  783. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_totalsize’ was here
  784. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  785. ^~~~~~~~
  786. ../tools/../include/libfdt.h:215:1: note: in expansion of macro ‘__fdt_set_hdr’
  787. __fdt_set_hdr(totalsize);
  788. ^~~~~~~~~~~~~
  789. In file included from ../include/image.h:49,
  790. from ../tools/aisimage.c:10:
  791. /usr/include/libfdt.h:268:1: error: redefinition of ‘fdt_set_off_dt_struct’
  792. fdt_set_hdr_(off_dt_struct);
  793. ^~~~~~~~~~~~
  794. In file included from ../tools/fdt_host.h:11,
  795. from ../tools/imagetool.h:22,
  796. from ../tools/aisimage.c:8:
  797. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_struct’ was here
  798. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  799. ^~~~~~~~
  800. ../tools/../include/libfdt.h:216:1: note: in expansion of macro ‘__fdt_set_hdr’
  801. __fdt_set_hdr(off_dt_struct);
  802. ^~~~~~~~~~~~~
  803. In file included from ../include/image.h:49,
  804. from ../tools/aisimage.c:10:
  805. /usr/include/libfdt.h:269:1: error: redefinition of ‘fdt_set_off_dt_strings’
  806. fdt_set_hdr_(off_dt_strings);
  807. ^~~~~~~~~~~~
  808. In file included from ../tools/fdt_host.h:11,
  809. from ../tools/imagetool.h:22,
  810. from ../tools/aisimage.c:8:
  811. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_strings’ was here
  812. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  813. ^~~~~~~~
  814. ../tools/../include/libfdt.h:217:1: note: in expansion of macro ‘__fdt_set_hdr’
  815. __fdt_set_hdr(off_dt_strings);
  816. ^~~~~~~~~~~~~
  817. In file included from ../include/image.h:49,
  818. from ../tools/aisimage.c:10:
  819. /usr/include/libfdt.h:270:1: error: redefinition of ‘fdt_set_off_mem_rsvmap’
  820. fdt_set_hdr_(off_mem_rsvmap);
  821. ^~~~~~~~~~~~
  822. In file included from ../tools/fdt_host.h:11,
  823. from ../tools/imagetool.h:22,
  824. from ../tools/aisimage.c:8:
  825. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_mem_rsvmap’ was here
  826. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  827. ^~~~~~~~
  828. ../tools/../include/libfdt.h:218:1: note: in expansion of macro ‘__fdt_set_hdr’
  829. __fdt_set_hdr(off_mem_rsvmap);
  830. ^~~~~~~~~~~~~
  831. In file included from ../include/image.h:49,
  832. from ../tools/aisimage.c:10:
  833. /usr/include/libfdt.h:271:1: error: redefinition of ‘fdt_set_version’
  834. fdt_set_hdr_(version);
  835. ^~~~~~~~~~~~
  836. In file included from ../tools/fdt_host.h:11,
  837. from ../tools/imagetool.h:22,
  838. from ../tools/aisimage.c:8:
  839. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_version’ was here
  840. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  841. ^~~~~~~~
  842. ../tools/../include/libfdt.h:219:1: note: in expansion of macro ‘__fdt_set_hdr’
  843. __fdt_set_hdr(version);
  844. ^~~~~~~~~~~~~
  845. In file included from ../include/image.h:49,
  846. from ../tools/aisimage.c:10:
  847. /usr/include/libfdt.h:272:1: error: redefinition of ‘fdt_set_last_comp_version’
  848. fdt_set_hdr_(last_comp_version);
  849. ^~~~~~~~~~~~
  850. In file included from ../tools/fdt_host.h:11,
  851. from ../tools/imagetool.h:22,
  852. from ../tools/aisimage.c:8:
  853. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_last_comp_version’ was here
  854. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  855. ^~~~~~~~
  856. ../tools/../include/libfdt.h:220:1: note: in expansion of macro ‘__fdt_set_hdr’
  857. __fdt_set_hdr(last_comp_version);
  858. ^~~~~~~~~~~~~
  859. In file included from ../include/image.h:49,
  860. from ../tools/aisimage.c:10:
  861. /usr/include/libfdt.h:273:1: error: redefinition of ‘fdt_set_boot_cpuid_phys’
  862. fdt_set_hdr_(boot_cpuid_phys);
  863. ^~~~~~~~~~~~
  864. In file included from ../tools/fdt_host.h:11,
  865. from ../tools/imagetool.h:22,
  866. from ../tools/aisimage.c:8:
  867. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_boot_cpuid_phys’ was here
  868. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  869. ^~~~~~~~
  870. ../tools/../include/libfdt.h:221:1: note: in expansion of macro ‘__fdt_set_hdr’
  871. __fdt_set_hdr(boot_cpuid_phys);
  872. ^~~~~~~~~~~~~
  873. In file included from ../include/image.h:49,
  874. from ../tools/aisimage.c:10:
  875. /usr/include/libfdt.h:274:1: error: redefinition of ‘fdt_set_size_dt_strings’
  876. fdt_set_hdr_(size_dt_strings);
  877. ^~~~~~~~~~~~
  878. In file included from ../tools/fdt_host.h:11,
  879. from ../tools/imagetool.h:22,
  880. from ../tools/aisimage.c:8:
  881. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_strings’ was here
  882. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  883. ^~~~~~~~
  884. ../tools/../include/libfdt.h:222:1: note: in expansion of macro ‘__fdt_set_hdr’
  885. __fdt_set_hdr(size_dt_strings);
  886. ^~~~~~~~~~~~~
  887. In file included from ../include/image.h:49,
  888. from ../tools/aisimage.c:10:
  889. /usr/include/libfdt.h:275:1: error: redefinition of ‘fdt_set_size_dt_struct’
  890. fdt_set_hdr_(size_dt_struct);
  891. ^~~~~~~~~~~~
  892. In file included from ../tools/fdt_host.h:11,
  893. from ../tools/imagetool.h:22,
  894. from ../tools/aisimage.c:8:
  895. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_struct’ was here
  896. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  897. ^~~~~~~~
  898. ../tools/../include/libfdt.h:223:1: note: in expansion of macro ‘__fdt_set_hdr’
  899. __fdt_set_hdr(size_dt_struct);
  900. ^~~~~~~~~~~~~
  901. In file included from ../include/image.h:49,
  902. from ../tools/aisimage.c:10:
  903. /usr/include/libfdt.h:348:13: error: conflicting types for ‘fdt_get_string’
  904. const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
  905. ^~~~~~~~~~~~~~
  906. In file included from ../tools/fdt_host.h:11,
  907. from ../tools/imagetool.h:22,
  908. from ../tools/aisimage.c:8:
  909. ../tools/../include/libfdt.h:929:5: note: previous declaration of ‘fdt_get_string’ was here
  910. int fdt_get_string(const void *fdt, int node, const char *property,
  911. ^~~~~~~~~~~~~~
  912. In file included from ../include/image.h:49,
  913. from ../tools/aisimage.c:10:
  914. /usr/include/libfdt.h:661:36: error: redefinition of ‘fdt_get_property_w’
  915. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  916. ^~~~~~~~~~~~~~~~~~
  917. In file included from ../tools/fdt_host.h:11,
  918. from ../tools/imagetool.h:22,
  919. from ../tools/aisimage.c:8:
  920. ../tools/../include/libfdt.h:511:36: note: previous definition of ‘fdt_get_property_w’ was here
  921. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  922. ^~~~~~~~~~~~~~~~~~
  923. In file included from ../include/image.h:49,
  924. from ../tools/aisimage.c:10:
  925. /usr/include/libfdt.h:758:21: error: redefinition of ‘fdt_getprop_w’
  926. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  927. ^~~~~~~~~~~~~
  928. In file included from ../tools/fdt_host.h:11,
  929. from ../tools/imagetool.h:22,
  930. from ../tools/aisimage.c:8:
  931. ../tools/../include/libfdt.h:596:21: note: previous definition of ‘fdt_getprop_w’ was here
  932. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  933. ^~~~~~~~~~~~~
  934. In file included from ../include/image.h:49,
  935. from ../tools/aisimage.c:10:
  936. /usr/include/libfdt.h:1256:19: error: redefinition of ‘fdt_setprop_inplace_u32’
  937. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  938. ^~~~~~~~~~~~~~~~~~~~~~~
  939. In file included from ../tools/fdt_host.h:11,
  940. from ../tools/imagetool.h:22,
  941. from ../tools/aisimage.c:8:
  942. ../tools/../include/libfdt.h:1052:19: note: previous definition of ‘fdt_setprop_inplace_u32’ was here
  943. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  944. ^~~~~~~~~~~~~~~~~~~~~~~
  945. In file included from ../include/image.h:49,
  946. from ../tools/aisimage.c:10:
  947. /usr/include/libfdt.h:1291:19: error: redefinition of ‘fdt_setprop_inplace_u64’
  948. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  949. ^~~~~~~~~~~~~~~~~~~~~~~
  950. In file included from ../tools/fdt_host.h:11,
  951. from ../tools/imagetool.h:22,
  952. from ../tools/aisimage.c:8:
  953. ../tools/../include/libfdt.h:1087:19: note: previous definition of ‘fdt_setprop_inplace_u64’ was here
  954. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  955. ^~~~~~~~~~~~~~~~~~~~~~~
  956. In file included from ../include/image.h:49,
  957. from ../tools/aisimage.c:10:
  958. /usr/include/libfdt.h:1303:19: error: redefinition of ‘fdt_setprop_inplace_cell’
  959. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  960. ^~~~~~~~~~~~~~~~~~~~~~~~
  961. In file included from ../tools/fdt_host.h:11,
  962. from ../tools/imagetool.h:22,
  963. from ../tools/aisimage.c:8:
  964. ../tools/../include/libfdt.h:1099:19: note: previous definition of ‘fdt_setprop_inplace_cell’ was here
  965. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  966. ^~~~~~~~~~~~~~~~~~~~~~~~
  967. In file included from ../include/image.h:49,
  968. from ../tools/aisimage.c:10:
  969. /usr/include/libfdt.h:1369:19: error: redefinition of ‘fdt_property_u32’
  970. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  971. ^~~~~~~~~~~~~~~~
  972. In file included from ../tools/fdt_host.h:11,
  973. from ../tools/imagetool.h:22,
  974. from ../tools/aisimage.c:8:
  975. ../tools/../include/libfdt.h:1165:19: note: previous definition of ‘fdt_property_u32’ was here
  976. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  977. ^~~~~~~~~~~~~~~~
  978. In file included from ../include/image.h:49,
  979. from ../tools/aisimage.c:10:
  980. /usr/include/libfdt.h:1374:19: error: redefinition of ‘fdt_property_u64’
  981. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  982. ^~~~~~~~~~~~~~~~
  983. In file included from ../tools/fdt_host.h:11,
  984. from ../tools/imagetool.h:22,
  985. from ../tools/aisimage.c:8:
  986. ../tools/../include/libfdt.h:1170:19: note: previous definition of ‘fdt_property_u64’ was here
  987. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  988. ^~~~~~~~~~~~~~~~
  989. In file included from ../include/image.h:49,
  990. from ../tools/aisimage.c:10:
  991. /usr/include/libfdt.h:1381:19: error: redefinition of ‘fdt_property_cell’
  992. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  993. ^~~~~~~~~~~~~~~~~
  994. In file included from ../tools/fdt_host.h:11,
  995. from ../tools/imagetool.h:22,
  996. from ../tools/aisimage.c:8:
  997. ../tools/../include/libfdt.h:1175:19: note: previous definition of ‘fdt_property_cell’ was here
  998. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  999. ^~~~~~~~~~~~~~~~~
  1000. In file included from ../include/image.h:49,
  1001. from ../tools/aisimage.c:10:
  1002. /usr/include/libfdt.h:1579:19: error: redefinition of ‘fdt_setprop_u32’
  1003. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1004. ^~~~~~~~~~~~~~~
  1005. In file included from ../tools/fdt_host.h:11,
  1006. from ../tools/imagetool.h:22,
  1007. from ../tools/aisimage.c:8:
  1008. ../tools/../include/libfdt.h:1325:19: note: previous definition of ‘fdt_setprop_u32’ was here
  1009. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1010. ^~~~~~~~~~~~~~~
  1011. In file included from ../include/image.h:49,
  1012. from ../tools/aisimage.c:10:
  1013. /usr/include/libfdt.h:1614:19: error: redefinition of ‘fdt_setprop_u64’
  1014. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1015. ^~~~~~~~~~~~~~~
  1016. In file included from ../tools/fdt_host.h:11,
  1017. from ../tools/imagetool.h:22,
  1018. from ../tools/aisimage.c:8:
  1019. ../tools/../include/libfdt.h:1360:19: note: previous definition of ‘fdt_setprop_u64’ was here
  1020. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1021. ^~~~~~~~~~~~~~~
  1022. In file included from ../include/image.h:49,
  1023. from ../tools/aisimage.c:10:
  1024. /usr/include/libfdt.h:1626:19: error: redefinition of ‘fdt_setprop_cell’
  1025. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1026. ^~~~~~~~~~~~~~~~
  1027. In file included from ../tools/fdt_host.h:11,
  1028. from ../tools/imagetool.h:22,
  1029. from ../tools/aisimage.c:8:
  1030. ../tools/../include/libfdt.h:1372:19: note: previous definition of ‘fdt_setprop_cell’ was here
  1031. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1032. ^~~~~~~~~~~~~~~~
  1033. In file included from ../include/image.h:49,
  1034. from ../tools/aisimage.c:10:
  1035. /usr/include/libfdt.h:1751:19: error: redefinition of ‘fdt_appendprop_u32’
  1036. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1037. ^~~~~~~~~~~~~~~~~~
  1038. In file included from ../tools/fdt_host.h:11,
  1039. from ../tools/imagetool.h:22,
  1040. from ../tools/aisimage.c:8:
  1041. ../tools/../include/libfdt.h:1467:19: note: previous definition of ‘fdt_appendprop_u32’ was here
  1042. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1043. ^~~~~~~~~~~~~~~~~~
  1044. In file included from ../include/image.h:49,
  1045. from ../tools/aisimage.c:10:
  1046. /usr/include/libfdt.h:1786:19: error: redefinition of ‘fdt_appendprop_u64’
  1047. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1048. ^~~~~~~~~~~~~~~~~~
  1049. In file included from ../tools/fdt_host.h:11,
  1050. from ../tools/imagetool.h:22,
  1051. from ../tools/aisimage.c:8:
  1052. ../tools/../include/libfdt.h:1502:19: note: previous definition of ‘fdt_appendprop_u64’ was here
  1053. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1054. ^~~~~~~~~~~~~~~~~~
  1055. In file included from ../include/image.h:49,
  1056. from ../tools/aisimage.c:10:
  1057. /usr/include/libfdt.h:1798:19: error: redefinition of ‘fdt_appendprop_cell’
  1058. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1059. ^~~~~~~~~~~~~~~~~~~
  1060. In file included from ../tools/fdt_host.h:11,
  1061. from ../tools/imagetool.h:22,
  1062. from ../tools/aisimage.c:8:
  1063. ../tools/../include/libfdt.h:1514:19: note: previous definition of ‘fdt_appendprop_cell’ was here
  1064. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1065. ^~~~~~~~~~~~~~~~~~~
  1066. make[2]: *** [scripts/Makefile.host:108: tools/aisimage.o] Error 1
  1067. In file included from ../tools/../include/libfdt.h:54,
  1068. from ../tools/fdt_host.h:11,
  1069. from ../tools/imagetool.h:22,
  1070. from ../tools/default_image.c:17:
  1071. /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  1072. typedef uint64_t FDT_BITWISE fdt64_t;
  1073. ^~~~~~~
  1074. In file included from <command-line>:
  1075. ./../include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
  1076. typedef __be64 fdt64_t;
  1077. ^~~~~~~
  1078. In file included from ./../include/libfdt_env.h:12,
  1079. from <command-line>:
  1080. /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  1081. static inline uint32_t fdt32_to_cpu(fdt32_t x)
  1082. ^~~~~~~~~~~~
  1083. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  1084. ((((x) & 0xff000000) >> 24) | \
  1085. ^
  1086. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  1087. ((((x) & 0xff000000) >> 24) | \
  1088. ^~
  1089. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  1090. ((((x) & 0xff000000) >> 24) | \
  1091. ^
  1092. /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’
  1093. static inline fdt32_t cpu_to_fdt32(uint32_t x)
  1094. ^~~~~~~~~~~~
  1095. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  1096. ((((x) & 0xff000000) >> 24) | \
  1097. ^
  1098. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  1099. ((((x) & 0xff000000) >> 24) | \
  1100. ^~
  1101. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  1102. ((((x) & 0xff000000) >> 24) | \
  1103. ^
  1104. /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’
  1105. static inline uint64_t fdt64_to_cpu(fdt64_t x)
  1106. ^~~~~~~~~~~~
  1107. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  1108. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1109. ^
  1110. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  1111. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1112. ^~
  1113. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  1114. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1115. ^
  1116. /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’
  1117. static inline fdt64_t cpu_to_fdt64(uint64_t x)
  1118. ^~~~~~~~~~~~
  1119. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  1120. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1121. ^
  1122. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  1123. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1124. ^~
  1125. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  1126. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1127. ^
  1128. In file included from ../include/image.h:49,
  1129. from ../tools/default_image.c:18:
  1130. /usr/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
  1131. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  1132. ^~~~~~~~~~~~~~~~
  1133. In file included from ../tools/fdt_host.h:11,
  1134. from ../tools/imagetool.h:22,
  1135. from ../tools/default_image.c:17:
  1136. ../tools/../include/libfdt.h:131:21: note: previous definition of ‘fdt_offset_ptr_w’ was here
  1137. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  1138. ^~~~~~~~~~~~~~~~
  1139. In file included from ../include/image.h:49,
  1140. from ../tools/default_image.c:18:
  1141. /usr/include/libfdt.h:266:1: error: redefinition of ‘fdt_set_magic’
  1142. fdt_set_hdr_(magic);
  1143. ^~~~~~~~~~~~
  1144. In file included from ../tools/fdt_host.h:11,
  1145. from ../tools/imagetool.h:22,
  1146. from ../tools/default_image.c:17:
  1147. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_magic’ was here
  1148. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1149. ^~~~~~~~
  1150. ../tools/../include/libfdt.h:214:1: note: in expansion of macro ‘__fdt_set_hdr’
  1151. __fdt_set_hdr(magic);
  1152. ^~~~~~~~~~~~~
  1153. In file included from ../include/image.h:49,
  1154. from ../tools/default_image.c:18:
  1155. /usr/include/libfdt.h:267:1: error: redefinition of ‘fdt_set_totalsize’
  1156. fdt_set_hdr_(totalsize);
  1157. ^~~~~~~~~~~~
  1158. In file included from ../tools/fdt_host.h:11,
  1159. from ../tools/imagetool.h:22,
  1160. from ../tools/default_image.c:17:
  1161. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_totalsize’ was here
  1162. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1163. ^~~~~~~~
  1164. ../tools/../include/libfdt.h:215:1: note: in expansion of macro ‘__fdt_set_hdr’
  1165. __fdt_set_hdr(totalsize);
  1166. ^~~~~~~~~~~~~
  1167. In file included from ../include/image.h:49,
  1168. from ../tools/default_image.c:18:
  1169. /usr/include/libfdt.h:268:1: error: redefinition of ‘fdt_set_off_dt_struct’
  1170. fdt_set_hdr_(off_dt_struct);
  1171. ^~~~~~~~~~~~
  1172. In file included from ../tools/fdt_host.h:11,
  1173. from ../tools/imagetool.h:22,
  1174. from ../tools/default_image.c:17:
  1175. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_struct’ was here
  1176. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1177. ^~~~~~~~
  1178. ../tools/../include/libfdt.h:216:1: note: in expansion of macro ‘__fdt_set_hdr’
  1179. __fdt_set_hdr(off_dt_struct);
  1180. ^~~~~~~~~~~~~
  1181. In file included from ../include/image.h:49,
  1182. from ../tools/default_image.c:18:
  1183. /usr/include/libfdt.h:269:1: error: redefinition of ‘fdt_set_off_dt_strings’
  1184. fdt_set_hdr_(off_dt_strings);
  1185. ^~~~~~~~~~~~
  1186. In file included from ../tools/fdt_host.h:11,
  1187. from ../tools/imagetool.h:22,
  1188. from ../tools/default_image.c:17:
  1189. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_strings’ was here
  1190. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1191. ^~~~~~~~
  1192. ../tools/../include/libfdt.h:217:1: note: in expansion of macro ‘__fdt_set_hdr’
  1193. __fdt_set_hdr(off_dt_strings);
  1194. ^~~~~~~~~~~~~
  1195. In file included from ../include/image.h:49,
  1196. from ../tools/default_image.c:18:
  1197. /usr/include/libfdt.h:270:1: error: redefinition of ‘fdt_set_off_mem_rsvmap’
  1198. fdt_set_hdr_(off_mem_rsvmap);
  1199. ^~~~~~~~~~~~
  1200. In file included from ../tools/fdt_host.h:11,
  1201. from ../tools/imagetool.h:22,
  1202. from ../tools/default_image.c:17:
  1203. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_mem_rsvmap’ was here
  1204. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1205. ^~~~~~~~
  1206. ../tools/../include/libfdt.h:218:1: note: in expansion of macro ‘__fdt_set_hdr’
  1207. __fdt_set_hdr(off_mem_rsvmap);
  1208. ^~~~~~~~~~~~~
  1209. In file included from ../include/image.h:49,
  1210. from ../tools/default_image.c:18:
  1211. /usr/include/libfdt.h:271:1: error: redefinition of ‘fdt_set_version’
  1212. fdt_set_hdr_(version);
  1213. ^~~~~~~~~~~~
  1214. In file included from ../tools/fdt_host.h:11,
  1215. from ../tools/imagetool.h:22,
  1216. from ../tools/default_image.c:17:
  1217. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_version’ was here
  1218. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1219. ^~~~~~~~
  1220. ../tools/../include/libfdt.h:219:1: note: in expansion of macro ‘__fdt_set_hdr’
  1221. __fdt_set_hdr(version);
  1222. ^~~~~~~~~~~~~
  1223. In file included from ../include/image.h:49,
  1224. from ../tools/default_image.c:18:
  1225. /usr/include/libfdt.h:272:1: error: redefinition of ‘fdt_set_last_comp_version’
  1226. fdt_set_hdr_(last_comp_version);
  1227. ^~~~~~~~~~~~
  1228. In file included from ../tools/fdt_host.h:11,
  1229. from ../tools/imagetool.h:22,
  1230. from ../tools/default_image.c:17:
  1231. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_last_comp_version’ was here
  1232. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1233. ^~~~~~~~
  1234. ../tools/../include/libfdt.h:220:1: note: in expansion of macro ‘__fdt_set_hdr’
  1235. __fdt_set_hdr(last_comp_version);
  1236. ^~~~~~~~~~~~~
  1237. In file included from ../include/image.h:49,
  1238. from ../tools/default_image.c:18:
  1239. /usr/include/libfdt.h:273:1: error: redefinition of ‘fdt_set_boot_cpuid_phys’
  1240. fdt_set_hdr_(boot_cpuid_phys);
  1241. ^~~~~~~~~~~~
  1242. In file included from ../tools/fdt_host.h:11,
  1243. from ../tools/imagetool.h:22,
  1244. from ../tools/default_image.c:17:
  1245. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_boot_cpuid_phys’ was here
  1246. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1247. ^~~~~~~~
  1248. ../tools/../include/libfdt.h:221:1: note: in expansion of macro ‘__fdt_set_hdr’
  1249. __fdt_set_hdr(boot_cpuid_phys);
  1250. ^~~~~~~~~~~~~
  1251. In file included from ../include/image.h:49,
  1252. from ../tools/default_image.c:18:
  1253. /usr/include/libfdt.h:274:1: error: redefinition of ‘fdt_set_size_dt_strings’
  1254. fdt_set_hdr_(size_dt_strings);
  1255. ^~~~~~~~~~~~
  1256. In file included from ../tools/fdt_host.h:11,
  1257. from ../tools/imagetool.h:22,
  1258. from ../tools/default_image.c:17:
  1259. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_strings’ was here
  1260. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1261. ^~~~~~~~
  1262. ../tools/../include/libfdt.h:222:1: note: in expansion of macro ‘__fdt_set_hdr’
  1263. __fdt_set_hdr(size_dt_strings);
  1264. ^~~~~~~~~~~~~
  1265. In file included from ../include/image.h:49,
  1266. from ../tools/default_image.c:18:
  1267. /usr/include/libfdt.h:275:1: error: redefinition of ‘fdt_set_size_dt_struct’
  1268. fdt_set_hdr_(size_dt_struct);
  1269. ^~~~~~~~~~~~
  1270. In file included from ../tools/fdt_host.h:11,
  1271. from ../tools/imagetool.h:22,
  1272. from ../tools/default_image.c:17:
  1273. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_struct’ was here
  1274. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1275. ^~~~~~~~
  1276. ../tools/../include/libfdt.h:223:1: note: in expansion of macro ‘__fdt_set_hdr’
  1277. __fdt_set_hdr(size_dt_struct);
  1278. ^~~~~~~~~~~~~
  1279. In file included from ../include/image.h:49,
  1280. from ../tools/default_image.c:18:
  1281. /usr/include/libfdt.h:348:13: error: conflicting types for ‘fdt_get_string’
  1282. const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
  1283. ^~~~~~~~~~~~~~
  1284. In file included from ../tools/fdt_host.h:11,
  1285. from ../tools/imagetool.h:22,
  1286. from ../tools/default_image.c:17:
  1287. ../tools/../include/libfdt.h:929:5: note: previous declaration of ‘fdt_get_string’ was here
  1288. int fdt_get_string(const void *fdt, int node, const char *property,
  1289. ^~~~~~~~~~~~~~
  1290. In file included from ../include/image.h:49,
  1291. from ../tools/default_image.c:18:
  1292. /usr/include/libfdt.h:661:36: error: redefinition of ‘fdt_get_property_w’
  1293. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  1294. ^~~~~~~~~~~~~~~~~~
  1295. In file included from ../tools/fdt_host.h:11,
  1296. from ../tools/imagetool.h:22,
  1297. from ../tools/default_image.c:17:
  1298. ../tools/../include/libfdt.h:511:36: note: previous definition of ‘fdt_get_property_w’ was here
  1299. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  1300. ^~~~~~~~~~~~~~~~~~
  1301. In file included from ../include/image.h:49,
  1302. from ../tools/default_image.c:18:
  1303. /usr/include/libfdt.h:758:21: error: redefinition of ‘fdt_getprop_w’
  1304. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  1305. ^~~~~~~~~~~~~
  1306. In file included from ../tools/fdt_host.h:11,
  1307. from ../tools/imagetool.h:22,
  1308. from ../tools/default_image.c:17:
  1309. ../tools/../include/libfdt.h:596:21: note: previous definition of ‘fdt_getprop_w’ was here
  1310. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  1311. ^~~~~~~~~~~~~
  1312. In file included from ../include/image.h:49,
  1313. from ../tools/default_image.c:18:
  1314. /usr/include/libfdt.h:1256:19: error: redefinition of ‘fdt_setprop_inplace_u32’
  1315. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  1316. ^~~~~~~~~~~~~~~~~~~~~~~
  1317. In file included from ../tools/fdt_host.h:11,
  1318. from ../tools/imagetool.h:22,
  1319. from ../tools/default_image.c:17:
  1320. ../tools/../include/libfdt.h:1052:19: note: previous definition of ‘fdt_setprop_inplace_u32’ was here
  1321. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  1322. ^~~~~~~~~~~~~~~~~~~~~~~
  1323. In file included from ../include/image.h:49,
  1324. from ../tools/default_image.c:18:
  1325. /usr/include/libfdt.h:1291:19: error: redefinition of ‘fdt_setprop_inplace_u64’
  1326. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  1327. ^~~~~~~~~~~~~~~~~~~~~~~
  1328. In file included from ../tools/fdt_host.h:11,
  1329. from ../tools/imagetool.h:22,
  1330. from ../tools/default_image.c:17:
  1331. ../tools/../include/libfdt.h:1087:19: note: previous definition of ‘fdt_setprop_inplace_u64’ was here
  1332. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  1333. ^~~~~~~~~~~~~~~~~~~~~~~
  1334. In file included from ../include/image.h:49,
  1335. from ../tools/default_image.c:18:
  1336. /usr/include/libfdt.h:1303:19: error: redefinition of ‘fdt_setprop_inplace_cell’
  1337. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  1338. ^~~~~~~~~~~~~~~~~~~~~~~~
  1339. In file included from ../tools/fdt_host.h:11,
  1340. from ../tools/imagetool.h:22,
  1341. from ../tools/default_image.c:17:
  1342. ../tools/../include/libfdt.h:1099:19: note: previous definition of ‘fdt_setprop_inplace_cell’ was here
  1343. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  1344. ^~~~~~~~~~~~~~~~~~~~~~~~
  1345. In file included from ../include/image.h:49,
  1346. from ../tools/default_image.c:18:
  1347. /usr/include/libfdt.h:1369:19: error: redefinition of ‘fdt_property_u32’
  1348. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  1349. ^~~~~~~~~~~~~~~~
  1350. In file included from ../tools/fdt_host.h:11,
  1351. from ../tools/imagetool.h:22,
  1352. from ../tools/default_image.c:17:
  1353. ../tools/../include/libfdt.h:1165:19: note: previous definition of ‘fdt_property_u32’ was here
  1354. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  1355. ^~~~~~~~~~~~~~~~
  1356. In file included from ../include/image.h:49,
  1357. from ../tools/default_image.c:18:
  1358. /usr/include/libfdt.h:1374:19: error: redefinition of ‘fdt_property_u64’
  1359. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  1360. ^~~~~~~~~~~~~~~~
  1361. In file included from ../tools/fdt_host.h:11,
  1362. from ../tools/imagetool.h:22,
  1363. from ../tools/default_image.c:17:
  1364. ../tools/../include/libfdt.h:1170:19: note: previous definition of ‘fdt_property_u64’ was here
  1365. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  1366. ^~~~~~~~~~~~~~~~
  1367. In file included from ../include/image.h:49,
  1368. from ../tools/default_image.c:18:
  1369. /usr/include/libfdt.h:1381:19: error: redefinition of ‘fdt_property_cell’
  1370. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  1371. ^~~~~~~~~~~~~~~~~
  1372. In file included from ../tools/fdt_host.h:11,
  1373. from ../tools/imagetool.h:22,
  1374. from ../tools/default_image.c:17:
  1375. ../tools/../include/libfdt.h:1175:19: note: previous definition of ‘fdt_property_cell’ was here
  1376. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  1377. ^~~~~~~~~~~~~~~~~
  1378. In file included from ../include/image.h:49,
  1379. from ../tools/default_image.c:18:
  1380. /usr/include/libfdt.h:1579:19: error: redefinition of ‘fdt_setprop_u32’
  1381. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1382. ^~~~~~~~~~~~~~~
  1383. In file included from ../tools/fdt_host.h:11,
  1384. from ../tools/imagetool.h:22,
  1385. from ../tools/default_image.c:17:
  1386. ../tools/../include/libfdt.h:1325:19: note: previous definition of ‘fdt_setprop_u32’ was here
  1387. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1388. ^~~~~~~~~~~~~~~
  1389. In file included from ../include/image.h:49,
  1390. from ../tools/default_image.c:18:
  1391. /usr/include/libfdt.h:1614:19: error: redefinition of ‘fdt_setprop_u64’
  1392. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1393. ^~~~~~~~~~~~~~~
  1394. In file included from ../tools/fdt_host.h:11,
  1395. from ../tools/imagetool.h:22,
  1396. from ../tools/default_image.c:17:
  1397. ../tools/../include/libfdt.h:1360:19: note: previous definition of ‘fdt_setprop_u64’ was here
  1398. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1399. ^~~~~~~~~~~~~~~
  1400. In file included from ../include/image.h:49,
  1401. from ../tools/default_image.c:18:
  1402. /usr/include/libfdt.h:1626:19: error: redefinition of ‘fdt_setprop_cell’
  1403. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1404. ^~~~~~~~~~~~~~~~
  1405. In file included from ../tools/fdt_host.h:11,
  1406. from ../tools/imagetool.h:22,
  1407. from ../tools/default_image.c:17:
  1408. ../tools/../include/libfdt.h:1372:19: note: previous definition of ‘fdt_setprop_cell’ was here
  1409. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1410. ^~~~~~~~~~~~~~~~
  1411. In file included from ../include/image.h:49,
  1412. from ../tools/default_image.c:18:
  1413. /usr/include/libfdt.h:1751:19: error: redefinition of ‘fdt_appendprop_u32’
  1414. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1415. ^~~~~~~~~~~~~~~~~~
  1416. In file included from ../tools/fdt_host.h:11,
  1417. from ../tools/imagetool.h:22,
  1418. from ../tools/default_image.c:17:
  1419. ../tools/../include/libfdt.h:1467:19: note: previous definition of ‘fdt_appendprop_u32’ was here
  1420. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1421. ^~~~~~~~~~~~~~~~~~
  1422. In file included from ../include/image.h:49,
  1423. from ../tools/default_image.c:18:
  1424. /usr/include/libfdt.h:1786:19: error: redefinition of ‘fdt_appendprop_u64’
  1425. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1426. ^~~~~~~~~~~~~~~~~~
  1427. In file included from ../tools/fdt_host.h:11,
  1428. from ../tools/imagetool.h:22,
  1429. from ../tools/default_image.c:17:
  1430. ../tools/../include/libfdt.h:1502:19: note: previous definition of ‘fdt_appendprop_u64’ was here
  1431. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1432. ^~~~~~~~~~~~~~~~~~
  1433. In file included from ../include/image.h:49,
  1434. from ../tools/default_image.c:18:
  1435. /usr/include/libfdt.h:1798:19: error: redefinition of ‘fdt_appendprop_cell’
  1436. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1437. ^~~~~~~~~~~~~~~~~~~
  1438. In file included from ../tools/fdt_host.h:11,
  1439. from ../tools/imagetool.h:22,
  1440. from ../tools/default_image.c:17:
  1441. ../tools/../include/libfdt.h:1514:19: note: previous definition of ‘fdt_appendprop_cell’ was here
  1442. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1443. ^~~~~~~~~~~~~~~~~~~
  1444. make[2]: *** [scripts/Makefile.host:108: tools/default_image.o] Error 1
  1445. In file included from ../tools/../include/libfdt.h:54,
  1446. from ../tools/fdt_host.h:11,
  1447. from ../tools/imagetool.h:22,
  1448. from ../tools/fit_common.c:21:
  1449. /usr/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  1450. typedef uint64_t FDT_BITWISE fdt64_t;
  1451. ^~~~~~~
  1452. In file included from <command-line>:
  1453. ./../include/libfdt_env.h:19:16: note: previous declaration of ‘fdt64_t’ was here
  1454. typedef __be64 fdt64_t;
  1455. ^~~~~~~
  1456. In file included from ./../include/libfdt_env.h:12,
  1457. from <command-line>:
  1458. /usr/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  1459. static inline uint32_t fdt32_to_cpu(fdt32_t x)
  1460. ^~~~~~~~~~~~
  1461. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  1462. ((((x) & 0xff000000) >> 24) | \
  1463. ^
  1464. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  1465. ((((x) & 0xff000000) >> 24) | \
  1466. ^~
  1467. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  1468. ((((x) & 0xff000000) >> 24) | \
  1469. ^
  1470. /usr/include/libfdt_env.h:95:23: error: expected ‘)’ before ‘x’
  1471. static inline fdt32_t cpu_to_fdt32(uint32_t x)
  1472. ^~~~~~~~~~~~
  1473. ./../include/compiler.h:66:9: error: expected ‘)’ before ‘&’ token
  1474. ((((x) & 0xff000000) >> 24) | \
  1475. ^
  1476. ./../include/compiler.h:66:23: error: expected ‘)’ before ‘>>’ token
  1477. ((((x) & 0xff000000) >> 24) | \
  1478. ^~
  1479. ./../include/compiler.h:66:30: error: expected ‘)’ before ‘|’ token
  1480. ((((x) & 0xff000000) >> 24) | \
  1481. ^
  1482. /usr/include/libfdt_env.h:100:24: error: expected ‘)’ before ‘x’
  1483. static inline uint64_t fdt64_to_cpu(fdt64_t x)
  1484. ^~~~~~~~~~~~
  1485. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  1486. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1487. ^
  1488. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  1489. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1490. ^~
  1491. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  1492. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1493. ^
  1494. /usr/include/libfdt_env.h:104:23: error: expected ‘)’ before ‘x’
  1495. static inline fdt64_t cpu_to_fdt64(uint64_t x)
  1496. ^~~~~~~~~~~~
  1497. ./../include/compiler.h:71:9: error: expected ‘)’ before ‘&’ token
  1498. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1499. ^
  1500. ./../include/compiler.h:71:36: error: expected ‘)’ before ‘>>’ token
  1501. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1502. ^~
  1503. ./../include/compiler.h:71:43: error: expected ‘)’ before ‘|’ token
  1504. ((((x) & 0xff00000000000000##sfx) >> 56) | \
  1505. ^
  1506. In file included from ../include/image.h:49,
  1507. from ../tools/fit_common.h:12,
  1508. from ../tools/fit_common.c:23:
  1509. /usr/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
  1510. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  1511. ^~~~~~~~~~~~~~~~
  1512. In file included from ../tools/fdt_host.h:11,
  1513. from ../tools/imagetool.h:22,
  1514. from ../tools/fit_common.c:21:
  1515. ../tools/../include/libfdt.h:131:21: note: previous definition of ‘fdt_offset_ptr_w’ was here
  1516. static inline void *fdt_offset_ptr_w(void *fdt, int offset, int checklen)
  1517. ^~~~~~~~~~~~~~~~
  1518. In file included from ../include/image.h:49,
  1519. from ../tools/fit_common.h:12,
  1520. from ../tools/fit_common.c:23:
  1521. /usr/include/libfdt.h:266:1: error: redefinition of ‘fdt_set_magic’
  1522. fdt_set_hdr_(magic);
  1523. ^~~~~~~~~~~~
  1524. In file included from ../tools/fdt_host.h:11,
  1525. from ../tools/imagetool.h:22,
  1526. from ../tools/fit_common.c:21:
  1527. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_magic’ was here
  1528. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1529. ^~~~~~~~
  1530. ../tools/../include/libfdt.h:214:1: note: in expansion of macro ‘__fdt_set_hdr’
  1531. __fdt_set_hdr(magic);
  1532. ^~~~~~~~~~~~~
  1533. In file included from ../include/image.h:49,
  1534. from ../tools/fit_common.h:12,
  1535. from ../tools/fit_common.c:23:
  1536. /usr/include/libfdt.h:267:1: error: redefinition of ‘fdt_set_totalsize’
  1537. fdt_set_hdr_(totalsize);
  1538. ^~~~~~~~~~~~
  1539. In file included from ../tools/fdt_host.h:11,
  1540. from ../tools/imagetool.h:22,
  1541. from ../tools/fit_common.c:21:
  1542. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_totalsize’ was here
  1543. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1544. ^~~~~~~~
  1545. ../tools/../include/libfdt.h:215:1: note: in expansion of macro ‘__fdt_set_hdr’
  1546. __fdt_set_hdr(totalsize);
  1547. ^~~~~~~~~~~~~
  1548. In file included from ../include/image.h:49,
  1549. from ../tools/fit_common.h:12,
  1550. from ../tools/fit_common.c:23:
  1551. /usr/include/libfdt.h:268:1: error: redefinition of ‘fdt_set_off_dt_struct’
  1552. fdt_set_hdr_(off_dt_struct);
  1553. ^~~~~~~~~~~~
  1554. In file included from ../tools/fdt_host.h:11,
  1555. from ../tools/imagetool.h:22,
  1556. from ../tools/fit_common.c:21:
  1557. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_struct’ was here
  1558. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1559. ^~~~~~~~
  1560. ../tools/../include/libfdt.h:216:1: note: in expansion of macro ‘__fdt_set_hdr’
  1561. __fdt_set_hdr(off_dt_struct);
  1562. ^~~~~~~~~~~~~
  1563. In file included from ../include/image.h:49,
  1564. from ../tools/fit_common.h:12,
  1565. from ../tools/fit_common.c:23:
  1566. /usr/include/libfdt.h:269:1: error: redefinition of ‘fdt_set_off_dt_strings’
  1567. fdt_set_hdr_(off_dt_strings);
  1568. ^~~~~~~~~~~~
  1569. In file included from ../tools/fdt_host.h:11,
  1570. from ../tools/imagetool.h:22,
  1571. from ../tools/fit_common.c:21:
  1572. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_dt_strings’ was here
  1573. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1574. ^~~~~~~~
  1575. ../tools/../include/libfdt.h:217:1: note: in expansion of macro ‘__fdt_set_hdr’
  1576. __fdt_set_hdr(off_dt_strings);
  1577. ^~~~~~~~~~~~~
  1578. In file included from ../include/image.h:49,
  1579. from ../tools/fit_common.h:12,
  1580. from ../tools/fit_common.c:23:
  1581. /usr/include/libfdt.h:270:1: error: redefinition of ‘fdt_set_off_mem_rsvmap’
  1582. fdt_set_hdr_(off_mem_rsvmap);
  1583. ^~~~~~~~~~~~
  1584. In file included from ../tools/fdt_host.h:11,
  1585. from ../tools/imagetool.h:22,
  1586. from ../tools/fit_common.c:21:
  1587. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_off_mem_rsvmap’ was here
  1588. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1589. ^~~~~~~~
  1590. ../tools/../include/libfdt.h:218:1: note: in expansion of macro ‘__fdt_set_hdr’
  1591. __fdt_set_hdr(off_mem_rsvmap);
  1592. ^~~~~~~~~~~~~
  1593. In file included from ../include/image.h:49,
  1594. from ../tools/fit_common.h:12,
  1595. from ../tools/fit_common.c:23:
  1596. /usr/include/libfdt.h:271:1: error: redefinition of ‘fdt_set_version’
  1597. fdt_set_hdr_(version);
  1598. ^~~~~~~~~~~~
  1599. In file included from ../tools/fdt_host.h:11,
  1600. from ../tools/imagetool.h:22,
  1601. from ../tools/fit_common.c:21:
  1602. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_version’ was here
  1603. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1604. ^~~~~~~~
  1605. ../tools/../include/libfdt.h:219:1: note: in expansion of macro ‘__fdt_set_hdr’
  1606. __fdt_set_hdr(version);
  1607. ^~~~~~~~~~~~~
  1608. In file included from ../include/image.h:49,
  1609. from ../tools/fit_common.h:12,
  1610. from ../tools/fit_common.c:23:
  1611. /usr/include/libfdt.h:272:1: error: redefinition of ‘fdt_set_last_comp_version’
  1612. fdt_set_hdr_(last_comp_version);
  1613. ^~~~~~~~~~~~
  1614. In file included from ../tools/fdt_host.h:11,
  1615. from ../tools/imagetool.h:22,
  1616. from ../tools/fit_common.c:21:
  1617. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_last_comp_version’ was here
  1618. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1619. ^~~~~~~~
  1620. ../tools/../include/libfdt.h:220:1: note: in expansion of macro ‘__fdt_set_hdr’
  1621. __fdt_set_hdr(last_comp_version);
  1622. ^~~~~~~~~~~~~
  1623. In file included from ../include/image.h:49,
  1624. from ../tools/fit_common.h:12,
  1625. from ../tools/fit_common.c:23:
  1626. /usr/include/libfdt.h:273:1: error: redefinition of ‘fdt_set_boot_cpuid_phys’
  1627. fdt_set_hdr_(boot_cpuid_phys);
  1628. ^~~~~~~~~~~~
  1629. In file included from ../tools/fdt_host.h:11,
  1630. from ../tools/imagetool.h:22,
  1631. from ../tools/fit_common.c:21:
  1632. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_boot_cpuid_phys’ was here
  1633. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1634. ^~~~~~~~
  1635. ../tools/../include/libfdt.h:221:1: note: in expansion of macro ‘__fdt_set_hdr’
  1636. __fdt_set_hdr(boot_cpuid_phys);
  1637. ^~~~~~~~~~~~~
  1638. In file included from ../include/image.h:49,
  1639. from ../tools/fit_common.h:12,
  1640. from ../tools/fit_common.c:23:
  1641. /usr/include/libfdt.h:274:1: error: redefinition of ‘fdt_set_size_dt_strings’
  1642. fdt_set_hdr_(size_dt_strings);
  1643. ^~~~~~~~~~~~
  1644. In file included from ../tools/fdt_host.h:11,
  1645. from ../tools/imagetool.h:22,
  1646. from ../tools/fit_common.c:21:
  1647. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_strings’ was here
  1648. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1649. ^~~~~~~~
  1650. ../tools/../include/libfdt.h:222:1: note: in expansion of macro ‘__fdt_set_hdr’
  1651. __fdt_set_hdr(size_dt_strings);
  1652. ^~~~~~~~~~~~~
  1653. In file included from ../include/image.h:49,
  1654. from ../tools/fit_common.h:12,
  1655. from ../tools/fit_common.c:23:
  1656. /usr/include/libfdt.h:275:1: error: redefinition of ‘fdt_set_size_dt_struct’
  1657. fdt_set_hdr_(size_dt_struct);
  1658. ^~~~~~~~~~~~
  1659. In file included from ../tools/fdt_host.h:11,
  1660. from ../tools/imagetool.h:22,
  1661. from ../tools/fit_common.c:21:
  1662. ../tools/../include/libfdt.h:209:21: note: previous definition of ‘fdt_set_size_dt_struct’ was here
  1663. static inline void fdt_set_##name(void *fdt, uint32_t val) \
  1664. ^~~~~~~~
  1665. ../tools/../include/libfdt.h:223:1: note: in expansion of macro ‘__fdt_set_hdr’
  1666. __fdt_set_hdr(size_dt_struct);
  1667. ^~~~~~~~~~~~~
  1668. In file included from ../include/image.h:49,
  1669. from ../tools/fit_common.h:12,
  1670. from ../tools/fit_common.c:23:
  1671. /usr/include/libfdt.h:348:13: error: conflicting types for ‘fdt_get_string’
  1672. const char *fdt_get_string(const void *fdt, int stroffset, int *lenp);
  1673. ^~~~~~~~~~~~~~
  1674. In file included from ../tools/fdt_host.h:11,
  1675. from ../tools/imagetool.h:22,
  1676. from ../tools/fit_common.c:21:
  1677. ../tools/../include/libfdt.h:929:5: note: previous declaration of ‘fdt_get_string’ was here
  1678. int fdt_get_string(const void *fdt, int node, const char *property,
  1679. ^~~~~~~~~~~~~~
  1680. In file included from ../include/image.h:49,
  1681. from ../tools/fit_common.h:12,
  1682. from ../tools/fit_common.c:23:
  1683. /usr/include/libfdt.h:661:36: error: redefinition of ‘fdt_get_property_w’
  1684. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  1685. ^~~~~~~~~~~~~~~~~~
  1686. In file included from ../tools/fdt_host.h:11,
  1687. from ../tools/imagetool.h:22,
  1688. from ../tools/fit_common.c:21:
  1689. ../tools/../include/libfdt.h:511:36: note: previous definition of ‘fdt_get_property_w’ was here
  1690. static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset,
  1691. ^~~~~~~~~~~~~~~~~~
  1692. In file included from ../include/image.h:49,
  1693. from ../tools/fit_common.h:12,
  1694. from ../tools/fit_common.c:23:
  1695. /usr/include/libfdt.h:758:21: error: redefinition of ‘fdt_getprop_w’
  1696. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  1697. ^~~~~~~~~~~~~
  1698. In file included from ../tools/fdt_host.h:11,
  1699. from ../tools/imagetool.h:22,
  1700. from ../tools/fit_common.c:21:
  1701. ../tools/../include/libfdt.h:596:21: note: previous definition of ‘fdt_getprop_w’ was here
  1702. static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
  1703. ^~~~~~~~~~~~~
  1704. In file included from ../include/image.h:49,
  1705. from ../tools/fit_common.h:12,
  1706. from ../tools/fit_common.c:23:
  1707. /usr/include/libfdt.h:1256:19: error: redefinition of ‘fdt_setprop_inplace_u32’
  1708. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  1709. ^~~~~~~~~~~~~~~~~~~~~~~
  1710. In file included from ../tools/fdt_host.h:11,
  1711. from ../tools/imagetool.h:22,
  1712. from ../tools/fit_common.c:21:
  1713. ../tools/../include/libfdt.h:1052:19: note: previous definition of ‘fdt_setprop_inplace_u32’ was here
  1714. static inline int fdt_setprop_inplace_u32(void *fdt, int nodeoffset,
  1715. ^~~~~~~~~~~~~~~~~~~~~~~
  1716. In file included from ../include/image.h:49,
  1717. from ../tools/fit_common.h:12,
  1718. from ../tools/fit_common.c:23:
  1719. /usr/include/libfdt.h:1291:19: error: redefinition of ‘fdt_setprop_inplace_u64’
  1720. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  1721. ^~~~~~~~~~~~~~~~~~~~~~~
  1722. In file included from ../tools/fdt_host.h:11,
  1723. from ../tools/imagetool.h:22,
  1724. from ../tools/fit_common.c:21:
  1725. ../tools/../include/libfdt.h:1087:19: note: previous definition of ‘fdt_setprop_inplace_u64’ was here
  1726. static inline int fdt_setprop_inplace_u64(void *fdt, int nodeoffset,
  1727. ^~~~~~~~~~~~~~~~~~~~~~~
  1728. In file included from ../include/image.h:49,
  1729. from ../tools/fit_common.h:12,
  1730. from ../tools/fit_common.c:23:
  1731. /usr/include/libfdt.h:1303:19: error: redefinition of ‘fdt_setprop_inplace_cell’
  1732. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  1733. ^~~~~~~~~~~~~~~~~~~~~~~~
  1734. In file included from ../tools/fdt_host.h:11,
  1735. from ../tools/imagetool.h:22,
  1736. from ../tools/fit_common.c:21:
  1737. ../tools/../include/libfdt.h:1099:19: note: previous definition of ‘fdt_setprop_inplace_cell’ was here
  1738. static inline int fdt_setprop_inplace_cell(void *fdt, int nodeoffset,
  1739. ^~~~~~~~~~~~~~~~~~~~~~~~
  1740. In file included from ../include/image.h:49,
  1741. from ../tools/fit_common.h:12,
  1742. from ../tools/fit_common.c:23:
  1743. /usr/include/libfdt.h:1369:19: error: redefinition of ‘fdt_property_u32’
  1744. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  1745. ^~~~~~~~~~~~~~~~
  1746. In file included from ../tools/fdt_host.h:11,
  1747. from ../tools/imagetool.h:22,
  1748. from ../tools/fit_common.c:21:
  1749. ../tools/../include/libfdt.h:1165:19: note: previous definition of ‘fdt_property_u32’ was here
  1750. static inline int fdt_property_u32(void *fdt, const char *name, uint32_t val)
  1751. ^~~~~~~~~~~~~~~~
  1752. In file included from ../include/image.h:49,
  1753. from ../tools/fit_common.h:12,
  1754. from ../tools/fit_common.c:23:
  1755. /usr/include/libfdt.h:1374:19: error: redefinition of ‘fdt_property_u64’
  1756. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  1757. ^~~~~~~~~~~~~~~~
  1758. In file included from ../tools/fdt_host.h:11,
  1759. from ../tools/imagetool.h:22,
  1760. from ../tools/fit_common.c:21:
  1761. ../tools/../include/libfdt.h:1170:19: note: previous definition of ‘fdt_property_u64’ was here
  1762. static inline int fdt_property_u64(void *fdt, const char *name, uint64_t val)
  1763. ^~~~~~~~~~~~~~~~
  1764. In file included from ../include/image.h:49,
  1765. from ../tools/fit_common.h:12,
  1766. from ../tools/fit_common.c:23:
  1767. /usr/include/libfdt.h:1381:19: error: redefinition of ‘fdt_property_cell’
  1768. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  1769. ^~~~~~~~~~~~~~~~~
  1770. In file included from ../tools/fdt_host.h:11,
  1771. from ../tools/imagetool.h:22,
  1772. from ../tools/fit_common.c:21:
  1773. ../tools/../include/libfdt.h:1175:19: note: previous definition of ‘fdt_property_cell’ was here
  1774. static inline int fdt_property_cell(void *fdt, const char *name, uint32_t val)
  1775. ^~~~~~~~~~~~~~~~~
  1776. In file included from ../include/image.h:49,
  1777. from ../tools/fit_common.h:12,
  1778. from ../tools/fit_common.c:23:
  1779. /usr/include/libfdt.h:1579:19: error: redefinition of ‘fdt_setprop_u32’
  1780. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1781. ^~~~~~~~~~~~~~~
  1782. In file included from ../tools/fdt_host.h:11,
  1783. from ../tools/imagetool.h:22,
  1784. from ../tools/fit_common.c:21:
  1785. ../tools/../include/libfdt.h:1325:19: note: previous definition of ‘fdt_setprop_u32’ was here
  1786. static inline int fdt_setprop_u32(void *fdt, int nodeoffset, const char *name,
  1787. ^~~~~~~~~~~~~~~
  1788. In file included from ../include/image.h:49,
  1789. from ../tools/fit_common.h:12,
  1790. from ../tools/fit_common.c:23:
  1791. /usr/include/libfdt.h:1614:19: error: redefinition of ‘fdt_setprop_u64’
  1792. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1793. ^~~~~~~~~~~~~~~
  1794. In file included from ../tools/fdt_host.h:11,
  1795. from ../tools/imagetool.h:22,
  1796. from ../tools/fit_common.c:21:
  1797. ../tools/../include/libfdt.h:1360:19: note: previous definition of ‘fdt_setprop_u64’ was here
  1798. static inline int fdt_setprop_u64(void *fdt, int nodeoffset, const char *name,
  1799. ^~~~~~~~~~~~~~~
  1800. In file included from ../include/image.h:49,
  1801. from ../tools/fit_common.h:12,
  1802. from ../tools/fit_common.c:23:
  1803. /usr/include/libfdt.h:1626:19: error: redefinition of ‘fdt_setprop_cell’
  1804. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1805. ^~~~~~~~~~~~~~~~
  1806. In file included from ../tools/fdt_host.h:11,
  1807. from ../tools/imagetool.h:22,
  1808. from ../tools/fit_common.c:21:
  1809. ../tools/../include/libfdt.h:1372:19: note: previous definition of ‘fdt_setprop_cell’ was here
  1810. static inline int fdt_setprop_cell(void *fdt, int nodeoffset, const char *name,
  1811. ^~~~~~~~~~~~~~~~
  1812. In file included from ../include/image.h:49,
  1813. from ../tools/fit_common.h:12,
  1814. from ../tools/fit_common.c:23:
  1815. /usr/include/libfdt.h:1751:19: error: redefinition of ‘fdt_appendprop_u32’
  1816. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1817. ^~~~~~~~~~~~~~~~~~
  1818. In file included from ../tools/fdt_host.h:11,
  1819. from ../tools/imagetool.h:22,
  1820. from ../tools/fit_common.c:21:
  1821. ../tools/../include/libfdt.h:1467:19: note: previous definition of ‘fdt_appendprop_u32’ was here
  1822. static inline int fdt_appendprop_u32(void *fdt, int nodeoffset,
  1823. ^~~~~~~~~~~~~~~~~~
  1824. In file included from ../include/image.h:49,
  1825. from ../tools/fit_common.h:12,
  1826. from ../tools/fit_common.c:23:
  1827. /usr/include/libfdt.h:1786:19: error: redefinition of ‘fdt_appendprop_u64’
  1828. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1829. ^~~~~~~~~~~~~~~~~~
  1830. In file included from ../tools/fdt_host.h:11,
  1831. from ../tools/imagetool.h:22,
  1832. from ../tools/fit_common.c:21:
  1833. ../tools/../include/libfdt.h:1502:19: note: previous definition of ‘fdt_appendprop_u64’ was here
  1834. static inline int fdt_appendprop_u64(void *fdt, int nodeoffset,
  1835. ^~~~~~~~~~~~~~~~~~
  1836. In file included from ../include/image.h:49,
  1837. from ../tools/fit_common.h:12,
  1838. from ../tools/fit_common.c:23:
  1839. /usr/include/libfdt.h:1798:19: error: redefinition of ‘fdt_appendprop_cell’
  1840. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1841. ^~~~~~~~~~~~~~~~~~~
  1842. In file included from ../tools/fdt_host.h:11,
  1843. from ../tools/imagetool.h:22,
  1844. from ../tools/fit_common.c:21:
  1845. ../tools/../include/libfdt.h:1514:19: note: previous definition of ‘fdt_appendprop_cell’ was here
  1846. static inline int fdt_appendprop_cell(void *fdt, int nodeoffset,
  1847. ^~~~~~~~~~~~~~~~~~~
  1848. make[2]: *** [scripts/Makefile.host:108: tools/fit_common.o] Error 1
  1849. make[1]: *** [/storage/local/src/git/CoreELEC/build.CoreELEC-Amlogic.arm-9.0-devel/u-boot-LePotato-c399719ef82b69cce55160a39ac34be4c1c39ee5/Makefile:1243: tools] Error 2
  1850. make: *** [Makefile:147: sub-make] Error 2
  1851. make: *** [Makefile:9: release] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement