Further to the above: The 'problematic' line, which SHOULD be included
in libxt_gradm.c is:
#include "compat_user.h" (it actually states in the header file
"linux-glibc-devel 2.6.34 header screwup", so at least someone admits
to a screw up for once!)
With this however, the problems are NOT fixed, I am getting this
further down the line:
ipset_iphash.c: In function ‘iphash_create_init’:
ipset_iphash.c:42: error: ‘IP_NF_SET_HASHSIZE’ undeclared (first use
in this function)
ipset_iphash.c:42: error: (Each undeclared identifier is reported only
once
ipset_iphash.c:42: error: for each function it appears in.)
make[5]: *** [libipset_iphash.oo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory
`/home/zeek/rpmbuild/BUILD/xtables-addons-1.31/extensions/ipset'
make[4]: *** [user-all-local] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
`/home/zeek/rpmbuild/BUILD/xtables-addons-1.31/extensions/ipset'
...Also, IP_NF_SET_HASHSIZE is in ipset_ipportiphash.c,
ipset_ipporthash.c and ipset_nethash.c, in neither of which
IP_NF_SET_HASHSIZE is defined, apparently!
There is a definition of CONFIG_IP_NF_SET_HASHSIZE in ip_set.h which is
set to 1024.
In 1.30 the value of 1024 is directly used, instead of
IP_NF_SET_HASHSIZE (which SHOULD have been CONFIG_IP_NF_SET_HASHSIZE!),
so someone (Jozsef?) needs to fix this.
I am amazed nobody checks these things - how do you compile this code
people?
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html