rohitsz Posted October 28, 2007 Report Share Posted October 28, 2007 (edited) Greetings there, I am trying to get the cisco VPN client to work on mandriva 2008(free). When i try to install it, i get the following error: [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] 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.22.9-desktop-1mdv/build] * Binaries will be installed in "/usr/local/bin". * Modules will be installed in "/lib/modules/2.6.22.9-desktop-1mdv/CiscoVPN". * The VPN service will be started AUTOMATICALLY at boot time. * Kernel source from "/lib/modules/2.6.22.9-desktop-1mdv/build" will be used to build the module. Is the above correct [y] Making module make -C /lib/modules/2.6.22.9-desktop-1mdv/build SUBDIRS=/home/rkumar/Desktop/VPN/vpnclient modules make[1]: Entering directory `/usr/src/linux-2.6.22.9-1mdv' WARNING: Symbol version dump /usr/src/linux-2.6.22.9-1mdv/Module.symvers is missing; modules will have no dependencies and modversions. CC [M] /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.o /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’: /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:297: warning: implicit declaration of function ‘skb_set_timestamp’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’: /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’ /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’ make[2]: *** [/home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.o] Error 1 make[1]: *** [_module_/home/rkumar/Desktop/VPN/vpnclient] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22.9-1mdv' make: *** [default] Error 2 Failed to make module "cisco_ipsec.ko". [root@localhost vpnclient]# My kernel sources are as follows: [root@localhost vpnclient]# rpm -qa|grep kernel kernel-source-latest-2.6.22.9-1mdv2008.0 kernel-desktop-latest-2.6.22.9-1mdv2008.0 kernel-source-2.6.22.9-1mdv-1-1mdv2008.0 kernel-desktop-2.6.22.9-1mdv-1-1mdv2008.0 [root@localhost vpnclient]# Please tell me what next to do, to compile the Cisco VPN driver. It worked fine on 2007 earlier. Also i have run [root@localhost linux-2.6.22.9-1mdv]# make scripts/ CHK include/linux/version.h CHK include/linux/utsrelease.h CC arch/i386/kernel/asm-offsets.s GEN include/asm-i386/asm-offsets.h CALL scripts/checksyscalls.sh [root@localhost linux-2.6.22.9-1mdv]# As suggested on a forum to make things work.. but still bad luck with me :mellow: Please help. thanks, rohit. Edited November 4, 2007 by rohitsz Quote Link to comment Share on other sites More sharing options...
TwoFace Posted October 29, 2007 Report Share Posted October 29, 2007 Hm, I've had a similar problem, when I've tried to compile nVidia graphics driver. Back to your problem, where the sources of your kernel lies? Are they in /usr/src/linux-*? Quote Link to comment Share on other sites More sharing options...
rohitsz Posted October 30, 2007 Author Report Share Posted October 30, 2007 Hi, Hm, I've had a similar problem, when I've tried to compile nVidia graphics driver. Back to your problem, where the sources of your kernel lies? Are they in /usr/src/linux-*? Yes, the location of the sources being pointed is correct. Thanks, rohit. Quote Link to comment Share on other sites More sharing options...
TwoFace Posted October 30, 2007 Report Share Posted October 30, 2007 (edited) * Kernel source from "/lib/modules/2.6.22.9-desktop-1mdv/build" will be used to build the module. I don't understand, why kernel source used from that location? Check /usr/src/linux link to /usr/src/linux-* And, maybe, for new kernel that ship with Mandriva 2008 your need new version of your cisco VPN client? Edited October 30, 2007 by TwoFace Quote Link to comment Share on other sites More sharing options...
rohitsz Posted October 30, 2007 Author Report Share Posted October 30, 2007 Hi, I don't understand, why kernel source used from that location? Check /usr/src/linux link to /usr/src/linux-* And, maybe, for new kernel that ship with Mandriva 2008 your need new version of your cisco VPN client? I have checked that path, it points correctly to /usr/src/linux which points to /usr/src/linux-* . I think the older version of the VPN client could be the problem. I'll try this out and get back. But it worked fine on Mandriva 2007. :-) Thanks, rohit. Quote Link to comment Share on other sites More sharing options...
rohitsz Posted November 3, 2007 Author Report Share Posted November 3, 2007 Hi, Hi,I have checked that path, it points correctly to /usr/src/linux which points to /usr/src/linux-* . I think the older version of the VPN client could be the problem. I'll try this out and get back. But it worked fine on Mandriva 2007. :-) Still no luck. :unsure: IMO the problem is here: WARNING: Symbol version dump /usr/src/linux-2.6.22.9-1mdv/Module.symvers is missing; modules will have no dependencies and modversions. or /home/rkumar/Desktop/VPN/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory any other suggestions? Thanks, rohit. Quote Link to comment Share on other sites More sharing options...
rohitsz Posted November 4, 2007 Author Report Share Posted November 4, 2007 (edited) Hi, My problem got resolved :D Did a bit of google and found that there is patch that needs to be applied to the kernel 2.6.22 . The patch is here This one is specifically for kernel 2.6.22 Now the patch has allowed the cisco client to compile ok. Thanks, rohit. Edit: Find the newest and updated cisco client here Edited November 4, 2007 by rohitsz Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.