Hi, I noticed a discussion on this list in May regarding this problem but nobody seemed to care. The file linux-2.4.19/include/linux/netfilter_ipv4/ip_tables.h is included by user space programs as well as the kernel, hence I think that it should compile using g++. This patch makes it compile. Patch is also attached. diff -ur linux-2.4.19/include/linux/netfilter_ipv4/ip_tables.h linux-2.4.19-new/include/linux/netfilter_ipv4/ip_tables.h --- linux-2.4.19/include/linux/netfilter_ipv4/ip_tables.h Mon Feb 25 19:38:13 2002 +++ linux-2.4.19-new/include/linux/netfilter_ipv4/ip_tables.h Sat Sep 14 11:11:01 2002 @@ -292,7 +292,7 @@ static __inline__ struct ipt_entry_target * ipt_get_target(struct ipt_entry *e) { - return (void *)e + e->target_offset; + return ((struct ipt_entry_target *)((char *)e + e->target_offset)); } /* fn returns 0 to continue iteration */ Regards, Scott.