You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
f54bc3985a
Including "sys/stat.h" from newer glibc will cause __u64 from linux uapi header to be included, causing compilation failure for u-boot tools USE_HOSTCC Remove typedef for __u64 in include/compiler.h to fix the issue. It should be safe because as of u-boot-2018.03, no ref to __u64 is found under u-boot tools/ directory Error message snippet follows HOSTCC tools/mkenvimage.o In file included from /usr/include/asm-generic/types.h:7, from /usr/include/asm/types.h:5, from /usr/include/linux/types.h:5, from /usr/include/linux/stat.h:5, from /usr/include/bits/statx.h:30, from /usr/include/sys/stat.h:446, from tools/mkenvimage.c:21: /usr/include/asm-generic/int-ll64.h:31:42: error: conflicting types for '__u64' 31 | __extension__ typedef unsigned long long __u64; | ^~~~~ In file included from <command-line>: ././include/compiler.h:69:18: note: previous declaration of '__u64' was here 69 | typedef uint64_t __u64; | ^~~~~ make[5]: *** [scripts/Makefile.host:116: tools/mkenvimage.o] Error 1 Ref: https://forum.openwrt.org/t/compile-error-19-07/44423 Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1699194 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> |
5 years ago | |
---|---|---|
.. | ||
autoconf | 8 years ago | |
automake | 7 years ago | |
b43-tools | 6 years ago | |
bc | 5 years ago | |
bison | 5 years ago | |
cbootimage | 5 years ago | |
cbootimage-configs | 5 years ago | |
ccache | 5 years ago | |
cmake | 5 years ago | |
coreutils | 7 years ago | |
dosfstools | 7 years ago | |
e2fsprogs | 5 years ago | |
elftosb | 8 years ago | |
expat | 5 years ago | |
findutils | 6 years ago | |
firmware-utils | 5 years ago | |
flex | 6 years ago | |
flock | 8 years ago | |
genext2fs | 8 years ago | |
gengetopt | 5 years ago | |
gmp | 7 years ago | |
include | 5 years ago | |
isl | 5 years ago | |
kernel2minor | 6 years ago | |
libelf | 5 years ago | |
libressl | 5 years ago | |
libtool | 7 years ago | |
lzma | 8 years ago | |
lzma-old | 6 years ago | |
m4 | 6 years ago | |
make-ext4fs | 6 years ago | |
missing-macros | 9 years ago | |
mkimage | 5 years ago | |
mklibs | 8 years ago | |
mm-macros | 6 years ago | |
mpc | 6 years ago | |
mpfr | 5 years ago | |
mtd-utils | 5 years ago | |
mtools | 5 years ago | |
padjffs2 | 8 years ago | |
patch | 5 years ago | |
patch-image | 7 years ago | |
patchelf | 8 years ago | |
pkg-config | 6 years ago | |
qemu | 7 years ago | |
quilt | 8 years ago | |
scons | 5 years ago | |
sdimage | 6 years ago | |
sed | 5 years ago | |
sparse | 6 years ago | |
squashfs | 7 years ago | |
squashfskit4 | 5 years ago | |
sstrip | 7 years ago | |
tar | 5 years ago | |
upslug2 | 5 years ago | |
wrt350nv2-builder | 9 years ago | |
xz | 5 years ago | |
zip | 5 years ago | |
zlib | 6 years ago | |
Makefile | 5 years ago |