]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iproute2-3.6.0 assumes presence of iptables
authorMatt Burgess <matthew@linuxfromscratch.org>
Tue, 2 Oct 2012 18:01:32 +0000 (19:01 +0100)
committerStephen Hemminger <shemminger@vyatta.com>
Wed, 3 Oct 2012 15:51:29 +0000 (08:51 -0700)
commit92905c6e0d260db39b9ddd736182eaa9a44615a7
tree11c07b39dad43f708525833cfe584b6a5b8a9e10
parentf22640712fe7508df78b0eda397c4bc35a9ce936
iproute2-3.6.0 assumes presence of iptables

Hi,

When compiling iproute2-3.6.0 on a host that doesn't have iptables available, I get the following error:

gcc -Wall -Wstrict-prototypes -O2 -I../include -DRESOLVE_HOSTNAMES
-DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE
-DCONFIG_GACT -DCONFIG_GACT_PROB -DYY_NO_INPUT   -c -o em_ipset.o
em_ipset.c
em_ipset.c:26:21: fatal error: xtables.h: No such file or directory

Fixed by the following patch, which guards the building of em_ipset.o on
the presence of suitable headers.

Thanks,

Matt.
tc/Makefile