05-11-2004 08:17 AM - edited 02-21-2020 01:09 PM
Making module
make -C /lib/modules/2.6.4-54.5-default/build SUBDIRS=/home/jens/install/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.4-54.5'
CHK include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
CC [M] /home/jens/install/vpnclient/linuxcniapi.o
/home/jens/install/vpnclient/linuxcniapi.c:36: error: conflicting types for `os_alloc'
/home/jens/install/vpnclient/unixcniapi.h:38: error: previous declaration of `os_alloc'
/home/jens/install/vpnclient/linuxcniapi.c:42: error: conflicting types for `os_free'
/home/jens/install/vpnclient/unixcniapi.h:39: error: previous declaration of `os_free'
/home/jens/install/vpnclient/linuxcniapi.c:84: error: conflicting types for `CniGetFrameType'
/home/jens/install/vpnclient/Cniapi.h:404: error: previous declaration of `CniGetFrameType'
/home/jens/install/vpnclient/linuxcniapi.c:122: error: conflicting types for `CniGetMacAddress'
/home/jens/install/vpnclient/Cniapi.h:413: error: previous declaration of `CniGetMacAddress'
/home/jens/install/vpnclient/linuxcniapi.c:182: error: conflicting types for `CniGetMacName'
/home/jens/install/vpnclient/Cniapi.h:408: error: previous declaration of `CniGetMacName'
/home/jens/install/vpnclient/linuxcniapi.c:221: error: conflicting types for `CniGetMTUSize'
/home/jens/install/vpnclient/Cniapi.h:417: error: previous declaration of `CniGetMTUSize'
/home/jens/install/vpnclient/linuxcniapi.c:279: error: conflicting types for `CniInjectReceive'
/home/jens/install/vpnclient/Cniapi.h:432: error: previous declaration of `CniInjectReceive'
/home/jens/install/vpnclient/linuxcniapi.c:385: error: conflicting types for `CniInjectSend'
/home/jens/install/vpnclient/Cniapi.h:438: error: previous declaration of `CniInjectSend'
make[2]: *** [/home/jens/install/vpnclient/linuxcniapi.o] Fehler 1
make[1]: *** [/home/jens/install/vpnclient] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.4-54.5'
make: *** [default] Fehler 2
Failed to make module "cisco_ipsec.ko".
gcc --version
gcc (GCC) 3.3.3 (SuSE Linux)
05-15-2004 07:14 PM
In the vpnclient directory there should be a file called "vpn_install". Did you execute that file or try to compile it manually? This script will setup the directory structure and start the compile.
./vpn_install as root
-Micah-
05-16-2004 11:15 AM
Same problem here. Also SuSE Linux 9.1. And yes this error occours with the ./vpn_install.
Testes on the newest mandrake distribution, running fine. This must be a SuSE failure, but have anyone a workaround?
05-28-2004 11:53 AM
Thanks to Cisco. It's fixed in 4.0.4.B
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide