[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <92a1938e-523f-533f-27c9-7ec881737472@cumulusnetworks.com>
Date: Tue, 21 Jun 2016 11:13:11 -0600
From: David Ahern <dsa@...ulusnetworks.com>
To: Phil Sutter <phil@....cc>,
Stephen Hemminger <shemming@...cade.com>,
Daniel Borkmann <daniel@...earbox.net>,
Nicolas Dichtel <nicolas.dichtel@...nd.com>,
Julien Floret <julien.floret@...nd.com>, netdev@...r.kernel.org
Subject: Re: [iproute PATCH v2 2/7] Use C99 style initializers everywhere
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 ...
lib
CC libgenl.o
CC ll_map.o
CC libnetlink.o
AR libnetlink.a
CC utils.o
In file included from utils.c:35:
../include/utils.h:212:1: warning: "BUILD_BUG_ON" redefined
In file included from ../include/linux/netlink.h:4,
from ../include/linux/if_link.h:5,
from ../include/linux/netdevice.h:31,
from ../include/linux/if_arp.h:26,
from utils.c:28:
/usr/include/linux/kernel.h:29:1: warning: this is the location of the
previous definition
...
CC tc_bpf.o
tc_bpf.c:41:26: error: linux/if_alg.h: No such file or directory
In file included from tc_bpf.c:45:
../include/utils.h:212:1: warning: "BUILD_BUG_ON" redefined
In file included from ../include/linux/netlink.h:4,
from ../include/libnetlink.h:7,
from ../include/utils.h:10,
from tc_bpf.c:45:
/usr/include/linux/kernel.h:29:1: warning: this is the location of the
previous definition
make[1]: *** [tc_bpf.o] Error 1
make: *** [all] Error 2
Powered by blists - more mailing lists