Hi,
I tried to install ipsets (http://ipset.netfilter.org/install.html)
on my SuSE 10.0 OS. I could apply the kernel patches and rebuild the
kernel (Step 1 to 4 on ipsets installation webpage.) But when I tried to
build iptables (Step 5,) it showed the error message:
/usr/src/linux/include/linux/ipv6.h:19: error: redefinition
of `struct in6_pktinfo'
In file included from
/usr/src/linux/include/linux/netfilter_ipv4.h:11,
from /usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:26,
from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_ah.c:8:
/usr/src/linux/include/net/protocol.h:38: warning: `struct
sk_buff' declared inside parameter list
/usr/src/linux/include/net/protocol.h:38: warning: its scope
is only this definition or declaration, which is probably not what you want
/usr/src/linux/include/net/protocol.h:39: error: syntax
error before "u32"
/usr/src/linux/include/net/protocol.h:39: warning: `struct
sk_buff' declared inside parameter list
/usr/src/linux/include/net/protocol.h:47: warning: `struct
sk_buff' declared inside parameter list
/usr/src/linux/include/net/protocol.h:52: warning: `struct
inet6_skb_parm' declared inside parameter list
/usr/src/linux/include/net/protocol.h:52: warning: `struct
sk_buff' declared inside parameter list
/usr/src/linux/include/net/protocol.h:62: error: field
`list' has incomplete type
make: *** [extensions/libipt_ah_sh.o] Error 1
I searched on google and found this webpage: http://lists.netfilter.org/pipermail/netfilter/2005-October.txt.
It said the kernel source from kernel.org works fine with ipsets, but
SuSE’s kernel doesn’t. If this is true, is there any other
way to install ipsets on SuSE 10.0 or 9.3 OS?
Thanks for your time.
Regards,
Hung Lin