Closed Fil010 closed 1 week ago
Can you try to bump upstream version locally? https://inai.de/projects/xtables-addons/
same issue (x86, kernel 6.6), same error. tried upstream 3.26, same result
In file included from /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions/LUA/prot_buf_ip.c:20:
./include/net/checksum.h: In function 'csum_shift':
./include/net/checksum.h:90:40: error: implicit declaration of function 'ror32' [-Werror=implicit-function-declaration]
90 | return (__force __wsum)ror32((__force u32)sum, 8);
| ^~~~~
In file included from ./include/linux/kernel.h:22,
from ./include/linux/skbuff.h:13,
from ./include/linux/tcp.h:17,
from ./include/net/tcp.h:20,
from /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions/LUA/prot_buf_ip.c:21:
./include/linux/bitops.h: At top level:
./include/linux/bitops.h:134:21: error: conflicting types for 'ror32'; have '__u32(__u32, unsigned int)' {aka 'unsigned int(unsigned int, unsigned int)'}
134 | static inline __u32 ror32(__u32 word, unsigned int shift)
| ^~~~~
./include/net/checksum.h:90:40: note: previous implicit declaration of 'ror32' with type 'int()'
90 | return (__force __wsum)ror32((__force u32)sum, 8);
| ^~~~~
cc1: some warnings being treated as errors
make[9]: *** [scripts/Makefile.build:243: /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions/LUA/prot_buf_ip.o] Error 1
make[8]: *** [scripts/Makefile.build:480: /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions/LUA] Error 2
make[7]: *** [/home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.30/Makefile:1913: /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions] Error 2
make[6]: *** [Makefile:234: __sub-make] Error 2
make[6]: Leaving directory '/home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/linux-6.6.30'
make[5]: *** [Makefile:460: modules] Error 2
make[5]: Leaving directory '/home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/extensions'
make[4]: *** [Makefile:625: all-recursive] Error 1
make[4]: Leaving directory '/home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26'
make[3]: *** [Makefile:397: all] Error 2
make[3]: Leaving directory '/home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26'
make[2]: *** [Makefile:203: /home/user/openwrt/build_dir/target-x86_64_musl/linux-x86_64/xtables-addons-3.26/.built] Error 2
make[2]: Leaving directory '/home/user/openwrt/feeds/packages/net/xtables-addons'
time: package/feeds/packages/xtables-addons/compile#15.75#10.73#27.93
ERROR: package/feeds/packages/xtables-addons failed to build.
make[1]: *** [package/Makefile:173: package/feeds/packages/xtables-addons/compile] Error 1
make[1]: Leaving directory '/home/user/openwrt'
make: *** [/home/user/openwrt/include/toplevel.mk:233: package/feeds/packages/xtables-addons/compile] Error 2
this seems to help: https://github.com/coolsnowwolf/lede/issues/11824#issuecomment-1911438167
Maintainer: @jow- Environment: (x86/64, Default string Default string, OpenWrt SNAPSHOT)
Description:
Good day to all
Compiling an image for x86/64 the xtables-addons package presents the following error when I want to use the 6.6 test kernel
Gratitude to all