Re: CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile

From: John Levon
Date: Sun Oct 26 2003 - 23:11:44 EST


On Mon, Oct 27, 2003 at 04:42:14AM +0100, Matthias Andree wrote:

> net/built-in.o(.init.text+0x248e): In function `init':
> : undefined reference to `ipt_register_match'
>
> .config file at
> http://mandree.home.pages.de/linux-2.6-BK-config

Please try the below. The option needs to inherit whatever iptables
itself got set to.

regards
john


Index: linux-cvs/net/ipv4/netfilter/Kconfig
===================================================================
RCS file: /home/cvs/linux-2.5/net/ipv4/netfilter/Kconfig,v
retrieving revision 1.12
diff -u -a -p -r1.12 Kconfig
--- linux-cvs/net/ipv4/netfilter/Kconfig 26 Sep 2003 00:23:18 -0000 1.12
+++ linux-cvs/net/ipv4/netfilter/Kconfig 27 Oct 2003 04:03:40 -0000
@@ -267,7 +267,7 @@ config IP_NF_MATCH_OWNER

config IP_NF_MATCH_PHYSDEV
tristate "Physdev match support"
- depends on IP_NF_IPTABLES!=n && BRIDGE_NETFILTER
+ depends on IP_NF_IPTABLES && BRIDGE_NETFILTER
help
Physdev packet matching matches against the physical bridge ports
the IP packet arrived on or will leave by.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/