On Monday 2009-07-06 21:54, Bart De Schuymer wrote: > Jan Engelhardt schreef: >>> Nishit, please try the attached file. It uses more recent kernel headers that >>> use x_tables. I prefer that approach... >>> >> >> You need to use the unifdef'ed headers or funny things like >> compiler complaining about __user might pop up. >> > The tarball I sent compiled fine on my (old) system. Does it give such warnings > on your system? You bet. iptables was also cursed by this [our own lack of using unifdefed headers from the start] before: $ make cc -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.3-4\" -c -o arptables-standalone.o arptables-standalone.c In file included from .//include/libarptc/libarptc.h:6, from .//include/arptables.h:5, from arptables-standalone.c:38: .//include/linux/netfilter_arp/arp_tables.h:19:28: error: linux/compiler.h: No such file or directory In file included from .//include/libarptc/libarptc.h:6, from .//include/arptables.h:5, from arptables-standalone.c:38: .//include/linux/netfilter_arp/arp_tables.h:183: error: expected `:', `,', `;', `}' or `__attribute__' before `*' token make: *** [arptables-standalone.o] Error 1 -- 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