Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd November 2011, 11:27 AM
pedra91 Offline
Registered User
 
Join Date: Nov 2011
Posts: 1
linuxfirefox
error to kernel with cisco VPN client

Hi all,
i have some problem for installing vpn client on my pc. I have installed fedora 15 and i have the kernel release 2.6.38.6-26.rc1.fc15.i686. When i tried to install cisco vpn client on my pc i have received this error:
Quote:
Making module
make -C /lib/modules/2.6.38.6-26.rc1.fc15.i686/build SUBDIRS=/home/andreap/Vpn/Vpnclient_lin/vpnclient modules
make[1]: Entering directory `/usr/src/kernels/2.6.38.6-26.rc1.fc15.i686'
CC [M] /home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.o
In file included from /home/andreap/Vpn/Vpnclient_lin/vpnclient/Cniapi.h:15:0,
from /home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:27:
/home/andreap/Vpn/Vpnclient_lin/vpnclient/GenDefs.h:113:16: error: conflicting types for ‘uintptr_t’
include/linux/types.h:44:24: note: previous declaration of ‘uintptr_t’ was here
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:297:9: error: implicit declaration of function ‘skb_set_timestamp’ [-Werror=implicit-function-declaration]
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:331:8: error: ‘struct sk_buff’ has no member named ‘nh’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:332:8: error: ‘struct sk_buff’ has no member named ‘mac’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:454:8: error: ‘struct sk_buff’ has no member named ‘mac’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:455:8: error: ‘struct sk_buff’ has no member named ‘nh’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:458:8: error: ‘struct sk_buff’ has no member named ‘h’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:458:28: error: ‘struct sk_buff’ has no member named ‘nh’
/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.c:401:11: warning: variable ‘tmp_InjectSend’ set but not used [-Wunused-but-set-variable]
cc1: some warnings being treated as errors

make[2]: *** [/home/andreap/Vpn/Vpnclient_lin/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/andreap/Vpn/Vpnclient_lin/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.38.6-26.rc1.fc15.i686'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko"]
After i have read many forums for this problem i have tried for install the patch vpnclient-linux-2.6.24-final.diff but
Quote:
[root@localhost vpnclient]# patch -p1 < vpnclient-linux-2.6.24-final.diff
patching file GenDefs.h
patching file interceptor.c
Hunk #1 succeeded at 24 (offset -4 lines).
Hunk #2 succeeded at 48 (offset -4 lines).
Hunk #3 FAILED at 111.
Hunk #4 succeeded at 114 (offset -23 lines).
Hunk #5 FAILED at 364.
Hunk #6 succeeded at 835 (offset -86 lines).
Hunk #7 succeeded at 877 (offset -86 lines).
2 out of 7 hunks FAILED -- saving rejects to file interceptor.c.rejwhen i tried to install it i have this error


any ideas??
thanks all
Reply With Quote
  #2  
Old 2nd November 2011, 12:41 PM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,298
linuxfedorafirefox
Re: error to kernel with cisco VPN client

The kernel module you are trying to build is incompatible with your kernel. The data structure element names have changed.

That patch failed as the diff doesn't mtch the code you are trying to patch (diffenet revision no doubt).

I think that code is probably too old to work withthe current kernel. *Looks* like more than a tweak.

---------- Post added at 07:41 AM ---------- Previous post was at 07:38 AM ----------

Looks like you don't need that module at all.

Here - this should work on fedora too.
http://www.unfoldingcode.com/2011/08...client-on.html
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #3  
Old 2nd November 2011, 01:00 PM
smr54 Online
Registered User
 
Join Date: Jan 2010
Posts: 4,975
linuxfirefox
Re: error to kernel with cisco VPN client

I would avoid the cisco client and use vpnc. The cisco client for Linux is often out of date--at one point, though this was a few years ago, it wouldn't build without a lot of work on 64 bit or SMP machines.



NetworkManager's VPN client should also work, at least it does for one of our developers using Ubuntu.

For some info on vpnc see my own page at http://home.roadrunner.com/~computertaijutsu/vpnc.html
Reply With Quote
Reply

Tags
cisco, client, error, kernel, vpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cisco VPN Client - Bug in kernel FC11 mariuszs Servers & Networking 16 29th July 2009 10:05 PM
Fedora Core 6 (Zod) - Cisco VPN Client compilation error jnatschev Servers & Networking 9 23rd November 2006 09:20 PM


Current GMT-time: 14:24 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat