ipset on 2.4.18-14
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)
Quoted 2 lines · Mike Wright
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.
Some header files were removed from 2.4.18-14, so the patch must be corrected to add the missing bits/adjust to the new kernel environment. I'll be overloaded with other stuff till the end of September, so please be a little bit patient.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
Quoted 2 lines · Jozsef Kadlecsik
Quoted 2 lines
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.
Sorry, I was blind: that is an old release from the 2.4 tree. You should really upgrade.
Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary