|
转自斯图家园:http://cn.wh-stuttgart.de/index.php?showtopic=27838
我按上面帖中指导在SLED 10下patch后install报错:
Cisco Systems VPN Client Version 4.0.5 (Rel) Linux Installer
Copyright (C) 1998-2001 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]
In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.
For RedHat 6.x users these files are installed in /usr/src/linux by default
For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default
For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default
Directory containing linux kernel source code [/lib/modules/2.6.16.21-0.8-default/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.16.21-0.8-default/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.16.21-0.8-default/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.16.21-0.8-default/build SUBDIRS=/mnt/8/prog/cisco-vpn/training/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/default'
make -C ../../../linux-2.6.16.21-0.8 O=../linux-2.6.16.21-0.8-obj/i386/default modules
CC [M] /mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.o
/mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.c:315: error: ‘struct sk_buff’ has no member named ‘stamp’
/mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.c:452: error: ‘struct sk_buff’ has no member named ‘stamp’
make[4]: *** [/mnt/8/prog/cisco-vpn/training/vpnclient/linuxcniapi.o] Error 1
make[3]: *** [_module_/mnt/8/prog/cisco-vpn/training/vpnclient] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16.21-0.8-obj/i386/default'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
请哪位达人指教一下毛病在哪儿? |
|