The package came with a file called vpn_install, so I just type ./vpn_install and this is what I got:
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.24-16-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24-16-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24-16-generic/build" will be used to build the module.
Is the above correct [y]y
Making module
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/mattbracewell/vpn modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/mattbracewell/vpn/linuxcniapi.o
/home/mattbracewell/vpn/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
In file included from /home/mattbracewell/vpn/Cniapi.h:15,
from /home/mattbracewell/vpn/linuxcniapi.c:27:
/home/mattbracewell/vpn/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/mattbracewell/vpn/linuxcniapi.c:297: error: implicit declaration of function ‘skb_set_timestamp’
/home/mattbracewell/vpn/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/home/mattbracewell/vpn/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectSend’:
/home/mattbracewell/vpn/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/home/mattbracewell/vpn/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/mattbracewell/vpn/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/mattbracewell/vpn] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Any ideas? Please be gentle...I"m a newbie
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.24-16-generic/build]
* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.24-16-generic/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.24-16-generic/build" will be used to build the module.
Is the above correct [y]y
Making module
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/mattbracewell/vpn modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
CC [M] /home/mattbracewell/vpn/linuxcniapi.o
/home/mattbracewell/vpn/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
In file included from /home/mattbracewell/vpn/Cniapi.h:15,
from /home/mattbracewell/vpn/linuxcniapi.c:27:
/home/mattbracewell/vpn/GenDefs.h:113: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/mattbracewell/vpn/linuxcniapi.c:297: error: implicit declaration of function ‘skb_set_timestamp’
/home/mattbracewell/vpn/linuxcniapi.c:331: error: ‘struct sk_buff’ has no member named ‘nh’
/home/mattbracewell/vpn/linuxcniapi.c:332: error: ‘struct sk_buff’ has no member named ‘mac’
/home/mattbracewell/vpn/linuxcniapi.c: In function ‘CniInjectSend’:
/home/mattbracewell/vpn/linuxcniapi.c:454: error: ‘struct sk_buff’ has no member named ‘mac’
/home/mattbracewell/vpn/linuxcniapi.c:455: error: ‘struct sk_buff’ has no member named ‘nh’
/home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘h’
/home/mattbracewell/vpn/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘nh’
make[2]: *** [/home/mattbracewell/vpn/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/mattbracewell/vpn] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Any ideas? Please be gentle...I"m a newbie
Comment