Cisco VPN client and 64bit kernel

Eric Mittelstaedt ericm at sfour.no-ip.com
Thu Dec 16 22:42:44 UTC 2004


Has anyone been able to successfully compile Cisco's VPN client on a 64 
bit platform?  I am using Fedora Core 3, custom kernel and I am having 
no luck with this.  I have exported -m32 within my CFLAGS, still with no 
luck.
[ericm at infineon vpnclient]$ sudo echo $CFLAGS
-m32
[ericm at infineon vpnclient]$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.6.00 (0045) Linux Installer
Copyright (C) 1998-2004 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]y

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.9/build]/usr/src/linux-2.6.9

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

Is the above correct [y]y

Making module
make -C /usr/src/linux-2.6.9 SUBDIRS=/home/ericm/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
 CC [M]  /home/ericm/vpnclient/linuxcniapi.o
In file included from /home/ericm/vpnclient/Cniapi.h:15,
                from /home/ericm/vpnclient/linuxcniapi.c:34:
/home/ericm/vpnclient/GenDefs.h:101:2: warning: #warning 64 bit
In file included from /home/ericm/vpnclient/Cniapi.h:15,
                from /home/ericm/vpnclient/linuxcniapi.c:34:
/home/ericm/vpnclient/GenDefs.h:102: error: syntax error before "intptr_t"
/home/ericm/vpnclient/GenDefs.h:102: warning: type defaults to `int' in 
declaration of `intptr_t'
/home/ericm/vpnclient/GenDefs.h:102: warning: data definition has no 
type or storage class
/home/ericm/vpnclient/GenDefs.h:111:2: warning: #warning 64 bit
make[2]: *** [/home/ericm/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/ericm/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Any help would be appreciated.
Thanks,
Eric




More information about the amd64-list mailing list