All of lore.kernel.org
 help / color / mirror / Atom feed
* xtables-addons: TEE extension fails to build
@ 2011-07-28 10:46 Peter Volkov
  2011-07-28 11:51 ` Jan Engelhardt
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Volkov @ 2011-07-28 10:46 UTC (permalink / raw)
  To: Netfilter Developer Mailing List

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 **’
/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:50:2: error: too many arguments to function ‘ip_route_output_key’
include/net/route.h:131:61: note: declared here
/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c: In function ‘tee_tg_route6’:
/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.c:188: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:189: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:195:2: warning: passing argument 3 of ‘ip6_route_output’ from incompatible pointer type
include/net/ip6_route.h:72:27: note: expected ‘struct flowi6 *’ but argument is of type ‘struct flowi *’
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
make[2]: *** [/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions/xt_TEE.o] Error 1
make[1]: *** [_module_/vt/portage/tmp/portage/net-firewall/xtables-addons-1.37/work/xtables-addons-1.37/extensions] Error 2
make[1]: Leaving directory `/vt/src/linux-2.6.39-gentoo-r3'
make: *** [modules] Error 2

--
Peter.


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xtables-addons: TEE extension fails to build
  2011-07-28 10:46 xtables-addons: TEE extension fails to build Peter Volkov
@ 2011-07-28 11:51 ` Jan Engelhardt
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Engelhardt @ 2011-07-28 11:51 UTC (permalink / raw)
  To: Peter Volkov; +Cc: Netfilter Developer Mailing List

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-28 11:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 10:46 xtables-addons: TEE extension fails to build Peter Volkov
2011-07-28 11:51 ` Jan Engelhardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.