Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Circular dependency in iptables modules - 2.4.20-gentoo-r6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
rjp
n00b
n00b


Joined: 02 Nov 2002
Posts: 67
Location: Leicester, UK

PostPosted: Mon Sep 15, 2003 7:06 pm    Post subject: Circular dependency in iptables modules - 2.4.20-gentoo-r6 Reply with quote

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
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Mon Sep 15, 2003 7:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Mon Sep 15, 2003 10:24 pm    Post subject: Reply with quote

Moved to N & S, thanks kallamej
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
rjp
n00b
n00b


Joined: 02 Nov 2002
Posts: 67
Location: Leicester, UK

PostPosted: Thu Sep 18, 2003 8:39 am    Post subject: Ongoing problems Reply with quote

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
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Thu Sep 18, 2003 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
fleed
l33t
l33t


Joined: 28 Aug 2002
Posts: 756
Location: London

PostPosted: Thu Sep 18, 2003 11:01 am    Post subject: Reply with quote

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
View user's profile Send private message
rjp
n00b
n00b


Joined: 02 Nov 2002
Posts: 67
Location: Leicester, UK

PostPosted: Thu Sep 25, 2003 2:09 pm    Post subject: Problem Solved! Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum