Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Doc Nielsen <WebMaster@DocNielsen.dk>
To: "Dharmendra.T" <dharmu@nsecure.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: ip_tables.o not loading - nf_unregister_sockopt error [FIXED]
Date: Mon, 8 Sep 2003 14:46:36 +0200	[thread overview]
Message-ID: <200309081446.36345.WebMaster@DocNielsen.dk> (raw)
In-Reply-To: <1063001214.960.33.camel@india.nsecure.net>

On Monday 08 September 2003 08:06, Dharmendra.T wrote:
> On Wed, 2003-09-03 at 00:33, Doc Nielsen wrote:
>>
>>     hey guys
>>
>>     Im having some trouble compiling and using iptables/netfilter
>>     Its enabled in the kernel, and the modules are there, but when I try to
>> load them I get this:
>>
>>     root@server:~# modprobe ip_tables
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved
>> symbol nf_unregister_sockopt
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: unresolved
>> symbol nf_register_sockopt
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o failed
>>     /lib/modules/2.4.20/kernel/net/ipv4/netfilter/ip_tables.o: insmod
>> ip_tables failed
>>
>>     What am I doing wrong?
>>
>>     Please CC mail directly to me, as Im not subscribed to the list.
>>     And yes, I have browsed the archives with no luck.
>>
>>     - Doc
>
>     Could you tell me how you have compiled your kernel?

It's the debian kernel-source-2.4.20.deb
make menuconfig && make dep && make bzlilo modules modules_install

A complete recompile solved the problem, or went around it...

cp /usr/src/kernel-source-2.4.20/.config /usr/src/config.txt
rm -rf /usr/src/kernel-source-2.4.20 
tar xjf kernel-source-2.4.20.tar.bz2
cp /usr/src/config.txt /usr/src/kernel-source-2.4.20/.config
cd /usr/src/kernel-source-2.4.20/
make menuconfig && make dep && make bzlilo modules modules_install

- Doc



      reply	other threads:[~2003-09-08 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-02 19:03 ip_tables.o not loading - nf_unregister_sockopt error Doc Nielsen
2003-09-08  6:06 ` Dharmendra.T
2003-09-08 12:46   ` Doc Nielsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200309081446.36345.WebMaster@DocNielsen.dk \
    --to=webmaster@docnielsen.dk \
    --cc=dharmu@nsecure.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox