On 19/12/17 04:55, 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'
get_link_net is not part of rtnetlink.h in kernel v 3.3.8.
Is 2017.4 not backwards compatible with older kernels per 4.0?
It's there in compat.h:
134 #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0)
136 /* wild hack for batadv_getlink_net only */
137 #define get_link_net get_xstats_size || 1 ? fallback_net : (struct
139 #endif /* < KERNEL_VERSION(4, 0, 0) */
not sure why it does not work for you.
get_link_net isnt added until kernel 4.0-rc1.
I saw a previous message from 2016 saying:
"Just to let everybody know: This patchset will break batman-adv compatibility
for kernels older than 4.0 (see d37512a277dfb2cef8a578e25a3246f61399a55a):"
So was the backwards compatability broken intentionally so its no
longer backwards compatible with older kernels?
What can i do?