Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Bob McLaren <BobMcLaren@fssi-ca.com>
To: netfilter@lists.netfilter.org
Subject: Can't compile 1.2.11 because of dstlimit?
Date: Tue, 06 Jul 2004 14:41:20 -0700	[thread overview]
Message-ID: <40EB1C80.4050108@fssi-ca.com> (raw)

I don't patch/recompile my kernels or applications very often so please 
let me know what I've done wrong here.

In order to take advantage of the 'time' match capability of iptables, I 
have upgraded from
iptables-1.2.8-8.72.3 on linux-2.4.20-18.7
to
iptables-1.2.11 on linux-2.4.20-18.7custom (enabled ipt_time)
(note: This is on a RedHat 7.3 box)

I have successfully recompiled my kernel.  But now, when I attempt to 
compile iptables, I get an error regarding "dstlimit".
I don't necessarily need dstlimit, so I tried disabling it in my kernel 
options (although I didn't recompile the kernel after that), but that 
doesn't seem to fix the problem.

Here is an extract of the error that I see when I run make for 
iptables.  ANY help or a point in the right direction would be greatly 
appreciated.
-------------------------------------------------------------------------------
ld -shared  -o extensions/libipt_TRACE.so extensions/libipt_TRACE_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.20-18.7/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.11\"  -fPIC -o extensions/libipt_TTL_sh.o -c 
extensions/libipt_TTL.c
ld -shared  -o extensions/libipt_TTL.so extensions/libipt_TTL_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.20-18.7/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.11\"  -fPIC -o extensions/libipt_ULOG_sh.o -c 
extensions/libipt_ULOG.c
ld -shared  -o extensions/libipt_ULOG.so extensions/libipt_ULOG_sh.o
cc -O2 -Wall -Wunused -I/usr/src/linux-2.4.20-18.7/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.11\"  -fPIC -o extensions/libipt_dstlimit_sh.o 
-c extensions/libipt_dstlimit.c
extensions/libipt_dstlimit.c: In function `init':
extensions/libipt_dstlimit.c:104: structure has no member named `cfg'
extensions/libipt_dstlimit.c:105: structure has no member named `cfg'
extensions/libipt_dstlimit.c:106: structure has no member named `cfg'
extensions/libipt_dstlimit.c: In function `parse':
extensions/libipt_dstlimit.c:138: structure has no member named `cfg'
-------------------------------------------------------------------------------



             reply	other threads:[~2004-07-06 21:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 21:41 Bob McLaren [this message]
2004-07-09 19:03 ` Can't compile 1.2.11 because of dstlimit? Bob McLaren
2004-07-12  9:51   ` Jozsef Kadlecsik

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=40EB1C80.4050108@fssi-ca.com \
    --to=bobmclaren@fssi-ca.com \
    --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