LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1339|回复: 0

VPN client安装问题继续,大哥帮忙

[复制链接]
发表于 2008-5-4 15:54:05 | 显示全部楼层 |阅读模式
VPN client安装问题继续,大哥帮忙

终于成功的安装了kernel header,现在安装还报错,看不出来怎么回事,那位大哥能帮忙?谢谢拉
[root@localhost vpnclient]# ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 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]yes

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.24.4-laptop-1mnb/build]

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

Is the above correct [y]y

Making module
make -C /lib/modules/2.6.24.4-laptop-1mnb/build SUBDIRS=/home/mym/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.24.4-1mnb'

  WARNING: Symbol version dump /usr/src/linux-2.6.24.4-1mnb/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /home/mym/vpnclient/linuxcniapi.o
/home/mym/vpnclient/linuxcniapi.c:12:26: 错误:linux/config.h:没有那个文件或目录
In file included from /home/mym/vpnclient/Cniapi.h:15,
                 from /home/mym/vpnclient/linuxcniapi.c:27:
/home/mym/vpnclient/GenDefs.h:113: 错误:与‘uintptr_t’类型冲突
include/linux/types.h:40: 错误:‘uintptr_t’的上一个声明在此
/home/mym/vpnclient/linuxcniapi.c: 在函数‘CniInjectReceive’中:
/home/mym/vpnclient/linuxcniapi.c:297: 错误:隐式声明函数‘skb_set_timestamp’
/home/mym/vpnclient/linuxcniapi.c:331: 错误:‘struct sk_buff’没有名为‘nh’的成员
/home/mym/vpnclient/linuxcniapi.c:332: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/mym/vpnclient/linuxcniapi.c: 在函数‘CniInjectSend’中:
/home/mym/vpnclient/linuxcniapi.c:454: 错误:‘struct sk_buff’没有名为‘mac’的成员
/home/mym/vpnclient/linuxcniapi.c:455: 错误:‘struct sk_buff’没有名为‘nh’的成员
/home/mym/vpnclient/linuxcniapi.c:458: 错误:‘struct sk_buff’没有名为‘h’的成员
/home/mym/vpnclient/linuxcniapi.c:458: 错误:‘struct sk_buff’没有名为‘nh’的成员
make[2]: *** [/home/mym/vpnclient/linuxcniapi.o] 错误 1
make[1]: *** [_module_/home/mym/vpnclient] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.4-1mnb'
make: *** [default] 错误 2
Failed to make module "cisco_ipsec.ko".
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表