Linux Netfilter discussions
 help / color / mirror / Atom feed
From: tedemo <tedemo@free.fr>
To: netfilter@lists.netfilter.org
Subject: ipset compilation fails on kernel 2.6.13
Date: Wed, 07 Sep 2005 18:09:43 +0200	[thread overview]
Message-ID: <431F10C7.7020009@free.fr> (raw)

Hello,

Using sources found on http://ipset.netfilter.org/install.html, and also
the latest iptables & pom-ng, I cannot get ipset to compile without errors :

  CC [M]  net/ipv4/netfilter/ip_set.o
net/ipv4/netfilter/ip_set.c:35: attention : type defaults to `int' in 
declaration of `DECLARE_RWLOCK'
net/ipv4/netfilter/ip_set.c:35: attention : noms de paramètres (sans 
type) dans la déclaration de fonction
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_find_in_hash »:
net/ipv4/netfilter/ip_set.c:86: attention : implicit declaration of 
function `MUST_BE_READ_LOCKED'
net/ipv4/netfilter/ip_set.c:86: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c:86: error: (Each undeclared identifier is 
reported only once
net/ipv4/netfilter/ip_set.c:86: error: for each function it appears in.)
net/ipv4/netfilter/ip_set.c: Dans la fonction « __set_hash_del »:
net/ipv4/netfilter/ip_set.c:103: attention : implicit declaration of 
function `MUST_BE_WRITE_LOCKED'
net/ipv4/netfilter/ip_set.c:103: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_hash_del »:
net/ipv4/netfilter/ip_set.c:120: attention : implicit declaration of 
function `WRITE_LOCK'
net/ipv4/netfilter/ip_set.c:120: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c:129: attention : implicit declaration of 
function `WRITE_UNLOCK'
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_hash_add »:
net/ipv4/netfilter/ip_set.c:145: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_testip_kernel »:
net/ipv4/netfilter/ip_set.c:210: attention : implicit declaration of 
function `READ_LOCK'
net/ipv4/netfilter/ip_set.c:210: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c:221: attention : implicit declaration of 
function `READ_UNLOCK'
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_addip_kernel »:
net/ipv4/netfilter/ip_set.c:237: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_delip_kernel »:
net/ipv4/netfilter/ip_set.c:266: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_register_set_type »:
net/ipv4/netfilter/ip_set.c:310: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « 
ip_set_unregister_set_type »:
net/ipv4/netfilter/ip_set.c:332: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_bindip »:
net/ipv4/netfilter/ip_set.c:554: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_unbindip »:
net/ipv4/netfilter/ip_set.c:632: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « find_set_type_rlock »:
net/ipv4/netfilter/ip_set.c:744: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_create »:
net/ipv4/netfilter/ip_set.c:835: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_destroy_set »:
net/ipv4/netfilter/ip_set.c:897: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_rename »:
net/ipv4/netfilter/ip_set.c:973: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_swap »:
net/ipv4/netfilter/ip_set.c:1007: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Dans la fonction « ip_set_restore »:
net/ipv4/netfilter/ip_set.c:1335: error: `ip_set_lock' undeclared (first 
use in this function)
net/ipv4/netfilter/ip_set.c: Hors de toute fonction :
net/ipv4/netfilter/ip_set.c:35: attention : `DECLARE_RWLOCK' declared 
`static' but never defined
make[3]: *** [net/ipv4/netfilter/ip_set.o] Erreur 1
make[2]: *** [net/ipv4/netfilter] Erreur 2
make[1]: *** [net/ipv4] Erreur 2

Should I use another kernel ?




             reply	other threads:[~2005-09-07 16:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-07 16:09 tedemo [this message]
2005-09-07 17:03 ` ipset compilation fails on kernel 2.6.13 Toby DiPasquale
2005-09-07 17:35   ` tedemo

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=431F10C7.7020009@free.fr \
    --to=tedemo@free.fr \
    --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