benf101
February 7th, 2009, 05:51 PM
I seem to always have the same problem whenever I need to install anything outside of the package installer method. I am currently trying to get Cisco VPN installed and it falls apart at the same place every time. I've tried hacking at it with different uneducated guesses but to no avail. Here's what I'm doing:
benjamin@GENIUS:/home/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 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.24-19-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24-19-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24-19-generic/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /home/vpnclient/linuxcniapi.o
In file included from /home/vpnclient/Cniapi.h:15,
from /home/vpnclient/linuxcniapi.c:30:
/home/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/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
benjamin@GENIUS:/home/vpnclient$
Help is appreciated! Thanks to all...
benjamin@GENIUS:/home/vpnclient$ sudo ./vpn_install
Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer
Copyright (C) 1998-2005 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.24-19-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24-19-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24-19-generic/build" will be used to build the module.
Is the above correct [y]
Making module
make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
CC [M] /home/vpnclient/linuxcniapi.o
In file included from /home/vpnclient/Cniapi.h:15,
from /home/vpnclient/linuxcniapi.c:30:
/home/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/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
benjamin@GENIUS:/home/vpnclient$
Help is appreciated! Thanks to all...