From: Khem Raj <raj.khem@gmail.com>
To: musl@lists.openwall.com
Subject: Re: Package build failure with musl 1.1.19 + Linux 4.14.48 (UAPI?)
Date: Tue, 26 Jun 2018 21:54:27 -0700 [thread overview]
Message-ID: <CAMKF1sr-j1N95wqJCz1RLHgJKo+X1EXC8US9k3-4ZZ67YyisLA@mail.gmail.com> (raw)
In-Reply-To: <8484b2d8-bdec-e84d-c7a1-cdb9112b651f@adelielinux.org>
On Tue, Jun 26, 2018 at 4:19 PM A. Wilcox <awilfox@adelielinux.org> wrote:
>
> Hi there,
>
> Attempting to build net-tools 1.60 on musl 1.1.19 with Linux headers
> from kernel 4.14.48 installed on a PowerPC computer, we're seeing the
> following build error:
>
>
> In file included from /usr/include/linux/if_tunnel.h:7:0,
> from iptunnel.c:34:
> /usr/include/linux/ip.h:86:8: error: redefinition of ‘struct iphdr’
> struct iphdr {
> ^~~~~
> In file included from iptunnel.c:29:0:
> /usr/include/netinet/ip.h:25:8: note: originally defined here
> struct iphdr {
> ^~~~~
> make: *** [Makefile:94: iptunnel.o] Error 1
>
>
> This failure was not present with kernel headers from 4.4. This may be
> a regression in the kernel or it may just be a change that needs to be
> made to musl. I am not very experienced in dealing with UAPI and didn't
> see much in the kernel doc tree so I was wondering if someone on this
> list could point me towards any resources about how to debug/fix such
> issues.
>
> Thank you for your time and attention.
>
you might want to apply this patch posted here
https://sourceforge.net/p/net-tools/mailman/message/35413022/
> Best to you and yours,
> --arw
>
> --
> A. Wilcox (awilfox)
> Project Lead, Adélie Linux
> http://adelielinux.org
>
prev parent reply other threads:[~2018-06-27 4:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-26 23:19 A. Wilcox
2018-06-27 0:51 ` Rich Felker
2018-06-27 4:54 ` Khem Raj [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=CAMKF1sr-j1N95wqJCz1RLHgJKo+X1EXC8US9k3-4ZZ67YyisLA@mail.gmail.com \
--to=raj.khem@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).