LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-17-2010, 07:58 AM   #1
zupa
LQ Newbie
 
Registered: Aug 2010
Posts: 1

Rep: Reputation: 0
Compiling Cisco VPN


Hi!

I was following this guide: http://www.paganini.net/index.cgi/li...quiet=1;page=1

and tried to compile the 4.8 version of Cisco's VPN client, but failed at this stage:

sudo ./vpn_install
[sudo] password for pakalns:
Cisco Systems VPN Client Version 4.8.02 (0030) Linux Installer
Copyright (C) 1998-2006 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.32-21-generic-pae/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.32-21-generic-pae/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.32-21-generic-pae/build" will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.32-21-generic-pae/build SUBDIRS=/home/pakalns/Downloads/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-21-generic-pae'
CC [M] /home/pakalns/Downloads/vpnclient/linuxcniapi.o
CC [M] /home/pakalns/Downloads/vpnclient/frag.o
CC [M] /home/pakalns/Downloads/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/pakalns/Downloads/vpnclient/interceptor.o
/home/pakalns/Downloads/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/pakalns/Downloads/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/pakalns/Downloads/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’
/home/pakalns/Downloads/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/pakalns/Downloads/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/pakalns/Downloads/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/pakalns/Downloads/vpnclient/interceptor.c:272: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/pakalns/Downloads/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/pakalns/Downloads/vpnclient/interceptor.c:294: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[2]: *** [/home/pakalns/Downloads/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/home/pakalns/Downloads/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-21-generic-pae'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".





pakalns@robuntu:~/Downloads/vpnclient$ cat /proc/version
Linux version 2.6.32-21-generic-pae (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 09:39:35 UTC 2010
pakalns@robuntu:~/Downloads/vpnclient$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
pakalns@robuntu:~/Downloads/vpnclient$


Sorry for the huge output, but sometimes it is necessary to see all the details.

Thank's,
Roberts
 
Old 08-18-2010, 11:27 AM   #2
stuart_cherrington
Member
 
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36
Have a look at http://www.linuxquestions.org/questi...client-353630/ - another Poster had similar issues I think.
 
  


Reply



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
compiling cisco-vpn gives "error: struct net_device has no..." under kernel 2.6.31 jadi19 Linux - Networking 3 10-04-2009 12:40 AM
Cisco VPN help clmowers Linux - Software 6 03-28-2007 07:52 AM
Cisco VPN PlatinumRik Linux - Networking 1 08-12-2003 10:43 PM
Cisco VPN Teddy_Horse Linux - Software 0 08-07-2003 05:16 PM
Connect to Cisco VPN w/o Cisco VPN Client gboutwel Linux - Networking 4 02-07-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration