-
Notifications
You must be signed in to change notification settings - Fork 3
Description
The build of uboot is failing for me, any hints would be appreciated,
cp -u arm-trusted-firmware/build/rk3328/release/bl31/bl31.elf u-boot/bl31.elf
source u-boot/../u-boot-venv/bin/activate; make -C u-boot CROSS_COMPILE="aarch64-linux-gnu-" -j $(nproc)
make[1]: Entering directory '/home/nsollars/build/rock64-arch-linux-build/u-boot'
CHK include/config/uboot.release
CHK include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CHK include/generated/generic-asm-offsets.h
CHK include/generated/asm-offsets.h
HOSTCC tools/mkenvimage.o
HOSTLD tools/mkenvimage
HOSTCC tools/aisimage.o
In file included from ./tools/../lib/libfdt/libfdt.h:10:0,
from tools/../include/libfdt.h:1,
from tools/fdt_host.h:11,
from tools/imagetool.h:24,
from tools/aisimage.c:8:
/usr/include/libfdt_env.h:70:30: error: conflicting types for 'fdt64_t'
typedef uint64_t FDT_BITWISE fdt64_t;
^~~~~~~
In file included from :0:0:
././include/libfdt_env.h:19:16: note: previous declaration of 'fdt64_t' was here
typedef __be64 fdt64_t;
^~~~~~~
In file included from ././include/libfdt_env.h:12:0,
from :0:
/usr/include/libfdt_env.h:90:24: error: expected ')' before 'x'
static inline uint32_t fdt32_to_cpu(fdt32_t x)
^
././include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) |
^
././include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) |
^
././include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) |
^
/usr/include/libfdt_env.h:94:23: error: expected ')' before 'x'
static inline fdt32_t cpu_to_fdt32(uint32_t x)
^
././include/compiler.h:71:9: error: expected ')' before '&' token
((((x) & 0xff000000) >> 24) |
^
././include/compiler.h:71:23: error: expected ')' before '>>' token
((((x) & 0xff000000) >> 24) |
^
././include/compiler.h:71:30: error: expected ')' before '|' token
((((x) & 0xff000000) >> 24) |
^
/usr/include/libfdt_env.h:99:24: error: expected ')' before 'x'
static inline uint64_t fdt64_to_cpu(fdt64_t x)
^
././include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
././include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
././include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
/usr/include/libfdt_env.h:103:23: error: expected ')' before 'x'
static inline fdt64_t cpu_to_fdt64(uint64_t x)
^
././include/compiler.h:76:9: error: expected ')' before '&' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
././include/compiler.h:76:36: error: expected ')' before '>>' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
././include/compiler.h:76:43: error: expected ')' before '|' token
((((x) & 0xff00000000000000##sfx) >> 56) |
^
make[2]: *** [scripts/Makefile.host:116: tools/aisimage.o] Error 1
make[1]: *** [Makefile:1278: tools] Error 2
make[1]: Leaving directory '/home/nsollars/build/rock64-arch-linux-build/u-boot'
make: *** [Makefile.uboot.mk:12: out/u-boot/idbloader.img] Error 2
Nige