LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Once Again! Cisco Vpn client Ubuntu (kernel: 2.6.27-9-generic) gives the same error! (https://www.linuxquestions.org/questions/linux-newbie-8/once-again-cisco-vpn-client-ubuntu-kernel-2-6-27-9-generic-gives-the-same-error-715545/)

senthilmuthiah 03-30-2009 01:36 PM

Once Again! Cisco Vpn client Ubuntu (kernel: 2.6.27-9-generic) gives the same error!
 
Hi All:

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
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.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)
Making module
make -C /lib/modules/2.6.27-9-generic/build SUBDIRS=/home/senthil/Desktop/vpn/vpnclient modules
make[1]: 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,
from /home/senthil/Desktop/vpn/vpnclient/linuxcniapi.c:31:
/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[2]: *** [/home/senthil/Desktop/vpn/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/senthil/Desktop/vpn/vpnclient] Error 2
make[1]: 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!

TB0ne 03-30-2009 03:23 PM

Quote:

Originally Posted by senthilmuthiah (Post 3492780)
Hi All:

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.

It asks if you have the kernel source for the kernel that's currently running....do you? Type in "uname -a" at a prompt...if it shows something other than the 2.6.27-9-generic you mentioned, that's your problem. Install the correct source, or upgrade your running kernel to match.

And have you contacted Cisco, to see if they could help?

senthilmuthiah 03-30-2009 05:46 PM

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.

senthilmuthiah 03-30-2009 06:04 PM

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.

senthilmuthiah 03-30-2009 06:53 PM

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+).

http://projects.tuxx-home.at/?id=cisco_vpn_client

(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

TB0ne 03-31-2009 11:44 AM

Quote:

Originally Posted by senthilmuthiah (Post 3493086)
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+).

http://projects.tuxx-home.at/?id=cisco_vpn_client

(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

Yeah, but alot of times, Cisco has the only answers...their forums do stink, but occasionally you can get lucky. Thanks for posting the answer, so others here can benefit from it too.


All times are GMT -5. The time now is 03:05 AM.