2.6.30 arch linux x86_64

Installation, configuration and troubleshooting of the Cisco VPN Client on Linux systems

2.6.30 arch linux x86_64

Postby coopstah13 » Thu Sep 17, 2009 12:39 am

I have tried both 4.8.01 and 4.8.02 and haven't gotten either of them to compile yet. I haven't seen anyone with my error post, I'm not sure what to do.
Code: Select all
ccooper@jobox:~/download/vpnclient$ sudo ./vpn_install
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 [no]

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.30-ARCH/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.30-ARCH/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/lib/modules/2.6.30-ARCH/build" will be used to build the module.

Is the above correct [y]

Shutting down /opt/cisco-vpnclient/bin/vpnclient: /etc/rc.d/vpnclient_init: line 101: /sbin/lsmod: No such file or directory
module cisco_ipsec is not running.
Stopped: /etc/rc.d/vpnclient_init (VPN init script)
Making module
make -C /lib/modules/2.6.30-ARCH/build SUBDIRS=/home/ccooper/download/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.30-ARCH'
  CC [M]  /home/ccooper/download/vpnclient/linuxcniapi.o
In file included from /home/ccooper/download/vpnclient/Cniapi.h:15,
                 from /home/ccooper/download/vpnclient/linuxcniapi.c:31:
/home/ccooper/download/vpnclient/GenDefs.h:26:7: warning: "HAVE_INTTYPES_H" is not defined
In file included from /home/ccooper/download/vpnclient/Cniapi.h:15,
                 from /home/ccooper/download/vpnclient/linuxcniapi.c:31:
/home/ccooper/download/vpnclient/GenDefs.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64’
/home/ccooper/download/vpnclient/GenDefs.h:132: error: redefinition of typedef ‘uint’
include/linux/types.h:96: note: previous declaration of ‘uint’ was here
/home/ccooper/download/vpnclient/GenDefs.h:133: error: redefinition of typedef ‘ushort’
include/linux/types.h:95: note: previous declaration of ‘ushort’ was here
/home/ccooper/download/vpnclient/GenDefs.h:134: error: redefinition of typedef ‘ulong’
include/linux/types.h:97: note: previous declaration of ‘ulong’ was here
/home/ccooper/download/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/ccooper/download/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/ccooper/download/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size
/home/ccooper/download/vpnclient/linuxcniapi.c:416: warning: unused variable ‘pVABinding’
make[2]: *** [/home/ccooper/download/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/ccooper/download/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
coopstah13
Private
Private
 
Posts: 3
Joined: Thu Sep 17, 2009 12:22 am

Re: 2.6.30 arch linux x86_64

Postby coopstah13 » Sun Sep 20, 2009 12:39 am

Bump, anyone have any ideas on this? I am no C expert or kernel hacker so I have limited ability with this. I would greatly appreciate any help!
coopstah13
Private
Private
 
Posts: 3
Joined: Thu Sep 17, 2009 12:22 am

Re: 2.6.30 arch linux x86_64

Postby J. Soete » Sat Sep 26, 2009 12:33 pm

May be could you have a look at this other thread and post:
<http://forum.tuxx-home.at/viewtopic.php?f=15&t=790#p5399>

Probably should you also have to apply patch manualy (I never reach to upload patch file as attachment sorry).

Hth,
J.
J. Soete
Private
Private
 
Posts: 3
Joined: Sat Sep 19, 2009 9:56 am

Re: 2.6.30 arch linux x86_64

Postby xtom » Fri Oct 16, 2009 10:43 pm

Hi,

I just made cumulative patch from different sources (and some hand work)and its working for me. (included patches: cisco_skbuff_offset,override-local-lan-access, and few more to get it working on 2.6.29 and 2.6.30) Tested only on version below. Distribution debian unstable.
# uname -r
2.6.30-1-amd64 (and on 2.6.30-2-amd64)
Processor: Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Running on Dual core

Hope this helps

Regards
Tomas

PS: I can send also patched sources if somebody will be interested
Attachments
final_patch.diff.gz
unzip it first
(3.38 KiB) Downloaded 661 times
xtom
Private
Private
 
Posts: 4
Joined: Sun Jun 07, 2009 12:00 am

Re: 2.6.30 arch linux x86_64

Postby mariuszs » Wed Nov 04, 2009 9:16 pm

Can you check, if this patch is working with 2.6.31?
mariuszs
Sergeant
Sergeant
 
Posts: 18
Joined: Wed May 20, 2009 6:59 am


Return to Cisco VPN Client on Linux systems

Who is online

Users browsing this forum: No registered users and 3 guests

cron