Once Again! Cisco Vpn client Ubuntu (kernel: 2.6.27-9-generic) gives the same error!
I am trying to install cisco-vpn client in my Lenovo Y500 laptop running ubuntu. This is just not working. The very same famous "Failed to make module "cisco_ipsec.ko" error is propping. Tried out the various patches and solutions available on the internet. I have been stuck with this for nearly a month now. I would be grateful if you could help.
I am getting the following error:
By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
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.27-9-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.27-9-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.27-9-generic/build" will be used to build the module.
Is the above correct [y]y
Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is not running.
Stopped: /etc/init.d/vpnclient_init (VPN init script)
make -C /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/senthil/Desktop/vpn/vpnclient modules
make: Entering directory `/usr/src/linux-headers-2.6.27-9-generic'
CC [M] /home/senthil/Desktop/vpn/vpnclient/linuxcniapi.o
In file included from /home/senthil/Desktop/vpn/vpnclient/Cniapi.h:15,
/home/senthil/Desktop/vpn/vpnclient/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
make: *** [/home/senthil/Desktop/vpn/vpnclient/linuxcniapi.o] Error 1
make: *** [_module_/home/senthil/Desktop/vpn/vpnclient] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.27-9-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
I would be more than pleased if you could help!
And have you contacted Cisco, to see if they could help?
Thanks Tbone! Actually, yes! I have got the correct kernel. I haven't contacted CISCO yet. I will do that now and will get back to this thread again. :)
Thanks, once again. Hopefully, the problem is solved.
The CISCO forums suck! I wasn't able to figure out how exactly should I post my question. It goes to askExpert and there is no immediate dialogue where I could write and post.
Wow..! Got it finally. I shouldn't have gone to the CISCO website. It only took my time. :(
Anyway, this tuxx guy has got a lot for us. Here is what I followed to get the cisco vpn work in Ubuntu Intrepid running 2.6.27 (note that the following patch is valid for 2.6.24+).
(go down to see : Patch to compile 4.8.01.0640 on Linux kernel 2.6.24+ and follow the instructions.)
Whoever this tuxx guy is, he is awesome! :) Whoever administers the CISCO forums, he should probably consider quitting the job. :P
|All times are GMT -5. The time now is 12:52 PM.|