论坛风格切换切换到宽版
  • 764阅读
  • 2回复

[问题求助]打ipp2p补丁问题。是补丁包里没有,还是不支持内核 [复制链接]

上一主题 下一主题
离线kevin0426.
 
发帖
2245
C币
-192909
威望
427
贡献值
1
银元
-3
铜钱
5091
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
Welcome to Patch-o-matic (1.17)..!(        游戏          )

Kernel:  . 2.6.9, /usr/src/.linux-2.6.9虚拟主机
Iptables: 1.3.7,.. /usr/local/src/iptables-1.3.7            杀毒
Each patch is a new f.eature: many have minimal. impact, some do not..
Almost every one ha.s bugs, so don.'t apply what you don't need!.
---.-----------------------------------------.-----------电脑
02_linux-2.4.24.patch does not match your sou.rc.e trees, skipping....
Already ap.plied: 01_iptables-1.2.10.pat.ch 01_linux-2.6.3.patch--- 印刷

T.esting 0.2_linux-2.6.4.patch... not applied.
The 02_linux-.2..6.4.patch patch:投资
  . Author: Various<性病>
   Status: Manda.tory.

This patch contains all. net.filter changes between stock kernel投资
versions 2.6.4 and .2.6.5.           建材

+. Fix ip_conntrack_helper dep.endency in ip_conntrack.h             电子
  (Sergio Monteiro Ba.sto)              乙肝
  (http://lists.netfilter.org/piper ... vember/009928.html)外贸
+ Missing null .m.apping for local->local traffic虚拟主机
  with CONFIG_IP_NF_NAT_LOCAL d.isabled (KOVAC.S Krisztian)电脑
+ ipt_MASQUERADE.c bugfix to com.pile it cle.anly when debugging虚拟主机
  is .e.nabled (Harald Welte)             电子
+ Let the user send .reset packet for bridg.ed frames in the域名
  FORWARD chain with ip for.warding disabled (Bart de Schuy.mer)外贸
---------------------------------------------------..--------------学习
Do. you want .to apply this patch [N/y/t/f/a/r/b/w/q/?] y域名
cannot apply (10 rejects out o.f 10 hunk.s)    美容
---------------.---------------.-----------------------------------.
Do .you want to apply this pa.tch [N/y/t/f/a/r/b/w/q/?].
其他的行。包括time st.ring ipv4opti.ons psd mport quota.
具红桃K帖子说Stri.ng不支持2.6内核。但是现在可能是.补丁升级完全可以了。           鲜花

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线klxqlqw.
发帖
2074
C币
-262870
威望
355
贡献值
2
银元
-3
铜钱
4474
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
离线chkey.
发帖
2007
C币
-140550
威望
405
贡献值
1
银元
-1
铜钱
4645
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
helpying 出现 新的 问题了 。

我根据你的 修改了 ipp2p 的makefile

出现了 许多的 错误  导致 最后 编译 失败。

{standard input}:7736: Error: symbol `next' is already defined
{standard input}:7742: Error: symbol `stats' is already defined
{standard input}:7748: Error: symbol `len' is already defined
{standard input}:7838: Error: symbol `opt' is already defined
{standard input}:7850: Error: symbol `cork' is already defined
{standard input}:8000: Error: symbol `opt' is already defined
{standard input}:8126: Error: symbol `function_name' is already defined
make[2]: *** [/usr/local/src/ipp2p-0.8.0/ipt_ipp2p.o] 错误 1
make[1]: *** [_module_/usr/local/src/ipp2p-0.8.0] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [ipt_ipp2p.ko] 错误 2  
还有 很多不 一样的 错误 。 如  
{standard input}:3941: Error: symbol `saved_state' is already defined
{standard input}:3977: Error: symbol `release' is already defined
{standard input}:4077: Error: symbol `destructor' is already defined
{standard input}:4083: Error: symbol `open' is already defined
{standard input}:4101: Error: symbol `poll' is already defined
{standard input}:4239: Error: symbol `data' is already defined

include/linux/fs.h:432: error: storage size of `i_atime' isn't known
include/linux/fs.h:433: error: storage size of `i_mtime' isn't known
include/linux/fs.h:434: error: storage size of `i_ctime' isn't known

/usr/local/src/ipp2p-0.8.0/ipt_ipp2p.c:862: error: dereferencing pointer to incomplete type
/usr/local/src/ipp2p-0.8.0/ipt_ipp2p.c:862: error: dereferencing pointer to incomplete type

/usr/local/src/ipp2p-0.8.0/ipt_ipp2p.c:836: error: request for member `short_hand' in something not a structure or union
/usr/local/src/ipp2p-0.8.0/ipt_ipp2p.c:836: error: request for member `short_hand' in something not a structure or union
等 错误 。  希望 helpying 及 白金大哥  进来 帮忙 看看  

我的环境是  kernel 2.6.9 iptables 1.3.1 patch-o-matic-ng-20040621(这里ipp2p好象不叫这个名了。叫这个02_linux-2.6.4.patch。)  

还有 安装 L7 的时候 这样 提示 正常吗 ?

[root@AS linux-2.6.9]# patch -tpl < /usr/local/src/netfilter-layer7-v2.9/for_older_kernels/kernel-2.6.9-2.6.10-layer7-1.2.patch
patch: **** strip count l is not a number
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个