Hi, I am running mainline git kernel according to link instruction https://wiki.ubuntu.com/KernelTeam/GitKernelBuild I also git cloned the xtables-addons and get compiling error as below: if [ -n "/lib/modules/3.13.0-rc2-custom/build" ]; then make -C /lib/modules/3.13.0-rc2-custom/build M=/usr/src/xtables-addons/extensions modules; fi; make[3]: Entering directory `/usr/src/linux-headers-3.13.0-rc2-custom' CC [M] /usr/src/xtables-addons/extensions/compat_xtables.o CC [M] /usr/src/xtables-addons/extensions/xt_CHAOS.o In file included from /usr/src/xtables-addons/extensions/xt_CHAOS.c:24: /usr/src/xtables-addons/extensions/compat_xtables.h:12:3: warning: #warning Kernels below 3.7 not supported. In file included from /usr/src/xtables-addons/extensions/xt_CHAOS.c:24: /usr/src/xtables-addons/extensions/compat_xtables.h:59: error: redefinition of ‘file_inode’ include/linux/fs.h:2290: note: previous definition of ‘file_inode’ was here /usr/src/xtables-addons/extensions/compat_xtables.h:67: error: static declaration of ‘proc_set_user’ follows non-static declaration include/linux/proc_fs.h:38: note: previous declaration of ‘proc_set_user’ was here /usr/src/xtables-addons/extensions/compat_xtables.h: In function ‘proc_set_user’: /usr/src/xtables-addons/extensions/compat_xtables.h:69: error: dereferencing pointer to incomplete type /usr/src/xtables-addons/extensions/compat_xtables.h:70: error: dereferencing pointer to incomplete type /usr/src/xtables-addons/extensions/compat_xtables.h: At top level: /usr/src/xtables-addons/extensions/compat_xtables.h:73: error: conflicting types for ‘PDE_DATA’ include/linux/proc_fs.h:39: note: previous declaration of ‘PDE_DATA’ was here /usr/src/xtables-addons/extensions/compat_xtables.h: In function ‘PDE_DATA’: /usr/src/xtables-addons/extensions/compat_xtables.h:75: error: implicit declaration of function ‘PDE’ /usr/src/xtables-addons/extensions/compat_xtables.h:75: error: invalid type argument of ‘->’ (have ‘int’) /usr/src/xtables-addons/extensions/compat_xtables.h: At top level: /usr/src/xtables-addons/extensions/compat_xtables.h:78: error: static declaration of ‘proc_remove’ follows non-static declaration include/linux/proc_fs.h:41: note: previous declaration of ‘proc_remove’ was here /usr/src/xtables-addons/extensions/compat_xtables.h: In function ‘proc_remove’: /usr/src/xtables-addons/extensions/compat_xtables.h:81: error: dereferencing pointer to incomplete type /usr/src/xtables-addons/extensions/compat_xtables.h:81: error: dereferencing pointer to incomplete type make[4]: *** [/usr/src/xtables-addons/extensions/xt_CHAOS.o] Error 1 make[3]: *** [_module_/usr/src/xtables-addons/extensions] Error 2 make[3]: Leaving directory `/usr/src/linux-headers-3.13.0-rc2-custom' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/usr/src/xtables-addons/extensions' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/xtables-addons' make: *** [all] Error 2 root@vincent-hp:/usr/src/xtables-addons# uname -a Linux vincent-hp 3.13.0-rc2-custom #27 SMP Wed Dec 4 15:22:08 PST 2013 i686 GNU/Linux I have no problem compiling the xtables-addons on centos6.4 running mainline git kernel, any idea would help. thanks Vincent -- 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