[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

modul compile fails - autoconf.h



Hi,

I have to compile a Cisco VPN Client on lenny stable (the provided
Cisco compatible vpn pkg is not good for me).

In directory "/lib/modules/2.6.26-2-686/build" there is no linux/config.h
/lib/modules/2.6.26-2-686/build -> /usr/src/linux-headers-2.6.26-2-686

Or where it should be?

I think I have a lot of packages (src, headers, autconf, etc) needed
for compiling...
I do not know what to do.

Thanks  a lot for your help in advance,
Tamas

---------------------------------------------------------------
./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]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.26-2-686/build]

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

Is the above correct [y]

Making module
make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/home/src/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-2-686'
  CC [M]  /home/src/vpnclient/linuxcniapi.o
/home/src/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No
such file or directory
In file included from /home/src/vpnclient/Cniapi.h:15,
                 from /home/src/vpnclient/linuxcniapi.c:27:
/home/src/vpnclient/GenDefs.h:113: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
/home/src/vpnclient/linuxcniapi.c: In function 'CniInjectReceive':
/home/src/vpnclient/linuxcniapi.c:297: error: implicit declaration of
function 'skb_set_timestamp'
/home/src/vpnclient/linuxcniapi.c:331: error: 'struct sk_buff' has no
member named 'nh'
/home/src/vpnclient/linuxcniapi.c:332: error: 'struct sk_buff' has no
member named 'mac'
/home/src/vpnclient/linuxcniapi.c: In function 'CniInjectSend':
/home/src/vpnclient/linuxcniapi.c:454: error: 'struct sk_buff' has no
member named 'mac'
/home/src/vpnclient/linuxcniapi.c:455: error: 'struct sk_buff' has no
member named 'nh'
/home/src/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no
member named 'h'
/home/src/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no
member named 'nh'
make[2]: *** [/home/src/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/src/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-2-686'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".


Reply to: