Re: error while building the kernel Mainline

From: Justin P. Mattock
Date: Thu Nov 18 2010 - 13:28:17 EST


On 11/18/2010 10:20 AM, Patrick McHardy wrote:
Am 18.11.2010 19:13, schrieb Justin P. Mattock:
On 11/18/2010 09:50 AM, David Miller wrote:
From: Eric Dumazet<eric.dumazet@xxxxxxxxx>
Date: Thu, 18 Nov 2010 18:48:17 +0100

Let me guess...

net/netfilter/nf_conntrack_core is compiled as a module, and ip_vs
statically (in vmlinux) ?

CONFIG_NF_CONNTRACK=m
CONFIG_IP_VS=y

We probably need some Kconfig magic ;)


Please try whether this patch fixes the problem.

sure.. right now I'm rebuilding with conntract built-in as suggested by eric. then ill go back and test your patch out


netfilter: fix IP_VS dependencies

When NF_CONNTRACK is enabled, IP_VS uses conntrack symbols.
Therefore IP_VS can't be linked statically when conntrack
is built modular.

Reported-by: Justin P. Mattock<justinmattock@xxxxxxxxx>
Signed-off-by: Patrick McHardy<kaber@xxxxxxxxx>



Justin P. Mattock
--
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/