netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@vyatta.com>
To: Pavel Emelyanov <xemul@parallels.com>,
	David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Iproute2 build broken by current kernel headers
Date: Tue, 10 Jan 2012 10:54:09 -0800	[thread overview]
Message-ID: <20120110105409.3567bb1b@nehalam.linuxnetplumber.net> (raw)

The update to inet diag broke compatibility with exported headers.
Iproute2 uses sanitized kernel headers.

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib/\"   -c -o ss.o ss.c
ss.c: In function ‘tcp_show_netlink’:
ss.c:1504:7: error: ‘struct inet_diag_req’ has no member named ‘idiag_family’
make[1]: *** [ss.o] Error 1
make[1]: Leaving directory `/home/shemminger/src/iproute2/misc'

             reply	other threads:[~2012-01-10 18:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-10 18:54 Stephen Hemminger [this message]
2012-01-10 19:07 ` Iproute2 build broken by current kernel headers Stephen Hemminger
2012-01-11  6:34   ` Pavel Emelyanov
2012-01-11  6:39     ` David Miller
2012-01-11  6:58       ` Pavel Emelyanov
2012-01-11  7:03         ` David Miller
2012-01-11 18:24     ` Stephen Hemminger
2012-01-11 18:27       ` Pavel Emelyanov

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=20120110105409.3567bb1b@nehalam.linuxnetplumber.net \
    --to=shemminger@vyatta.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=xemul@parallels.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.
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).