mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile
@ 2003-10-27  3:42 Matthias Andree
  2003-10-27  4:10 ` John Levon
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Andree @ 2003-10-27  3:42 UTC (permalink / raw)
  To: Linux-Kernel mailing list

Hi,

there is a configuration problem in the current BK kernel. With
CONFIG_IP_NF_IPTABLES=m, I'm getting these errors:

net/built-in.o(.init.text+0x248e): In function `init':
: undefined reference to `ipt_register_match'
net/built-in.o(.exit.text+0x1ae): In function `fini':
: undefined reference to `ipt_unregister_match'

These go away with CONFIG_IP_NF_IPTABLES=y.

.config file at
http://mandree.home.pages.de/linux-2.6-BK-config
(MD5 hash is 5e32c5b9305943587f977711cf8a8c66)

BK checked out a moment ago, 1.1359 is the rightmost entry in bk
histtool. Parent repository is bk://linux.bkbits.net/linux-2.5/

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95

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

* Re: CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile
  2003-10-27  3:42 CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile Matthias Andree
@ 2003-10-27  4:10 ` John Levon
  2003-10-27  4:31   ` Matthias Andree
  2003-10-27  7:46   ` David S. Miller
  0 siblings, 2 replies; 4+ messages in thread
From: John Levon @ 2003-10-27  4:10 UTC (permalink / raw)
  To: Linux-Kernel mailing list; +Cc: davem, matthias.andree

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.

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

* Re: CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile
  2003-10-27  4:10 ` John Levon
@ 2003-10-27  4:31   ` Matthias Andree
  2003-10-27  7:46   ` David S. Miller
  1 sibling, 0 replies; 4+ messages in thread
From: Matthias Andree @ 2003-10-27  4:31 UTC (permalink / raw)
  To: John Levon; +Cc: Linux-Kernel mailing list, davem, matthias.andree

On Mon, 27 Oct 2003, John Levon wrote:

> Please try the below. The option needs to inherit whatever iptables
> itself got set to.
...
> -	depends on IP_NF_IPTABLES!=n && BRIDGE_NETFILTER
> +	depends on IP_NF_IPTABLES && BRIDGE_NETFILTER

Compiles fine (haven't run it yet). Thank you!

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95

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

* Re: CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile
  2003-10-27  4:10 ` John Levon
  2003-10-27  4:31   ` Matthias Andree
@ 2003-10-27  7:46   ` David S. Miller
  1 sibling, 0 replies; 4+ messages in thread
From: David S. Miller @ 2003-10-27  7:46 UTC (permalink / raw)
  To: John Levon; +Cc: linux-kernel, matthias.andree

On Mon, 27 Oct 2003 04:10:39 +0000
John Levon <levon@movementarian.org> wrote:

> 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.

Applied, thanks John.

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

end of thread, other threads:[~2003-10-27  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-27  3:42 CONFIG_IP_NF_IPTABLES=m breaks 2.6 BK compile Matthias Andree
2003-10-27  4:10 ` John Levon
2003-10-27  4:31   ` Matthias Andree
2003-10-27  7:46   ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome