public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven@narfation.org>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: jorge power <jorge@alumni.ufl.edu>
Subject: Re: [B.A.T.M.A.N.] Batman -adv no longer backwards compatible with kernels Pre -4.0???
Date: Mon, 18 Dec 2017 22:51:58 +0100	[thread overview]
Message-ID: <2202407.cOva1GthCj@sven-edge> (raw)
In-Reply-To: <CAHuRCtSXTMBekv95iaoxVQtxGWLvk4HOz_SbOsn4WdXT9HpaFg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]

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/scripts/checkpatch.pl?id=cb81fc6a3cf694345f29858624e5d9f3509d30d4#n3829

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-12-18 21:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 20:55 [B.A.T.M.A.N.] Batman -adv no longer backwards compatible with kernels Pre -4.0??? jorge power
2017-12-18 21:07 ` Antonio Quartulli
2017-12-18 21:51 ` Sven Eckelmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2202407.cOva1GthCj@sven-edge \
    --to=sven@narfation.org \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=jorge@alumni.ufl.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox