Can't compile Cisco vpn client on latest FC4 kernel

Jörn Rink j.rink at freenet.de
Tue Apr 4 07:40:20 UTC 2006


Am Tue, 04 Apr 2006 07:44:42 +0200
hat André Fettouhi <Andre.Fettouhi at exp2.physik.uni-giessen.de> (André
Fettouhi) folgendes geschrieben:

> I'm trying to compile the Cisco vpn client v. 4.8.00.0490-k9 on my
> FC4 box with the latest kernel (2.6.16-1.2069_FC4). When I try to 
> install/compile I get this error message
> 

Hi,
i have Fedora Core 5 here, but i use the vpnclient since Fedora core 1.
Here, it compiles well:

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]

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.16-1.2080_FC5/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in
"/lib/modules/2.6.16-1.2080_FC5/CiscoVPN".
* The VPN service will be started AUTOMATICALLY at boot time.
* Kernel source from "/lib/modules/2.6.16-1.2080_FC5/build" will be
used to build the module.

Is the above correct [y]

Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is
not running. Stopped: /etc/init.d/vpnclient_init (VPN init script)
Making module
make -C /lib/modules/2.6.16-1.2080_FC5/build
SUBDIRS=/usr/local/src/vpnclient-4.8.00.490-k9 modules make[1]:
Entering directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686' CC
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/linuxcniapi.o CC
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/frag.o CC
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/IPSecDrvOS_linux.o CC
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.o /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c:
In Funktion
»handle_vpnup«: /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c:310:
Warnung: Zuweisung von inkompatiblem
Zeigertyp /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c:334:
Warnung: Zuweisung von inkompatiblem
Zeigertyp /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c:335:
Warnung: Zuweisung von inkompatiblem
Zeigertyp /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c: In
Funktion
»do_cleanup«: /usr/local/src/vpnclient-4.8.00.490-k9/interceptor.c:378:
Warnung: Zuweisung von inkompatiblem Zeigertyp CC
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/linuxkernelapi.o LD
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/cisco_ipsec.o Building
modules, stage 2. MODPOST Warning: could not
find /usr/local/src/vpnclient-4.8.00.490-k9/.libdriver.so.cmd
for /usr/local/src/vpnclient-4.8.00.490-k9/libdriver.so
CC      /usr/local/src/vpnclient-4.8.00.490-k9/cisco_ipsec.mod.o LD
[M]  /usr/local/src/vpnclient-4.8.00.490-k9/cisco_ipsec.ko make[1]:
Leaving directory `/usr/src/kernels/2.6.16-1.2080_FC5-i686' Create
module directory "/lib/modules/2.6.16-1.2080_FC5/CiscoVPN". Copying
module to directory "/lib/modules/2.6.16-1.2080_FC5/CiscoVPN". Already
have group 'bin'

Creating start/stop script "/etc/init.d/vpnclient_init".
    /etc/init.d/vpnclient_init
Enabling start/stop script for run level 3,4 and 5.

Installing license.txt (VPN Client license) in "/opt/cisco-vpnclient/":

Installing bundled user profiles in
"/etc/opt/cisco-vpnclient/Profiles/":
* Replaced Profiles: sample

Copying binaries to directory "/opt/cisco-vpnclient/bin".
Adding symlinks to "/usr/local/bin".
    /opt/cisco-vpnclient/bin/vpnclient
    /opt/cisco-vpnclient/bin/cisco_cert_mgr
    /opt/cisco-vpnclient/bin/ipseclog
Copying setuid binaries to directory "/opt/cisco-vpnclient/bin".
    /opt/cisco-vpnclient/bin/cvpnd
Copying libraries to directory "/opt/cisco-vpnclient/lib".
    /opt/cisco-vpnclient/lib/libvpnapi.so
Copying header files to directory "/opt/cisco-vpnclient/include".
    /opt/cisco-vpnclient/include/vpnapi.h

Setting permissions.
    /opt/cisco-vpnclient/bin/cvpnd (setuid root)
    /opt/cisco-vpnclient (group bin readable)
    /etc/opt/cisco-vpnclient (permissions not changed)
* You may wish to change these permissions to restrict access to root.
* You must run "/etc/init.d/vpnclient_init start" before using the
client.
* This script will be run AUTOMATICALLY every time you reboot your
computer.


So, have you installed all the devel packages needed?

By the way, interesting signature ;-)

CU

Joern Rink




More information about the fedora-list mailing list