Hello,
I'm building Buildroot using a 5.45 kernel kernel, when I add the "batman-adv" package and compile I receive this error:
/buildroot/output/build/batman-adv-2019.3/net/batman-adv/soft-interface.c:439:2: error: implicit declaration of function ‘nf_reset’; did you mean ‘dql_reset’? [-Werror=implicit-function-declaration] 439 | nf_reset(skb); | ^~~~~~~~ | dql_reset
Is there a patch to correct this? Any insight would be greatly appreciated.
Best regards,
Cale Collins
On Wednesday, 14 October 2020 21:54:29 CEST Cale Collins wrote:
I'm building Buildroot using a 5.45 kernel kernel, when I add the "batman-adv" package and compile I receive this error:
I think you meant 5.4.5, right? You should really upgrade to the newest version of the LTS kernel - 5.4.71.
/buildroot/output/build/batman-adv-2019.3/net/batman-adv/soft-interface.c:439:2: error: implicit declaration of function ‘nf_reset’; did you mean ‘dql_reset’? [-Werror=implicit-function-declaration] 439 | nf_reset(skb); | ^~~~~~~~ | dql_reset
The support for Linux 5.4 was only added with v2019.4. Please check the release notes [1]. Not sure why you even try to build the batman-adv from kernel 5.3 against the Linux kernel 5.4.
I would recommend not to use such old version due to various bugfixes which you most likely didn't manually backport to v2019.3/v2019.4.
Is there a patch to correct this? Any insight would be greatly appreciated.
There was an upstream change which dropped nf_reset in favor of nf_reset_ct [2]
Kind regards, Sven
[1] https://www.open-mesh.org/news/93 [2] https://git.open-mesh.org/batman-adv.git/commit/ab636a2bec851b103c638ec4cde0...
b.a.t.m.a.n@lists.open-mesh.org