compile error

Chan Kim ckim at etri.re.kr
Sun Jun 4 16:41:21 CEST 2023


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 at 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?

Thank you!

Chan Kim






More information about the U-Boot mailing list