Re: xtables-addons build failed with linux 4.5 header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2016-04-20 12:49, Normand wrote:
> -fasynchronous-unwind-tables -g -o libxt_pknock.oo -c libxt_pknock.c;
> [   81s] In file included from /usr/include/iptables/xtables.h:16:0,
> [   81s]                  from libxt_pknock.c:15:
> [   81s] /usr/include/linux/if.h:71:2: error: redeclaration of enumerator
> 'IFF_UP'
> [   81s]   IFF_UP    = 1<<0,  /* sysfs */
> [   81s]   ^

git blame include/uapi/linux/netfilter_ipv4/ip_tables.h:
1ffad83d (Mikko Rapeli  2015-10-15 07:56:30 +0200  20) #include <linux/if.h>

Great. That commit broke userspace programs like

 #include <net/if.h>
 #include <linux/netfilter_ipv4/ip_tables.h>

The only reason it did not break the iptables source code _yet_ is 
because iptables.git keeps a cached copy (old by now). As soon as 
someone updates those too as part of the regular routine, all goes to 
the bin.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux