From: Szabolcs Nagy <nsz@port70.net>
To: musl@lists.openwall.com
Subject: Re: netinet/if_ether.h and linux/if_ether.h
Date: Sat, 2 Nov 2013 20:07:43 +0100 [thread overview]
Message-ID: <20131102190743.GR1685@port70.net> (raw)
In-Reply-To: <CAKHv7piPramRf+xPRi2HRh3aB1gKgYbn83C=+MPem-bUaiGjBg@mail.gmail.com>
* Paul Schutte <sjpschutte@gmail.com> [2013-11-02 13:18:41 +0000]:
> I am trying to compile openvpn against musl and I get the following:
>
> In file included from /usr/include/linux/if_tun.h:20:0,
> from syshead.h:222,
> from base64.c:40:
> /usr/include/linux/if_ether.h:127:8: error: redefinition of 'struct ethhdr'
> /usr/include/netinet/if_ether.h:93:8: note: originally defined here
>
yes this was reported earlier but it was not addressed
there is no clean solution: netinet/if_ether.h should include
linux/if_ether.h so they don't conflict, but then it cannot be
used without the kernel headers
> I can get it to work by just removing the netinet/if_ether.h part, but
> maybe it is something worthy of your attention.
netinet/if_ether.h has additional interfaces over the linux/if_ether.h
ones, so this does not work in general
next prev parent reply other threads:[~2013-11-02 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-02 13:18 Paul Schutte
2013-11-02 19:07 ` Szabolcs Nagy [this message]
2013-11-02 19:15 ` Paul Schutte
2013-11-02 19:34 ` Rich Felker
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=20131102190743.GR1685@port70.net \
--to=nsz@port70.net \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).