On Montag, 18. Dezember 2017 15:55:48 CET jorge power wrote:
I am running kernel 3.3.8 and trying to use batman adv ver 2017.4. I am getting error:
net/batman-adv/hard-interface.c:101:28: error: 'const struct rtnl_link_ops' has no member named 'get_link_net'
[...]
So was the backwards compatability broken intentionally so its no longer backwards compatible with older kernels?
What can i do?
Stop trying to do your own stuff and use the full compat layer from batman-adv or LEDE (mac80211 + small batman-adv compat layer). We will not integrate any compat stuff in net/batman-adv/ because this is the part which is part of the official kernel [1]. So if you don't want to use the compat stuff then please don't complain about having build errors.
And in case somebody wonders: Yes, he acknowledged on IRC that he is not using the compat stuff from batman-adv to build against OpenWrt (without the OpenWrt package!!!!).
Kind regards, Sven
[1] the official kernel doesn't require compat and doesn't want it https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scri...