Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 27 Apr 2001 14:14:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 27 Apr 2001 14:14:42 -0400 Received: from mail-2.addcom.de ([62.96.128.36]:22802 "HELO mail-2.addcom.de") by vger.kernel.org with SMTP id ; Fri, 27 Apr 2001 14:14:36 -0400 Date: Fri, 27 Apr 2001 20:14:55 +0200 (CEST) From: Kai Germaschewski X-X-Sender: To: "David S. Miller" cc: Matthias Andree , Linux-Kernel mailing list Subject: Re: 2.4.4-pre7 build failure w/ IP NAT and ipchains Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Apr 2001, David S. Miller wrote: >> net/network.o: In function `ip_nat_setup_info': >> net/network.o(.text+0x37b3e): undefined reference to `helpers' >> net/network.o(.text+0x37b54): undefined reference to `helpers' > > Your configuration seems impossible, somehow the config system allowed > you to set CONFIG_IP_NF_COMPAT_IPCHAINS without setting > CONFIG_IP_NF_CONNTRACK. Hmmh, actually the Config.in won't allow you to to set CONFIG_IP_NF_COMPAT_IPCHAINS if CONFIG_IP_NF_CONNTRACK=y, but I don't really understand that Config.in completely. (CONFIG_IP_NF_NAT_NEEDED is set, but AFAICS never referenced anywhere). Anyway, the appended patch fixed the problem for me, vmlinux links okay now - didn't try if it works, though. --Kai Index: net/ipv4/netfilter/ip_conntrack_core.c =================================================================== RCS file: /scratch/kai/cvsroot/linux_2_4/net/ipv4/netfilter/ip_conntrack_core.c,v retrieving revision 1.1.1.3 diff -u -r1.1.1.3 ip_conntrack_core.c --- net/ipv4/netfilter/ip_conntrack_core.c 2001/04/24 00:20:29 1.1.1.3 +++ net/ipv4/netfilter/ip_conntrack_core.c 2001/04/26 20:49:36 @@ -46,7 +46,7 @@ void (*ip_conntrack_destroyed)(struct ip_conntrack *conntrack) = NULL; LIST_HEAD(expect_list); LIST_HEAD(protocol_list); -static LIST_HEAD(helpers); +LIST_HEAD(helpers); unsigned int ip_conntrack_htable_size = 0; static int ip_conntrack_max = 0; static atomic_t ip_conntrack_count = ATOMIC_INIT(0); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/