From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: error while building the kernel Mainline Date: Thu, 18 Nov 2010 19:20:57 +0100 Message-ID: <4CE56E89.4000902@trash.net> References: <1290093135.2781.167.camel@edumazet-laptop> <4CE561A2.2020600@gmail.com> <1290102497.2781.242.camel@edumazet-laptop> <20101118.095046.28818361.davem@davemloft.net> <4CE56CC4.4020107@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------060907090306050204040309" Cc: David Miller , eric.dumazet@gmail.com, linux-net@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, horms@verge.net.au, netfilter-devel@vger.kernel.org To: "Justin P. Mattock" Return-path: In-Reply-To: <4CE56CC4.4020107@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org This is a multi-part message in MIME format. --------------060907090306050204040309 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Am 18.11.2010 19:13, schrieb Justin P. Mattock: > On 11/18/2010 09:50 AM, David Miller wrote: >> From: Eric Dumazet >> 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. 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 Signed-off-by: Patrick McHardy --------------060907090306050204040309 Content-Type: text/plain; name="x" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="x" diff --git a/net/netfilter/ipvs/Kconfig b/net/netfilter/ipvs/Kconfig index a22dac2..70bd1d0 100644 --- a/net/netfilter/ipvs/Kconfig +++ b/net/netfilter/ipvs/Kconfig @@ -4,6 +4,7 @@ menuconfig IP_VS tristate "IP virtual server support" depends on NET && INET && NETFILTER + depends on (NF_CONNTRACK || NF_CONNTRACK=n) ---help--- IP Virtual Server support will let you build a high-performance virtual server based on cluster of two or more real servers. This --------------060907090306050204040309--