On Thursday 2011-07-28 12:46, Peter Volkov wrote: >Hi. TEE extension fails to build in xtables-addons. It fails with the following error: > > CC [M] /vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.o >/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c: In function ‘tee_tg_route4’: >/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:46:4: error: ‘struct flowi’ has no member named ‘nl_u’ >/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:47:4: error: ‘struct flowi’ has no member named ‘nl_u’ >/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:48:4: error: ‘struct flowi’ has no member named ‘nl_u’ >/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:50:2: warning: passing argument 2 of ‘ip_route_output_key’ from incompatible pointer type >include/net/route.h:131:61: note: expected ‘struct flowi4 *’ but argument is of type ‘struct rtable **’ Because the mainline kernel already has xt_TEE (revision 1+) since version 2.6.35, the xt_TEE (revision 0) copy in Xt-a is build-disabled by default. And now I added a big fat #error to emphase on that. :) -- 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