* 5.11-rc3: build error in arm/boot/compressed/.../fdt_ro.c
@ 2021-01-12 17:59 Pavel Machek
0 siblings, 0 replies; only message in thread
From: Pavel Machek @ 2021-01-12 17:59 UTC (permalink / raw)
To: kernel list, masahiroy, rmk+kernel
[-- Attachment #1: Type: text/plain, Size: 1694 bytes --]
Hi!
I can't build for 32-bit arm:
CC arch/arm/boot/compressed/fdt_wip.o
In file included from arch/arm/boot/compressed/../../../../lib/fdt_ro.c:2,
from arch/arm/boot/compressed/fdt_ro.c:2:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_generate_phandle’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:151:13: error: ‘FDT_MAX_PHANDLE’ undeclared (first use in this function); did you mean ‘FDT_MAX_NCELLS’?
if (max == FDT_MAX_PHANDLE)
^~~~~~~~~~~~~~~
FDT_MAX_NCELLS
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:151:13: note: each undeclared identifier is reported only once for each function it appears in
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_get_mem_rsv’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:184:13: error: implicit declaration of function ‘fdt64_ld’ [-Werror=implicit-function-declaration]
*address = fdt64_ld(&re->address);
^~~~~~~~
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c: In function ‘fdt_get_property_by_offset_’:
arch/arm/boot/compressed/../../../../lib/../scripts/dtc/libfdt/fdt_ro.c:373:11: error: implicit declaration of function ‘fdt32_ld’ [-Werror=implicit-function-declaration]
*lenp = fdt32_ld(&prop->len);
^~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:279: arch/arm/boot/compressed/fdt_ro.o] Error 1
Ideas?
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-12 18:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12 17:59 5.11-rc3: build error in arm/boot/compressed/.../fdt_ro.c Pavel Machek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®