Re: [2.4.23] compile / link error in net/ipv4/netfilter

From: Martin Josefsson
Date: Tue Dec 02 2003 - 02:37:32 EST


On Tue, 2003-12-02 at 07:43, Chris Frey wrote:
> On Mon, Dec 01, 2003 at 08:28:53PM -0500, Chris Frey wrote:
> > When compiling 2.4.23, it stops during the compile with these errors:
> ...
> > iptable_nat.o(.text+0x2830): first defined here
> > ipchains.o(.text+0x77c0): In function `place_in_hashes':
> > : multiple definition of `place_in_hashes'
>
> Just posting the answer I found in case someone else needs it.
>
> This was due to turning off Loadable module support after loading a
> config in menuconfig that had some modules previously enabled, without
> going through and turning them all off before compiling.

Ok, hopefully that's why you had iptables, ipchains, ipfwadm all
selected to be compiled into your kernel. You shouldn't be able to
select all of them, just one, when not compiling as modules.

--
/Martin

Attachment: signature.asc
Description: This is a digitally signed message part