Re: [netfilter-core] linux-2.6.19-ge6243863 build #160 failed

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

 



Toralf Förster wrote:
> Hello,
> 
> the build with the attached .config failed, make ends with:
> ...
> WARNING: "ip_route_output_key" [net/netfilter/nf_conntrack_h323.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> 
> Here's the config:
> 
> # CONFIG_INET is not set

> CONFIG_NF_CONNTRACK=y

Interesting combination :) I assume you used make randconfig and don't
really have a reason for enabling conntrack without INET ..

The easiest fix seems to be to let everything under net/netfilter depend
on INET.

[NETFILTER]: Fix INET=n linking error

Building with INET=n results in

WARNING: "ip_route_output_key" [net/netfilter/nf_conntrack_h323.ko] undefined!

The entire code in net/netfilter is only used for IPv4/IPv6 currently, so
let it depend on INET.

Noticed by Toralf Förster <toralf.foerster@xxxxxx>.

Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

---
commit ce95407aa64e1add96db823d0020f68a5941eb9a
tree 44f0eb5164ee3b0029c6da1aa97fd9517bfb2291
parent fe1a4d3f910960f27afaa4e5d10050cf8d2460c6
author Patrick McHardy <kaber@xxxxxxxxx> Wed, 06 Dec 2006 09:32:05 +0100
committer Patrick McHardy <kaber@xxxxxxxxx> Wed, 06 Dec 2006 09:32:42 +0100

 net/netfilter/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/netfilter/Kconfig b/net/netfilter/Kconfig
index 3a66878..1b853c3 100644
--- a/net/netfilter/Kconfig
+++ b/net/netfilter/Kconfig
@@ -1,5 +1,5 @@
 menu "Core Netfilter Configuration"
-	depends on NET && NETFILTER
+	depends on NET && INET && NETFILTER
 
 config NETFILTER_NETLINK
        tristate "Netfilter netlink interface"

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux