From: Sven Eckelmann <sven@narfation.org>
To: Alex Suykov <alex.suykov@gmail.com>
Cc: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] musl build fixes
Date: Thu, 02 Apr 2015 08:39:32 +0200 [thread overview]
Message-ID: <4593170.BoRA6mpdPI@sven-edge> (raw)
In-Reply-To: <20150401215302.GA25434@vostro>
[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]
On Thursday 02 April 2015 00:53:02 Alex Suykov wrote:
> Wed, Apr 01, 2015 at 10:02:14PM +0200, Sven Eckelmann wrote:
> > The linux/if_ether.h -> netinet/if_ether.h seems to be understandable (but
> > rather unfortunate).
> >
> > I am not sure why why you include linux/types.h to the different source
> > files. Most likely because this include should actually be in packet.h as
> > mentioned in
> >
> > https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-March/012930.html
> > https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2015-March/012942.html
>
> I assume any changes in packet.h must be done in batman-adv first, then
> ported to batctl, and preferably not the other way around.
> And since I was only concerned with batctl, I saw packet.h as read-only.
Yes, this is the preferable way to modify packet.h. I was asking to understand
if these are needed for something else which I may have missed.
Maybe you can remove the type.h stuff and ask to get it queued in after my
patches are in. At least if this would work
> Moving linux/types.h to packet.h does make sense I think.
> However, it also brings linux/if_ether.h there, which immediately
> makes musl support difficult. Maybe even impractical.
The maintainers rejected the use of __KERNEL__ checks when Markus Pargmann
wanted to use them [1]. So I may have to modify my patch to move bitops and
if_ether.h back to main.h. Maybe you can try to modify your packet.h as seen
in the new version of "[PATCHv3 2/4] batman-adv: Add required to includes to
all files" which I will send in some minutes. Would be nice when this version
+ your linux/if_ether.h -> netinet/if_ether.h would work with musl.
> I'm not saying that's wrong, because I'm not trying to say batctl needs
> musl support in the first place. Just another point to consider.
We can at least try to get support in. But when we have two problems to solve
then it may takes some more rounds and extra discussion :)
Kind regards,
Sven
[1] https://lists.open-mesh.org/pipermail/b.a.t.m.a.n/2014-December/012699.html
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-04-02 6:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 17:18 [B.A.T.M.A.N.] musl build fixes Alex Suykov
2015-04-01 17:36 ` Sven Eckelmann
2015-04-01 19:35 ` Alex Suykov
2015-04-01 20:02 ` Sven Eckelmann
2015-04-01 21:53 ` Alex Suykov
2015-04-02 6:39 ` Sven Eckelmann [this message]
2015-04-06 14:27 ` Alex Suykov
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=4593170.BoRA6mpdPI@sven-edge \
--to=sven@narfation.org \
--cc=alex.suykov@gmail.com \
--cc=b.a.t.m.a.n@lists.open-mesh.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