when i was patched kernel 2.6.23.1 and iptables-1.3.8 with last path-o-matic's patchlet connlimit and run compile iptables by "make KERNEL_DIR=../linux-2.6.23.1/ " , there some error appear : Extensions found: IPv4:CLUSTERIP IPv4:NFLOG IPv4:condition IPv4:connbytes IPv4:connlimit IPv4:dccp IPv4:ipp2p IPv4:layer7 IPv4:quota IPv4:recent IPv4:statistic IPv4:string IPv6:NFLOG IPv6:REJECT IPv6:ah IPv6:esp IPv6:frag IPv6:hashlimit IPv6:ipv6header IPv6:mh IPv6:rt IPv6:sctpcc -O2 -Wall -Wunused -I../linux-2.6.23.1//include -Iinclude/ -DIPTABLES_VERSION=\"1.3.8\" -fPIC -o extensions/libipt_connlimit_sh.o -c extensions/libipt_connlimit.cIn file included from ../linux-2.6.23.1/include/asm/bitops.h:9,from ../linux-2.6.23.1/include/linux/bitops.h:9,from /usr/include/linux/netfilter_ipv4/ip_conntrack.h:9,from extensions/libipt_connlimit.c:9:../linux-2.6.23.1/include/asm/alternative.h:9: error: syntax error before "u8"../linux-2.6.23.1/include/asm/alternative.h:11: error: syntax error before "cpuid"../linux-2.6.23.1/include/asm/alternative.h:12: error: syntax error before "instrlen"../linux-2.6.23.1/include/asm/alternative.h:13: error: syntax error before "replacementlen"../linux-2.6.23.1/include/asm/alternative.h:14: error: syntax error before "pad"In file included from ../linux-2.6.23.1/include/linux/bitops.h:9,from /usr/include/linux/netfilter_ipv4/ip_conntrack.h:9,from extensions/libipt_connlimit.c:9:../linux-2.6.23.1/include/asm/bitops.h:244: error: syntax error before "int"In file included from ../linux-2.6.23.1/include/linux/cpumask.h:86,from ../linux-2.6.23.1/include/asm/processor.h:22,from ../linux-2.6.23.1/include/asm/atomic.h:5,from /usr/include/linux/netfilter_ipv4/ip_conntrack.h:11,from extensions/libipt_connlimit.c:9:../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_zero':../linux-2.6.23.1/include/linux/bitmap.h:134: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h:134: error: (Each undeclared identifier is reported only once../linux-2.6.23.1/include/linux/bitmap.h:134: error: for each function it appears in.)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_fill':../linux-2.6.23.1/include/linux/bitmap.h:149: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_copy':../linux-2.6.23.1/include/linux/bitmap.h:155: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_and':../linux-2.6.23.1/include/linux/bitmap.h:166: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_or':../linux-2.6.23.1/include/linux/bitmap.h:175: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_xor':../linux-2.6.23.1/include/linux/bitmap.h:184: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_andnot':../linux-2.6.23.1/include/linux/bitmap.h:193: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_complement':../linux-2.6.23.1/include/linux/bitmap.h:202: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_equal':../linux-2.6.23.1/include/linux/bitmap.h:211: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_intersects':../linux-2.6.23.1/include/linux/bitmap.h:220: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_subset':../linux-2.6.23.1/include/linux/bitmap.h:229: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_empty':../linux-2.6.23.1/include/linux/bitmap.h:237: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_full':../linux-2.6.23.1/include/linux/bitmap.h:245: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_weight':../linux-2.6.23.1/include/linux/bitmap.h:253: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_shift_right':../linux-2.6.23.1/include/linux/bitmap.h:261: error: `BITS_PER_LONG' undeclared (first use in this function)../linux-2.6.23.1/include/linux/bitmap.h: In function `bitmap_shift_left':../linux-2.6.23.1/include/linux/bitmap.h:270: error: `BITS_PER_LONG' undeclared (first use in this function)In file included from ../linux-2.6.23.1/include/asm/processor.h:22,from ../linux-2.6.23.1/include/asm/atomic.h:5,from /usr/include/linux/netfilter_ipv4/ip_conntrack.h:11,from extensions/libipt_connlimit.c:9:../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:88: error: syntax error before "DECLARE_BITMAP"../linux-2.6.23.1/include/linux/cpumask.h:89: error: syntax error before "_unused_cpumask_arg_"../linux-2.6.23.1/include/linux/cpumask.h:92: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpu_set':../linux-2.6.23.1/include/linux/cpumask.h:94: error: `cpu' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:94: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:98: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpu_clear':../linux-2.6.23.1/include/linux/cpumask.h:100: error: `cpu' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:100: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:104: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_setall':../linux-2.6.23.1/include/linux/cpumask.h:106: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:106: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:110: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_clear':../linux-2.6.23.1/include/linux/cpumask.h:112: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:112: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:119: error: syntax error before "cpumask_t"../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpu_test_and_set':../linux-2.6.23.1/include/linux/cpumask.h:121: error: `cpu' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:121: error: `addr' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:125: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_and':../linux-2.6.23.1/include/linux/cpumask.h:128: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:128: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:128: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:128: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:132: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_or':../linux-2.6.23.1/include/linux/cpumask.h:135: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:135: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:135: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:135: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:139: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_xor':../linux-2.6.23.1/include/linux/cpumask.h:142: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:142: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:142: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:142: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:147: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_andnot':../linux-2.6.23.1/include/linux/cpumask.h:150: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:150: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:150: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:150: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:154: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_complement':../linux-2.6.23.1/include/linux/cpumask.h:157: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:157: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:157: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:161: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_equal':../linux-2.6.23.1/include/linux/cpumask.h:164: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:164: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:164: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:168: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_intersects':../linux-2.6.23.1/include/linux/cpumask.h:171: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:171: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:171: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:175: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_subset':../linux-2.6.23.1/include/linux/cpumask.h:178: error: `src1p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:178: error: `src2p' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:178: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:182: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_empty':../linux-2.6.23.1/include/linux/cpumask.h:184: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:184: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:188: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_full':../linux-2.6.23.1/include/linux/cpumask.h:190: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:190: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:194: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_weight':../linux-2.6.23.1/include/linux/cpumask.h:196: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:196: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:201: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_shift_right':../linux-2.6.23.1/include/linux/cpumask.h:204: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:204: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:204: error: `n' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:204: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:209: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_shift_left':../linux-2.6.23.1/include/linux/cpumask.h:212: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:212: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:212: error: `n' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:212: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:216: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h:218: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h:271: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpumask_scnprintf':../linux-2.6.23.1/include/linux/cpumask.h:273: error: `buf' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:273: error: `len' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:273: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:273: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:279: error: syntax error before "cpumask_t"../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpumask_parse_user':../linux-2.6.23.1/include/linux/cpumask.h:281: error: `buf' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:281: error: `len' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:281: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:281: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:287: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpulist_scnprintf':../linux-2.6.23.1/include/linux/cpumask.h:289: error: `buf' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:289: error: `len' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:289: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:289: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:293: error: syntax error before "cpumask_t"../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpulist_parse':../linux-2.6.23.1/include/linux/cpumask.h:295: error: `buf' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:295: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:295: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:301: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpu_remap':../linux-2.6.23.1/include/linux/cpumask.h:303: error: `oldbit' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:303: error: `oldp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:303: error: `newp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:303: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:308: error: syntax error before '*' token../linux-2.6.23.1/include/linux/cpumask.h: In function `__cpus_remap':../linux-2.6.23.1/include/linux/cpumask.h:311: error: `dstp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:311: error: `srcp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:311: error: `oldp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:311: error: `newp' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h:311: error: `nbits' undeclared (first use in this function)../linux-2.6.23.1/include/linux/cpumask.h: At top level:../linux-2.6.23.1/include/linux/cpumask.h:380: error: syntax error before "cpu_possible_map"../linux-2.6.23.1/include/linux/cpumask.h:381: error: syntax error before "cpu_online_map"../linux-2.6.23.1/include/linux/cpumask.h:382: error: syntax error before "cpu_present_map"../linux-2.6.23.1/include/linux/cpumask.h:403: error: syntax error before '*' tokenIn file included from ../linux-2.6.23.1/include/asm/atomic.h:5,from /usr/include/linux/netfilter_ipv4/ip_conntrack.h:11,from extensions/libipt_connlimit.c:9:../linux-2.6.23.1/include/asm/processor.h:73: error: syntax error before "cpumask_t"../linux-2.6.23.1/include/asm/processor.h:83: error: syntax error before '}' token../linux-2.6.23.1/include/asm/processor.h:599: error: `cpuid' redeclared as different kind of symbol../linux-2.6.23.1/include/asm/alternative.h:11: error: previous declaration of `cpuid'make: *** [extensions/libipt_connlimit_sh.o] Error 1 _________________________________________________________________ 用 Live Search 搜尽天下资讯! http://www.live.com/?searchOnly=true - 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