* [2.4.21-pre3] Netfilter does not compile with this .config
@ 2003-01-27 21:01 Simon Kirby
2003-01-27 21:13 ` Simon Kirby
0 siblings, 1 reply; 2+ messages in thread
From: Simon Kirby @ 2003-01-27 21:01 UTC (permalink / raw)
To: netfilter, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]
I tried changing some netfilter config stuff around (so that I could
choose to not include conntrack when I don't need it), to find that
compilation borked with an allowed config:
ld -m elf_i386 -T /var/kernel/servers/web/linux.alfie/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o drivers/hotplug/vmlinux-obj.o \
net/network.o \
/var/kernel/servers/web/linux.alfie/arch/i386/lib/lib.a /var/kernel/servers/web/linux.alfie/lib/lib.a /var/kernel/servers/web/linux.alfie/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
net/network.o(.text+0x42485): In function `match':
: undefined reference to `ip_conntrack_get'
net/network.o(.text.init+0x13ca): In function `init':
: undefined reference to `ip_conntrack_module'
make: *** [vmlinux] Error 1
.config attached.
Simon-
[ Simon Kirby ][ Network Operations ]
[ sim@netnation.com ][ NetNation Communications ]
[ Opinions expressed are not necessarily those of my employer. ]
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 4498 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [2.4.21-pre3] Netfilter does not compile with this .config
2003-01-27 21:01 [2.4.21-pre3] Netfilter does not compile with this .config Simon Kirby
@ 2003-01-27 21:13 ` Simon Kirby
0 siblings, 0 replies; 2+ messages in thread
From: Simon Kirby @ 2003-01-27 21:13 UTC (permalink / raw)
To: netfilter, linux-kernel
On Mon, Jan 27, 2003 at 01:01:16PM -0800, Simon Kirby wrote:
> net/network.o(.text+0x42485): In function `match':
> : undefined reference to `ip_conntrack_get'
> net/network.o(.text.init+0x13ca): In function `init':
> : undefined reference to `ip_conntrack_module'
> make: *** [vmlinux] Error 1
This may be the correct fix:
--- linux.alfie/net/ipv4/netfilter/Config.in.orig 2002-12-26 11:25:40.000000000 -0800
+++ linux.alfie/net/ipv4/netfilter/Config.in 2003-01-27 13:08:30.000000000 -0800
@@ -31,9 +31,7 @@
dep_tristate ' TTL match support' CONFIG_IP_NF_MATCH_TTL $CONFIG_IP_NF_IPTABLES
dep_tristate ' tcpmss match support' CONFIG_IP_NF_MATCH_TCPMSS $CONFIG_IP_NF_IPTABLES
if [ "$CONFIG_IP_NF_CONNTRACK" != "n" ]; then
- dep_tristate ' Helper match support' CONFIG_IP_NF_MATCH_HELPER $CONFIG_IP_NF_IPTABLES
- fi
- if [ "$CONFIG_IP_NF_CONNTRACK" != "n" ]; then
+ dep_tristate ' Helper match support' CONFIG_IP_NF_MATCH_HELPER $CONFIG_IP_NF_CONNTRACK $CONFIG_IP_NF_IPTABLES
dep_tristate ' Connection state match support' CONFIG_IP_NF_MATCH_STATE $CONFIG_IP_NF_CONNTRACK $CONFIG_IP_NF_IPTABLES
dep_tristate ' Connection tracking match support' CONFIG_IP_NF_MATCH_CONNTRACK $CONFIG_IP_NF_CONNTRACK $CONFIG_IP_NF_IPTABLES
fi
(If not, a flamewar will surely ensue which will result in the correct
fix being posted. :) )
Simon-
[ Simon Kirby ][ Network Operations ]
[ sim@netnation.com ][ NetNation Communications ]
[ Opinions expressed are not necessarily those of my employer. ]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-01-27 21:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-27 21:01 [2.4.21-pre3] Netfilter does not compile with this .config Simon Kirby
2003-01-27 21:13 ` Simon Kirby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox