* Re: [netfilter-core] linux-2.6.19-ge6243863 build #160 failed
[not found] <200612051617.24705.toralf.foerster@gmx.de>
@ 2006-12-06 8:34 ` Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2006-12-06 8:34 UTC (permalink / raw)
To: Toralf Förster; +Cc: coreteam, netfilter
[-- Attachment #1: Type: text/plain, Size: 564 bytes --]
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.
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 1108 bytes --]
[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@gmx.de>.
Signed-off-by: Patrick McHardy <kaber@trash.net>
---
commit ce95407aa64e1add96db823d0020f68a5941eb9a
tree 44f0eb5164ee3b0029c6da1aa97fd9517bfb2291
parent fe1a4d3f910960f27afaa4e5d10050cf8d2460c6
author Patrick McHardy <kaber@trash.net> Wed, 06 Dec 2006 09:32:05 +0100
committer Patrick McHardy <kaber@trash.net> 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"
^ permalink raw reply related [flat|nested] only message in thread