求教,安装Cisco System VPN Client 出错

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
kitps
帖子: 32
注册时间: 2010-03-16 18:44
送出感谢: 0
接收感谢: 0

求教,安装Cisco System VPN Client 出错

#1

帖子 kitps » 2010-04-02 10:36

Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]y

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.


Directory containing linux kernel source code [/lib/modules/2.6.31-21-generic/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.31-21-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.31-21-generic/build" will be used to build the module.

Is the above correct [y]y

Making module
make -C /lib/modules/2.6.31-21-generic/build SUBDIRS=/home/charles/下载/vpnclient modules
make[1]: 正在进入目录 `/usr/src/linux-headers-2.6.31-21-generic'
CC [M] /home/charles/下载/vpnclient/linuxcniapi.o
CC [M] /home/charles/下载/vpnclient/frag.o
CC [M] /home/charles/下载/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/charles/下载/vpnclient/interceptor.o
/home/charles/下载/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/charles/下载/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/charles/下载/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’
/home/charles/下载/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/charles/下载/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/charles/下载/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/charles/下载/vpnclient/interceptor.c:272: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/charles/下载/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/charles/下载/vpnclient/interceptor.c:294: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[2]: *** [/home/charles/下载/vpnclient/interceptor.o] 错误 1
make[1]: *** [_module_/home/charles/下载/vpnclient] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-2.6.31-21-generic'
make: *** [default] 错误 2
Failed to make module "cisco_ipsec.ko".

请问是什么原因?本人初学。
:em20
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46
送出感谢: 0
接收感谢: 2 次

Re: 求教,安装Cisco System VPN Client 出错

#2

帖子 hcym » 2010-04-02 10:43

帮顶

也是头大,win轻松搞定,linux就是磕磕碰碰
头像
qiang_liu8183
论坛版主
帖子: 10672
注册时间: 2006-09-10 22:36
来自: 北京
送出感谢: 1 次
接收感谢: 6 次

Re: 求教,安装Cisco System VPN Client 出错

#3

帖子 qiang_liu8183 » 2010-04-02 10:54

用vpnc多好
看破、放下、自在、随缘、念佛
真诚、清净、平等、正觉、慈悲
头像
kitps
帖子: 32
注册时间: 2010-03-16 18:44
送出感谢: 0
接收感谢: 0

Re: 求教,安装Cisco System VPN Client 出错

#4

帖子 kitps » 2010-04-02 18:00

谢谢,楼上两位。我用的是学校的给的客户端,我不知道别的可以用不,我去试试看。 :em06
头像
hcym
帖子: 15634
注册时间: 2007-05-06 2:46
送出感谢: 0
接收感谢: 2 次

Re: 求教,安装Cisco System VPN Client 出错

#5

帖子 hcym » 2010-04-02 21:08

kitps 写了:谢谢,楼上两位。我用的是学校的给的客户端,我不知道别的可以用不,我去试试看。 :em06
http://www.blog.arun-prabha.com/2006/11 ... in-ubuntu/
https://help.ubuntu.com/community/VPNClient

你不妨看看

我的是PPTP VPN头大头大

:em33
dnahzjf
帖子: 7
注册时间: 2011-01-10 13:56
送出感谢: 0
接收感谢: 0

Re: 求教,安装Cisco System VPN Client 出错

#6

帖子 dnahzjf » 2011-06-01 13:23

缺少和你系统核心一至的补丁文件比如:2.6.31.diffp 这个补丁
回复

回到 “服务器基础应用”