mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Paul Schutte <sjpschutte@gmail.com>
To: musl@lists.openwall.com
Subject: Re: netinet/if_ether.h and linux/if_ether.h
Date: Sat, 2 Nov 2013 19:15:29 +0000	[thread overview]
Message-ID: <CAKHv7pj75_tGGBQ9aPL+SKdSON6Y9awPfVO_FcdbU5TVwtR2kA@mail.gmail.com> (raw)
In-Reply-To: <20131102190743.GR1685@port70.net>

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

Thanks Nsz !


On Sat, Nov 2, 2013 at 7:07 PM, Szabolcs Nagy <nsz@port70.net> wrote:

> * 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
>

[-- Attachment #2: Type: text/html, Size: 1448 bytes --]

  reply	other threads:[~2013-11-02 19:15 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
2013-11-02 19:15   ` Paul Schutte [this message]
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=CAKHv7pj75_tGGBQ9aPL+SKdSON6Y9awPfVO_FcdbU5TVwtR2kA@mail.gmail.com \
    --to=sjpschutte@gmail.com \
    --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).