cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
339
Views
0
Helpful
3
Replies

Linux VPN-Client on SuSE 9.1 does not compile

a.schreiber
Level 1
Level 1

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)

3 Replies 3

micah
Level 1
Level 1

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-

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?

Thanks to Cisco. It's fixed in 4.0.4.B

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: