ipt-netflow
ipt-netflow copied to clipboard
Compile error
Test function put_unaligned_be24 asm/unaligned.h declared
Test function totalram_pages linux/mm.h declared
Test symbol totalram_pages linux/mm.h declared
Test member nf_ct_event_notifier.ct_event net/netfilter/nf_conntrack_ecache.h undeclared
Error: unexpected error from compiler
make -s -B -C /usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.10.103 M=/usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739/cc-test-build modules
make[4]: Entering directory '/usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.10.103'
/usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739/cc-test-build/test.c:4:41: error: invalid use of undefined type 'struct nf_ct_event_notifier'
4 | typeof(((struct nf_ct_event_notifier*)0)->ct_event) test;
| ^~
make[5]: *** [scripts/Makefile.build:280: /usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739/cc-test-build/test.o] Error 1
make[4]: *** [Makefile:1822: /usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739/cc-test-build] Error 2
make[4]: Leaving directory '/usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/linux-5.10.103'
make[3]: *** [Makefile:30: compat_def.h] Error 3
make[3]: Leaving directory '/usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739'
make[2]: *** [Makefile:120: /usr/src/github/openwrt/sources/snapshot/build_dir/target-mips_24kc_musl/linux-lantiq_xrx200/ipt-netflow-6a55739/.built] Error 2
make[2]: Leaving directory '/usr/src/github/openwrt/sources/snapshot/package/network/ipt-netflow'
time: package/network/ipt-netflow/compile#12.57#3.73#16.16
ERROR: package/network/ipt-netflow failed to build.
make[1]: *** [package/Makefile:116: package/network/ipt-netflow/compile] Error 1
make[1]: Leaving directory '/usr/src/github/openwrt/sources/snapshot'
make: *** [/usr/src/github/openwrt/sources/snapshot/include/toplevel.mk:230: package/network/ipt-netflow/compile] Fehler 2
Hmm, works if i compile version 2.5.1 ?!?
Hi!
I was able to compile current master branch, the result is here: https://kalamlacki.eu/ipt-netflow/21.02.2/ath79-generic/
Best regards, Łukasz
Hi!
You did no do ./scripts/feeds update ./scripts/feeds install iptables
Best, Łukasz
Hi!
Or if you use older openwrt distro: https://kalamlacki.eu/ipt-netflow/19.07.9/ath79-generic/
Best, Łukasz
Hi!
Now I spotted that you are using develop branch because of kernel-5.10.103 however I tried on develop branch with kernel 5.10.104 and it is also fine: https://kalamlacki.eu/ipt-netflow/develop-19-mar-2022/ath79-generic/
Best, Łukasz