- 论坛徽章:
- 0
|
root@localhost:~# tar xvf ipp2p-0.99.17.tar.gz
ipp2p-0.99.17/
ipp2p-0.99.17/Makefile
ipp2p-0.99.17/ipt_ipp2p_data.c
ipp2p-0.99.17/ipt_ipp2p.c
ipp2p-0.99.17/ipt_ipp2p.h
ipp2p-0.99.17/patch.diff
ipp2p-0.99.17/libipt_ipp2p.c
root@localhost:~# cd ipp2p-0.99.17/
root@localhost:~/ipp2p-0.99.17# make
make -C /lib/modules/2.6.18-6-686/build M=/home/roy/ipp2p-0.99.17 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
CC [M] /home/roy/ipp2p-0.99.17/ipt_ipp2p.o
In file included from /home/roy/ipp2p-0.99.17/ipt_ipp2p.c:3:
include/net/netfilter/nf_conntrack_core.h:42: warning: 'struct nf_conntrack_tuple' declared inside parameter list
include/net/netfilter/nf_conntrack_core.h:42: warning: its scope is only this definition or declaration, which is probably not what you want
include/net/netfilter/nf_conntrack_core.h:48: warning: 'struct nf_conntrack_tuple' declared inside parameter list
include/net/netfilter/nf_conntrack_core.h:53: warning: 'struct nf_conn' declared inside parameter list
include/net/netfilter/nf_conntrack_core.h:53: warning: 'struct nf_conntrack_tuple' declared inside parameter list
include/net/netfilter/nf_conntrack_core.h: In function 'nf_conntrack_confirm':
include/net/netfilter/nf_conntrack_core.h:64: warning: implicit declaration of function 'nf_ct_is_confirmed'
include/net/netfilter/nf_conntrack_core.h:66: warning: implicit declaration of function 'nf_ct_deliver_cached_events'
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c: At top level:
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'match'
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c:128: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'checkentry'
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c:139: error: 'match' undeclared here (not in a function)
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c:142: error: 'checkentry' undeclared here (not in a function)
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c: In function 'init':
/home/roy/ipp2p-0.99.17/ipt_ipp2p.c:148: warning: implicit declaration of function 'need_conntrack'
make[2]: *** [/home/roy/ipp2p-0.99.17/ipt_ipp2p.o] Error 1
make[1]: *** [_module_/home/roy/ipp2p-0.99.17] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
make: *** [ipt_ipp2p.ko] Error 2
root@localhost:~/ipp2p-0.99.17# cd ..
root@localhost:~# tar xvf ipp2p-0.99.15.tar.gz
ipp2p-0.99.15/
ipp2p-0.99.15/Makefile
ipp2p-0.99.15/Module.symvers
ipp2p-0.99.15/README
ipp2p-0.99.15/ipt.sh
ipp2p-0.99.15/ipt_ipp2p.c
ipp2p-0.99.15/ipt_ipp2p.h
ipp2p-0.99.15/COPYING
ipp2p-0.99.15/libipt_ipp2p.c
root@localhost:~# cd ipp2p-0.99.15
root@localhost:~/ipp2p-0.99.15# make
make -C /lib/modules/2.6.18-6-686/build M=/home/roy/ipp2p-0.99.15 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
CC [M] /home/roy/ipp2p-0.99.15/ipt_ipp2p.o
Building modules, stage 2.
MODPOST
CC /home/roy/ipp2p-0.99.15/ipt_ipp2p.mod.o
LD [M] /home/roy/ipp2p-0.99.15/ipt_ipp2p.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'
gcc -O3 -Wall -DIPTABLES_VERSION=\"1.3.6\" -I/usr/src/iptables-1.3.6/include -fPIC -c libipt_ipp2p.c
gcc -shared -o libipt_ipp2p.so libipt_ipp2p.o
root@localhost:~/ipp2p-0.99.15# ll
total 148
-rw-r--r-- 1 jackz jackz 17982 Aug 16 2007 COPYING
-rw-r--r-- 1 jackz jackz 2130 Feb 27 2008 Makefile
-rw-r--r-- 1 jackz jackz 0 Aug 16 2007 Module.symvers
-rw-r--r-- 1 jackz jackz 4683 Aug 16 2007 README
-rwxr-xr-x 1 jackz jackz 144 Dec 17 2007 ipt.sh
-rw-r--r-- 1 jackz jackz 31162 Mar 3 2008 ipt_ipp2p.c
-rw-r--r-- 1 jackz jackz 663 Mar 3 2008 ipt_ipp2p.h
-rw-r--r-- 1 root root 11421 Feb 7 19:17 ipt_ipp2p.ko
-rw-r--r-- 1 root root 747 Feb 7 19:17 ipt_ipp2p.mod.c
-rw-r--r-- 1 root root 2228 Feb 7 19:17 ipt_ipp2p.mod.o
-rw-r--r-- 1 root root 9764 Feb 7 19:17 ipt_ipp2p.o
-rw-r--r-- 1 jackz jackz 13901 Dec 9 2007 libipt_ipp2p.c
-rw-r--r-- 1 root root 10648 Feb 7 19:17 libipt_ipp2p.o
-rwxr-xr-x 1 root root 12358 Feb 7 19:17 libipt_ipp2p.so
root@localhost:~/ipp2p-0.99.15# uname -a
Linux localhost 2.6.18-6-686 #1 SMP Sat Dec 27 09:31:05 UTC 2008 i686 GNU/Linux
不知道最新的ipp2p-0.99.16 ipp2p-0.99.17改过什么东西 就是通不过 |
|