Hello!
compilation failed in CentOS: 2.6.32-431.1.2.0.1.el6.x86_64 -
compat_xtables.c:633: error: too few arguments to function ipv6_find_hdr
```
# ./configure
# make
make all-recursive
make[1]: Entering directory `/usr/local/src/xtables-addons-1.47.1'
Making all in extensions
make[2]: Entering directory
`/usr/local/src/xtables-addons-1.47.1/extensions'
Xtables-addons 1.47.1 - Linux 2.6.32-431.1.2.0.1.el6.x86_64
if [ -n "/lib/modules/2.6.32-431.1.2.0.1.el6.x86_64/build" ]; then make -C
/lib/
modules/2.6.32-431.1.2.0.1.el6.x86_64/build
M=/usr/local/src/xtables-addons-1.47
.1/extensions modules; fi;
make[3]: Entering directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
CC [M] /usr/local/src/xtables-addons-1.47.1/extensions/compat_xtables.o
/usr/local/src/xtables-addons-1.47.1/extensions/compat_xtables.c: In
function 'x
tnu_ipv6_find_hdr':
/usr/local/src/xtables-addons-1.47.1/extensions/compat_xtables.c:633: error:
too
few arguments to function 'ipv6_find_hdr'
make[4]: ***
[/usr/local/src/xtables-addons-1.47.1/extensions/compat_xtables.o]
Error 1
make[3]: *** [_module_/usr/local/src/xtables-addons-1.47.1/extensions] Error
2
make[3]: Leaving directory `/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/local/src/xtables-addons-1.47.1/extensions'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/xtables-addons-1.47.1'
make: *** [all] Error 2
```
# diff /usr/src/kernels/2.6.32-358.23.2.el6.x86_64/include/li
nux/netfilter_ipv6/ip6_tables.h
/usr/src/kernels/2.6.32-431.1.2.0.1.el6.x86_64/i
nclude/linux/netfilter_ipv6/ip6_tables.h
320,322d319
< /* find specified header and get offset to it */
< extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
< int target, unsigned short *fragoff);
```
[PATCH] netfilter: move ipv6_find_hdr to net/ipv6/netfilter.c and rename it
www.spinics.net/lists/netfilter-devel/msg24187.html
how to compile xtables-addons-1.47.1?;(
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html