From: "Harms, Hannes" <hannes.harms@tu-bs.de>
To: Sven Eckelmann <sven@narfation.org>, b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] How to compile BATMAN V against linux backports cfg80211
Date: Thu, 9 Jun 2016 15:44:03 +0200 [thread overview]
Message-ID: <575972A3.8040505@tu-bs.de> (raw)
In-Reply-To: <3964079.xB3saelhBu@bentobox>
Hi Sven,
thanks for the advice.
I managed somehow to integrate batman inside my backport tree
and changed the Makefiles etc. Now the mesh is up and BATMAn V seems to
work,
at least I can ping other nodes and measure throughput.
But unfortunately now batctl always says that the mesh is not activated
(no interface),
which is obviously wrong. Maybe I made somewhere a mistake while
porting the code.
Can you guess what goes wrong?
Best Regards,
Hannes
Am 08.06.2016 um 13:20 schrieb Sven Eckelmann:
> On Wednesday 08 June 2016 12:03:32 Harms, Hannes wrote:
>> Hi,
>>
>> I want to test the new batman V with throughput based metric, but I
>> could not find out how to compile batman-adv against cfg80211 from linux
>> backports.
> You cannot build against the backports modules with the batman-adv Makefile.
> This is only for systems which don't replace cfg80211 with an incompatible
> version. But you should have a look at the OpenWrt compile rules (especially
> NOSTDINC_FLAGS [1]). It basically uses its own compat-hack header and uses
> the rest from the backports compat layer + the new cfg80211 headers.
>
> Most important here is that you don't compile against cfg80211.h of your
> kernel when your backports stuff uses complete different struct definitions
> (this is most likely what causes the crash on your system).
>
> Kind regards,
> Sven
>
> [1] https://github.com/openwrt-routing/packages/blob/master/batman-adv/Makefile
--
Dipl.-Ing. Hannes Harms
Technische Universität Braunschweig
Institut für mobile Maschinen und Nutzfahrzeuge
Langer Kamp 19a
D-38106 Braunschweig
Durchwahl: +49 (0)531 391-7197
E-Mail: hannes.harms@tu-braunschweig.de
http://www.tu-braunschweig.de/imn
next prev parent reply other threads:[~2016-06-09 13:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-08 10:03 [B.A.T.M.A.N.] How to compile BATMAN V against linux backports cfg80211 Harms, Hannes
2016-06-08 11:20 ` Sven Eckelmann
2016-06-09 13:44 ` Harms, Hannes [this message]
2016-06-10 8:15 ` Sven Eckelmann
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=575972A3.8040505@tu-bs.de \
--to=hannes.harms@tu-bs.de \
--cc=b.a.t.m.a.n@lists.open-mesh.org \
--cc=sven@narfation.org \
/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