- 论坛徽章:
- 0
|
求助安装不成功,提示如下
[root@sunclinux ipp2p-0.99.17]# patch -p1 < ./patch.diff
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- linux/include/net/netfilter/nf_conntrack.h.orig 2008-10-17 16:15:34.000000000 +0800
|+++ linux/include/net/netfilter/nf_conntrack.h 2008-10-17 16:14:51.000000000 +0800
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
[root@sunclinux ipp2p-0.99.17]# make
make -C /lib/modules/2.6.18-8.el5/build M=/tmp/ipp2p-0.99.17 modules
make[1]: Entering directory `/usr/src/kernels/2.6.18-8.el5-i686'
CC [M] /tmp/ipp2p-0.99.17/ipt_ipp2p.o
In file included from /tmp/ipp2p-0.99.17/ipt_ipp2p.c:3:
include/net/netfilter/nf_conntrack_core.h:42: 警告:‘struct nf_conntrack_tuple’ 在形参表内部声明
include/net/netfilter/nf_conntrack_core.h:42: 警告:它的作用域仅限于此定义或声明,这可能并不是您想要的
include/net/netfilter/nf_conntrack_core.h:48: 警告:‘struct nf_conntrack_tuple’ 在形参表内部声明
include/net/netfilter/nf_conntrack_core.h:53: 警告:‘struct nf_conn’ 在形参表内部声明
include/net/netfilter/nf_conntrack_core.h:53: 警告:‘struct nf_conntrack_tuple’ 在形参表内部声明
include/net/netfilter/nf_conntrack_core.h: 在函数 ‘nf_conntrack_confirm’ 中:
include/net/netfilter/nf_conntrack_core.h:64: 错误:隐式声明函数 ‘nf_ct_is_confirmed’
include/net/netfilter/nf_conntrack_core.h:66: 错误:隐式声明函数 ‘nf_ct_deliver_cached_events’
/tmp/ipp2p-0.99.17/ipt_ipp2p.c: 在顶层:
/tmp/ipp2p-0.99.17/ipt_ipp2p.c:24: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘match’
/tmp/ipp2p-0.99.17/ipt_ipp2p.c:128: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘checkentry’
/tmp/ipp2p-0.99.17/ipt_ipp2p.c:139: 错误:‘match’ 未声明 (不在函数内)
/tmp/ipp2p-0.99.17/ipt_ipp2p.c:142: 错误:‘checkentry’ 未声明 (不在函数内)
/tmp/ipp2p-0.99.17/ipt_ipp2p.c: 在函数 ‘init’ 中:
/tmp/ipp2p-0.99.17/ipt_ipp2p.c:148: 错误:隐式声明函数 ‘need_conntrack’
make[2]: *** [/tmp/ipp2p-0.99.17/ipt_ipp2p.o] 错误 1
make[1]: *** [_module_/tmp/ipp2p-0.99.17] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.18-8.el5-i686'
make: *** [ipt_ipp2p.ko] 错误 2
[root@sunclinux ipp2p-0.99.17]# |
|