While compiling the mips64el-softmmu target I encountered these errors:
CC hw/display/g364fb.o
hw/core/loader-fit.c:105:41: error: expected expression
*addr = fdt32_to_cpu(*(fdt32_t *)prop);
^
hw/core/loader-fit.c:105:32: error: use of undeclared identifier 'fdt32_t'
*addr = fdt32_to_cpu(*(fdt32_t *)prop);
^
hw/core/loader-fit.c:108:41: error: expected expression
*addr = fdt64_to_cpu(*(fdt64_t *)prop);
^
hw/core/loader-fit.c:108:32: error: use of undeclared identifier 'fdt64_t'
*addr = fdt64_to_cpu(*(fdt64_t *)prop);
^
hw/core/loader-fit.c:278:19: warning: implicit declaration of function
'fdt_first_subnode' is invalid in C99 [-Wimplicit-function-declaration]
off = fdt_first_subnode(itb, configs);
^
hw/core/loader-fit.c:286:23: warning: implicit declaration of function
'fdt_next_subnode' is invalid in C99 [-Wimplicit-function-declaration]
off = fdt_next_subnode(itb, off);
^
2 warnings and 4 errors generated.
make: *** [hw/core/loader-fit.o] Error 1
make: *** Waiting for unfinished jobs….
Steps to reproduce the error:
./configure --target-list=mips64el-softmmu && make