galaxy001 / scholarzhang

Automatically exported from code.google.com/p/scholarzhang
1 stars 1 forks source link

compile fails with kernel 2.6.35.4 #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. $ svn update
版本 101。

2.
  ./autogen.sh
blah blah...ok
  ./configure --prefix=/usr \
              --libexecdir=/usr/lib/iptables \
              --sysconfdir=/etc \
              --with-xtlibdir=/usr/lib/iptables
blah blah...
WARNING: You are trying a newer kernel. Results may vary. :-)

3.  make  
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtnu.h:87:53: 警告:‘struct xt_match_param’在形参表内部声明
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtnu.h:87:53: 
警告:它的作用域仅限于此定义或声明,这可能并不是您想��
�的
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtnu.h:103:16: 警告:‘struct xt_target_param’在形参表内部声明
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtables.c:193:51: 警告:‘struct xt_target_param’在形参表内部声明
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtables.c: 在函数‘xtnu_target_run’中:
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtables.c:207:48: 错误:提领指向不完全类型的指针
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtables.c:216:3: 警告:传递‘nt->target’的第 2 
个参数时在不兼容的指针类型间转换
/home/roadt/aur/west-chamber-svn/src/west-chamber/west-chamber/extensions/compat
_xtables.c:216:3: 附注:需要类型‘const struct xt_ta

What is the expected output? What do you see instead?

compile succcess

What version of the product are you using? On what operating system?

west-chambler-svn.

$ uname -a
Linux archlinux 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 16:22:18 UTC 2010 i686 
AMD Athlon(tm) 7750 Dual-Core Processor AuthenticAMD GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by r0a...@gmail.com on 6 Oct 2010 at 7:01

GoogleCodeExporter commented 9 years ago
估计2.6.35内核上是不支持的

Original comment by supercyp...@gmail.com on 16 Oct 2010 at 3:43

GoogleCodeExporter commented 9 years ago

Original comment by yingyingcui.scholarzhang@gmail.com on 17 Oct 2010 at 6:08

GoogleCodeExporter commented 9 years ago
I got same exception when I used old source code.
I have successfully compiled on Ubuntu 10.10 Kernel 2.6.35 with SVN revision 
106 now.

Original comment by ubunt...@gmail.com on 18 Apr 2011 at 1:14

GoogleCodeExporter commented 9 years ago

Original comment by kiz...@gmail.com on 17 Sep 2011 at 2:02