Iptables should be using linux-libc-headers headers instead of kernel headers. Remove -I$(KERNEL_DIR)/include from your makefile, see this patch here: http://ep09.pld-linux.org/~mmazur/linux-libc-headers/patches/iptables.patch David Andrew Walrond wrote: >The addition of a > __user >attribute to a line in > linux-2.6.7/include/linux/netfilter_ipv4/ip_tables.h >causes iptables build to fail unless I export > CC="gcc -D__user= " > >Presumably ip_tables.h should include a header defining __user, or iptables >should include the relevant header before ip_tables.h ? > >Sorry if this has already been reported; Archive search found nothing on >either ML. > >Andrew Walrond >- >To unsubscribe from this list: send the line "unsubscribe linux-kernel" in >the body of a message to majordomo@vger.kernel.org >More majordomo info at http://vger.kernel.org/majordomo-info.html >Please read the FAQ at http://www.tux.org/lkml/ > >