LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-30-2009, 01:36 PM   #1
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Rep: Reputation: 16
Unhappy 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!
 
Old 03-30-2009, 03:23 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,762

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by senthilmuthiah View Post
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?
 
Old 03-30-2009, 05:46 PM   #3
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Original Poster
Rep: Reputation: 16
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.
 
Old 03-30-2009, 06:04 PM   #4
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Original Poster
Rep: Reputation: 16
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.
 
Old 03-30-2009, 06:53 PM   #5
senthilmuthiah
Member
 
Registered: Mar 2009
Distribution: Ubuntu, Fedora
Posts: 56

Original Poster
Rep: Reputation: 16
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
 
Old 03-31-2009, 11:44 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,762

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by senthilmuthiah View 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+).

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.
 
  


Reply

Tags
cisco, client, patch, vpn


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN NXG Client on Ubuntu 8.10 Linux ?? your_shadow03 Linux - Newbie 0 03-26-2009 07:02 AM
Cisco VPN Client for Ubuntu depam Linux - Software 14 11-04-2007 09:30 AM
cisco vpn client compile error microft Linux - Networking 3 07-19-2006 06:39 AM
CISCO VPN Client and Kernel 2.6.13: Solved tronayne Linux - Networking 0 12-05-2005 01:27 PM
Cisco VPN Client installation error lyoshenka Linux - Software 1 10-27-2005 05:55 AM


All times are GMT -5. The time now is 12:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration