
Hi Chan,
On Sun, 4 Jun 2023 at 15:41, Chan Kim ckim@etri.re.kr wrote:
Hello all, For commit 26659d42654 (Fri Jun 2 12:13:01 2023 -0400)
When I do 'make qemu_arm64_defconfig' and 'make', I get this compile error.
ckim@ckim-ubuntu:~/u-boot-test/u-boot$ make -j28 ENVC include/generated/env.txt UPD include/generated/timestamp_autogenerated.h ENVP include/generated/env.in ENVT include/generated/environment.h HOSTCC tools/lib/sha1.o HOSTCC tools/lib/sha256.o HOSTCC tools/lib/sha512.o In file included from include/watchdog.h:13, from ./tools/../lib/sha512.c:20, from tools/lib/sha512.c:1: include/cyclic.h:40:20: error: field ??list?? has incomplete type 40 | struct hlist_node list; | ^~~~ In file included from include/watchdog.h:13, from ./tools/../lib/sha1.c:25, from tools/lib/sha1.c:1: include/cyclic.h:40:20: error: field ??list?? has incomplete type 40 | struct hlist_node list; | ^~~~ In file included from include/watchdog.h:13, from ./tools/../lib/sha256.c:14, from tools/lib/sha256.c:1: include/cyclic.h:40:20: error: field ??list?? has incomplete type 40 | struct hlist_node list; | ^~~~ make[1]: *** [scripts/Makefile.host:112: tools/lib/sha512.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [scripts/Makefile.host:112: tools/lib/sha1.o] Error 1 make[1]: *** [scripts/Makefile.host:112: tools/lib/sha256.o] Error 1 make: *** [Makefile:1853: tools] Error 2
Can anyone please fix it?
Can you please provide the git hash or version you are using?
Did you add CROSS_COMPILE= when building? I cannot repeat this problem...and it seems that CI is working OK.
Regards, Simon