Skip to contentSkip to conversation

ipchains.o dependencies problem from 1999 (!) returns in 2.4.14 kernel

DISCUSSION Andrew Pam 3 participants 4 messages Nov 8, 2001

lore
Share & tools
lore

Andrew Pam

author
#0 lore raw

In the 2.4.14 kernel, I get the following dependency problems with ipchains.o:

[root@TekTih root]# depmod -ae

depmod: *** Unresolved symbols in /lib/modules/2.4.14+ext3/kernel/net/ipv4/netfilter/ipchains.o
depmod:         netlink_kernel_create
depmod:         netlink_broadcast

Note that this happens regardless of the setting of CONFIG_NETLINK and CONFIG_NETLINK_DEV, whether "n", "m" or "y".

Earlier LKML messages on this topic:
http://www.uwsg.iu.edu/hypermail/linux/kernel/9909.0/0485.html
http://www.uwsg.iu.edu/hypermail/linux/kernel/9909.0/0675.html
http://www.uwsg.iu.edu/hypermail/linux/kernel/0011.3/0188.html

Note that the problem was first noted with 2.3.16, again with 2.4.0-test and now yet again with 2.4.14.

Hope someone can fix it for good this time!

Cheers,
Andrew

Signature · 5 lines
mailto:[email protected]                         Andrew Pam
http://www.xanadu.com.au/                       Chief Scientist, Xanadu
http://www.glasswings.com.au/                   Technology Manager, Glass Wings
http://www.sericyb.com.au/sc/                   Manager, Serious Cybernetics
P.O. Box 477, Blackburn VIC 3130 Australia	Phone +61 401 258 915
#1 lore raw
Quoted 6 lines · Andrew Pam

In the 2.4.14 kernel, I get the following dependency problems with ipchains.o:

[root@TekTih root]# depmod -ae

depmod: *** Unresolved symbols in /lib/modules/2.4.14+ext3/kernel/net/ipv4/netfilter/ipchains.o
depmod:         netlink_kernel_create
depmod:         netlink_broadcast

Works for me with your config. At a guess, you have been bitten by the broken kernel Makefiles - http://www.tux.org/lkml/#s8-8

#2 lore raw
In reply to Andrew Pam

From: Andrew Pam <[email protected]>
Date: Thu, 8 Nov 2001 12:58:51 +1100

In the 2.4.14 kernel, I get the following dependency problems with ipchains.o:

[root@TekTih root]# depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.14+ext3/kernel/net/ipv4/netfilter/ipchains.o
depmod: netlink_kernel_create
depmod: netlink_broadcast

Note that this happens regardless of the setting of CONFIG_NETLINK and CONFIG_NETLINK_DEV, whether "n", "m" or "y".

Something is wrong with your modutils then.

Because net/netsyms.c exports netlink_kernel_create when CONFIG_NETLINK is set. It is impossible for the symbol to be unresolved if you are turning on CONFIG_NETLINK.

Franks a lot,
David S. Miller
[email protected]

author
#3 lore raw
In reply to Andrew Pam
Quoted 22 lines · David S. Miller

From: Andrew Pam <[email protected]>
Date: Thu, 8 Nov 2001 12:58:51 +1100

In the 2.4.14 kernel, I get the following dependency problems with ipchains.o:

[root@TekTih root]# depmod -ae
depmod: *** Unresolved symbols in /lib/modules/2.4.14+ext3/kernel/net/ipv4/netfilter/ipchains.o
depmod: netlink_kernel_create
depmod: netlink_broadcast

Note that this happens regardless of the setting of CONFIG_NETLINK and CONFIG_NETLINK_DEV, whether "n", "m" or "y".

Something is wrong with your modutils then.

Because net/netsyms.c exports netlink_kernel_create when CONFIG_NETLINK is set. It is impossible for the symbol to be unresolved if you are turning on CONFIG_NETLINK.

Franks a lot,
David S. Miller
[email protected]

Quoted 2 lines · Keith Owens

Works for me with your config. At a guess, you have been bitten by the broken kernel Makefiles - http://www.tux.org/lkml/#s8-8

Sure enough, that's what it turned out to be. I replied:

Quoted 2 lines

Yep, that's cured it! Is this one of the things fixed by kbuild 2.5? If so, when will it actually be in the Linus tarballs?

Cheers,
Andrew

Signature · 5 lines
mailto:[email protected]                         Andrew Pam
http://www.xanadu.com.au/                       Chief Scientist, Xanadu
http://www.glasswings.com.au/                   Technology Manager, Glass Wings
http://www.sericyb.com.au/sc/                   Manager, Serious Cybernetics
P.O. Box 477, Blackburn VIC 3130 Australia	Phone +61 401 258 915