Hi, On SuSE 9.2, kernel 2.6.8-24.13 - i have failed to compile Cisco VPN Client 4.0. Errors are listed below, but summary is: Failed to make module "cisco_ipsec". I have googled and found people with similar problems, but no answers to them. has anyone got this to work? Many people attributed this lack of kernel sources, but i have the rpm installed on my system. Anyone - please tell me what c'd be wrong! regards, Ernesto. ==================================================================== ernest:~/software/vpnclient> sudo ./vpn_install Password: Cisco Systems VPN Client Version 4.0 (Rel) Linux Installer Copyright (C) 1998-2001 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. For RedHat 6.x users these files are installed in /usr/src/linux by default For RedHat 7.x users these files are installed in /usr/src/linux-2.4 by default For Suse 7.3 users these files are installed in /usr/src/linux-2.4.10.SuSE by default Directory containing linux kernel source code [/lib/modules/2.6.8-24.13-default/build] * Binaries will be installed in "/usr/local/bin". * Modules will be installed in "/lib/modules/2.6.8-24.13-default/CiscoVPN". * The VPN service will be started AUTOMATICALLY at boot time. * Kernel source from "/lib/modules/2.6.8-24.13-default/build" will be used to build the module. Is the above correct [y] Making module In file included from /usr/include/linux/list.h:7, from /usr/include/linux/kobject.h:19, from /usr/include/linux/device.h:16, from /usr/include/linux/netdevice.h:38, from linuxcniapi.c:22: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) In file included from /usr/include/linux/module.h:22, from /usr/include/linux/device.h:20, from /usr/include/linux/netdevice.h:38, from linuxcniapi.c:22: /usr/include/asm/module.h:56:2: #error unknown processor family In file included from /usr/include/linux/netdevice.h:151, from linuxcniapi.c:22: /usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory In file included from /usr/include/linux/irq.h:20, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/linux/netdevice.h:512, from linuxcniapi.c:22: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/linux/netdevice.h:512, from linuxcniapi.c:22: /usr/include/linux/irq.h: At top level: /usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:68: error: requested alignment is not a constant /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/irq.h:72, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/linux/netdevice.h:512, from linuxcniapi.c:22: /usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/interrupt.h:12, from /usr/include/linux/netdevice.h:512, from linuxcniapi.c:22: /usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:13: error: requested alignment is not a constant In file included from linuxcniapi.c:27: /usr/include/linux/ip.h:84:22: net/sock.h: No such file or directory /usr/include/linux/ip.h:86:22: net/flow.h: No such file or directory In file included from linuxcniapi.c:27: /usr/include/linux/ip.h:143: error: field `fl' has incomplete type /usr/include/linux/ip.h:153: error: field `sk' has incomplete type linuxcniapi.c:29:21: net/dst.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from linuxcniapi.c:31: /usr/include/linux/tcp.h:196:22: net/sock.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from linuxcniapi.c:31: /usr/include/linux/tcp.h:429: error: field `sk' has incomplete type linuxcniapi.c: In function `CNI_LINUXMemAlloc': linuxcniapi.c:202: warning: use of cast expressions as lvalues is deprecated linuxcniapi.c: In function `CNI_LINUXInjectReceive': linuxcniapi.c:1320: warning: assignment makes pointer from integer without a cast interceptor.c:19:31: linux/modversions.h: No such file or directory In file included from /usr/include/linux/irq.h:20, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from interceptor.c:24: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from interceptor.c:24: /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/irq.h:72, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from interceptor.c:24: /usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/netdevice.h:151, from interceptor.c:24: /usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory interceptor.c:30:20: net/ip.h: No such file or directory In file included from interceptor.c:31: /usr/include/linux/ip.h:84:22: net/sock.h: No such file or directory /usr/include/linux/ip.h:86:22: net/flow.h: No such file or directory In file included from interceptor.c:31: /usr/include/linux/ip.h:143: error: field `fl' has incomplete type /usr/include/linux/ip.h:153: error: field `sk' has incomplete type In file included from interceptor.c:32: /usr/include/linux/udp.h:40:22: net/sock.h: No such file or directory In file included from interceptor.c:32: /usr/include/linux/udp.h:56: error: field `sk' has incomplete type interceptor.c:33:26: net/protocol.h: No such file or directory interceptor.c:34:21: net/dst.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from interceptor.c:39: /usr/include/linux/tcp.h:196:22: net/sock.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from interceptor.c:39: /usr/include/linux/tcp.h:429: error: field `sk' has incomplete type In file included from linux_os.h:18, from interceptor.c:39: /usr/include/linux/isdn.h:193:27: net/slhc_vj.h: No such file or directory interceptor.c:102: warning: initialization makes integer from pointer without a cast interceptor.c: In function `handle_vpnup': interceptor.c:269: error: `MOD_IN_USE' undeclared (first use in this function) interceptor.c:269: error: (Each undeclared identifier is reported only once interceptor.c:269: error: for each function it appears in.) interceptor.c:284: error: structure has no member named `next' interceptor.c:289: error: structure has no member named `next' interceptor.c:362: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:554) interceptor.c: In function `handle_vpndown': interceptor.c:371: error: `MOD_IN_USE' undeclared (first use in this function) interceptor.c:404: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:566) interceptor.c: In function `recv_ip_packet_handler': interceptor.c:520: warning: assignment makes pointer from integer without a cast In file included from /usr/include/linux/list.h:7, from /usr/include/linux/wait.h:14, from /usr/include/asm/semaphore.h:41, from /usr/include/linux/sched.h:18, from IPSecDrvOS_linux.c:24: /usr/include/linux/prefetch.h: In function `prefetch_range': /usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function) /usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once /usr/include/linux/prefetch.h:64: error: for each function it appears in.) IPSecDrvOS_linux.c: In function `GetCurrentTime': IPSecDrvOS_linux.c:137: error: incompatible types in assignment frag.c:9:31: linux/modversions.h: No such file or directory In file included from /usr/include/linux/irq.h:20, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from frag.c:11: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from frag.c:11: /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/irq.h:72, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:12, from /usr/include/asm/highmem.h:24, from /usr/include/linux/highmem.h:14, from /usr/include/linux/skbuff.h:27, from /usr/include/linux/netdevice.h:151, from frag.c:11: /usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/netdevice.h:151, from frag.c:11: /usr/include/linux/skbuff.h:30:26: net/checksum.h: No such file or directory frag.c:16:20: net/ip.h: No such file or directory In file included from frag.c:17: /usr/include/linux/ip.h:84:22: net/sock.h: No such file or directory /usr/include/linux/ip.h:86:22: net/flow.h: No such file or directory In file included from frag.c:17: /usr/include/linux/ip.h:143: error: field `fl' has incomplete type /usr/include/linux/ip.h:153: error: field `sk' has incomplete type In file included from frag.c:18: /usr/include/linux/udp.h:40:22: net/sock.h: No such file or directory In file included from frag.c:18: /usr/include/linux/udp.h:56: error: field `sk' has incomplete type frag.c:19:26: net/protocol.h: No such file or directory frag.c:20:21: net/dst.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from frag.c:25: /usr/include/linux/tcp.h:196:22: net/sock.h: No such file or directory In file included from /usr/include/linux/isdn.h:171, from linux_os.h:18, from frag.c:25: /usr/include/linux/tcp.h:429: error: field `sk' has incomplete type In file included from linux_os.h:18, from frag.c:25: /usr/include/linux/isdn.h:193:27: net/slhc_vj.h: No such file or directory frag.c: In function `queue_fragment': frag.c:71: error: `IP_OFFSET' undeclared (first use in this function) frag.c:71: error: (Each undeclared identifier is reported only once frag.c:71: error: for each function it appears in.) frag.c: In function `have_all_fragments': frag.c:127: error: `IP_OFFSET' undeclared (first use in this function) frag.c:147: error: `IP_MF' undeclared (first use in this function) frag.c: In function `need_reorder_frag': frag.c:206: error: `IP_MF' undeclared (first use in this function) frag.c:206: error: `IP_OFFSET' undeclared (first use in this function) ld: frag.o: No such file: No such file or directory Failed to make module "cisco_ipsec".