Failed to build u-boot/atmelimage.o in Alpine Linux
Username: Lukas M
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1345
Failed to build u-boot/atmelimage.o in Alpine Linux
tools/mkimage.h: In function 'map_to_sysmem':
tools/mkimage.h:40:10: error: 'ulong' undeclared (first use in this function)
return (ulong)(uintptr_t)ptr;
^~~~~
tools/mkimage.h:40:10: note: each undeclared identifier is reported only once for each function it appears in
tools/mkimage.h:40:17: error: expected expression before 'uintptr_t'
return (ulong)(uintptr_t)ptr;
^~~~~~~~~
tools/mkimage.h:40:27: error: expected ';' before 'ptr'
return (ulong)(uintptr_t)ptr;
^~~
make[5]: *** [scripts/Makefile.host:134: tools/atmelimage.o] Error 1
make[4]: *** [Makefile:1195: tools-only] Error 2