From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [iproute PATCH v2 2/7] Use C99 style initializers everywhere Date: Tue, 21 Jun 2016 11:30:08 -0700 Message-ID: <20160621113008.30094bc9@xeon-e3> References: <1466525921-15738-1-git-send-email-phil@nwl.cc> <1466525921-15738-3-git-send-email-phil@nwl.cc> <726e5c7d-f23b-dbf0-c1d4-721ef3d15d5b@cumulusnetworks.com> <20160621170333.GD19797@orbyte.nwl.cc> <92a1938e-523f-533f-27c9-7ec881737472@cumulusnetworks.com> <20160621171731.GF19797@orbyte.nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: David Ahern , Daniel Borkmann , Nicolas Dichtel , "Julien Floret" , To: Phil Sutter Return-path: Received: from mx0a-000f0801.pphosted.com ([67.231.144.122]:35435 "EHLO mx0a-000f0801.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751704AbcFUSaR (ORCPT ); Tue, 21 Jun 2016 14:30:17 -0400 In-Reply-To: <20160621171731.GF19797@orbyte.nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: On Tue, 21 Jun 2016 19:17:31 +0200 Phil Sutter wrote: > On Tue, Jun 21, 2016 at 11:13:11AM -0600, David Ahern wrote: > > On 6/21/16 11:03 AM, Phil Sutter wrote: > > >> I downloaded CentOS 5 and 6. iproute2 fails to compile on CentOS 5.11; > > >> ip command builds on 6.8 but with a flurry of redefinition errors > > >> (BUILD_BUG_ON), but fails at tc. > > > > > > What's the exact error message please? Maybe some incompatibility in > > > kernel headers? Although that shouldn't be ... > [...] > > CC tc_bpf.o > > tc_bpf.c:41:26: error: linux/if_alg.h: No such file or directory > > Ah! Looks like this header is missing in iproute2's copy of kernel > headers. > > Stephen, would you import the missing one? I ran a script and imported all the headers that were linux/if_*.h and used by current source.