All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Wright <xktnniuymlla@mailinator.com>
To: netfilter@lists.netfilter.org
Subject: ipset on 2.4.18-14
Date: Sun, 24 Sep 2006 10:21:50 -0700	[thread overview]
Message-ID: <4516BEAE.3030708@mailinator.com> (raw)

Hi all,

I've been trying to add ipset support to a remote box running Redhat 8 
with kernel 2.4.18-14 and am having build problems.

The patches applied with no errors to the src build tree but "make" 
failed with a missing linux/jhash.h.  A google search on ipset, jhash 
and 2.4.18-14 found a patch with no --- and only +++ lines so I edited 
it and added it to the tree.

The build makes it farther but still fails within ip_set.c:

ip_set.c: In function `ip_set_unbindip':
ip_set.c:655: warning: implicit declaration of function 
`list_for_each_entry_safe'
ip_set.c:655: `list' undeclared (first use in this function)
ip_set.c:655: (Each undeclared identifier is reported only once
ip_set.c:655: for each function it appears in.)
ip_set.c:655: parse error before "__set_hash_del"
ip_set.c:683: parse error before "__set_hash_del_byid"

"FOREACH_HASH_RW_DO" seems to be what makes it unhappy.

there a few similar errors later in the same file, but that are all a 
result of "list" being undeclared.

I'm not a c programmer so I'm a bit lost here (and I'd really hate to 
bring the box in).  Does anybody know how to remedy this?

Thanks for any help,
Mike Wright :m)


             reply	other threads:[~2006-09-24 17:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-24 17:21 Mike Wright [this message]
2006-09-24 18:42 ` ipset on 2.4.18-14 Jozsef Kadlecsik
2006-10-06  7:19   ` 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=4516BEAE.3030708@mailinator.com \
    --to=xktnniuymlla@mailinator.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.