|
发表于 2010-6-28 20:54:06
|
显示全部楼层
Post by wingfy01;2100060
.....谢谢,写得挺详细的...........回家了试试,学校的网太破,升到13.1,drcom-client1.4.8.2编译都出错了.............:
In function ‘build_ack_skb’:
/home/liangyi/Downloads/drcom-1.4.8.2/kmod/drcom.c:686: error: ‘struct sk_buff’ has no member named ‘dst’
/home/liangyi/Downloads/drcom-1.4.8.2/kmod/drcom.c: In function ‘build_auth_skb’:
/home/liangyi/Downloads/drcom-1.4.8.2/kmod/drcom.c:723: error: ‘struct sk_buff’ has no member named ‘dst’
make[3]: *** [/home/liangyi/Downloads/drcom-1.4.8.2/kmod/drcom.o] Error 1
make[2]: *** [_module_/home/liangyi/Downloads/drcom-1.4.8.2/kmod] Error 2
make[1]: *** [default] Error 2
make: *** [all] Error 1
..............注释:13.0编译成功...也用不了...........
....找到办法...:解决方案:
编辑/kmod/drcom.c
查找__ip_select_ident(iph, skb->dst, 0);
改为 __ip_select_ident(iph, skb_dst(skb), 0); |
|