View previous topic :: View next topic |
Author |
Message |
rjp n00b
Joined: 02 Nov 2002 Posts: 67 Location: Leicester, UK
|
Posted: Mon Sep 15, 2003 7:06 pm Post subject: Circular dependency in iptables modules - 2.4.20-gentoo-r6 |
|
|
I'm trying to compile a kernel with support for IP masquerading. Unfortunately, the IP Tables modules are broken. Here's the output when I run 'depmod -a':
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/ip_conntrack.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/ip_tables.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/ipt_REJECT.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/iptable_filter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/iptable_mangle.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r10/kernel/net/ipv4/netfilter/iptable_nat.o
I checked through the output of 'make modules' on kernel 2.4.20-gentoo-r6 and found the following warning:
make[2]: Circular /usr/src/linux-2.4.20-gentoo-r6/include/linux/netfilter_ipv4/ip_conntrack_helper.h <- /usr/src/linux-2.4.20-gentoo-r6/include/linux/netfilter_ipv4/ip_conntrack.h dependency dropped.
...which I think is the cause of my problems. A google search (netfilter circular) yielded a patch for this, which I've tried but it doesn't make any difference.
Can anyone help? This is driving me mad!!
I hope this is the right forum, as I'm using Gentoo kernel sources I've not put it into off the wall.
Thanks in advance,
Rob... |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Mon Sep 15, 2003 7:31 pm Post subject: |
|
|
Unresolved symbols is not my field of expertise, but I'd be more worried with it occurring for another kernel (2.4.19) than what you are running. That may be your problem. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7731 Location: Underworld
|
Posted: Mon Sep 15, 2003 10:24 pm Post subject: |
|
|
Moved to N & S, thanks kallamej _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
rjp n00b
Joined: 02 Nov 2002 Posts: 67 Location: Leicester, UK
|
Posted: Thu Sep 18, 2003 8:39 am Post subject: Ongoing problems |
|
|
I'm not sure what you are getting at. I've tried this with kernels 2.4.19-gentoo-r10, 2.4.20-gentoo-r6 and vanilla 2.4.22. I get the same problem with each one. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Thu Sep 18, 2003 9:14 am Post subject: |
|
|
I assumed from your post that you were trying to run a 2.4.20 kernel, but your modules were 2.4.19. That version mismatch could be the cause of the unresolved symbols. You can find some more suggestions in this thread. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
fleed l33t
Joined: 28 Aug 2002 Posts: 756 Location: London
|
Posted: Thu Sep 18, 2003 11:01 am Post subject: |
|
|
I've had similar problems in the past when I didn't do a make clean; make dep before make bzImage and make modules. |
|
Back to top |
|
|
rjp n00b
Joined: 02 Nov 2002 Posts: 67 Location: Leicester, UK
|
Posted: Thu Sep 25, 2003 2:09 pm Post subject: Problem Solved! |
|
|
I did 'make mrproper' & 'make clean' just to be certain. Then I copied my .config back, did 'make menuconfig' -> exit -> 'save config'. Then rebuilt the kernel and it worked!
Thanks for all your help, just need to work out iptables now!
Rob... |
|
Back to top |
|
|
|