You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I have a similar issue building a rockchip version of uboot, but similarly tried building it on Alpine Linux and also was getting that ulong is not defined.
but it looks like you're getting more errors (perhaps musl-dev is not installed), unfortunately Alpine doesn't play by the same rules as debian based distros, but you can kind of pretend everything is ok :)
muhahacz:
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
The text was updated successfully, but these errors were encountered: