cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
733
Views
0
Helpful
2
Replies

VPN Client compile error on Fedora FC6 x86_64

markus-schulze
Level 1
Level 1

When I try to install the VPN Client on FC6, I get following errors:

Cisco Systems VPN Client Version 4.8.00 (0490) Linux Installer

...

In order to build the VPN kernel module, you must have the

kernel headers for the version of the kernel you are running.

...

Making module

make -C /lib/modules/2.6.19-1.2911.6.5.fc6/build SUBDIRS=/space/home/schulze/installquellen/Cisco/vpn/vpnclient modules

make[1]: Entering directory `/usr/src/kernels/2.6.19-1.2911.6.5.fc6-x86_64'

CC [M] /space/home/schulze/installquellen/Cisco/vpn/vpnclient/linuxcniapi.o

In Datei, eingef?gt von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/Cniapi.h:15,

von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/linuxcniapi.c:27:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/GenDefs.h:110:2: Warnung: #warning 64 bit

CC [M] /space/home/schulze/installquellen/Cisco/vpn/vpnclient/frag.o

In Datei, eingef?gt von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/Cniapi.h:15,

von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/frag.c:16:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/GenDefs.h:110:2: Warnung: #warning 64 bit

CC [M] /space/home/schulze/installquellen/Cisco/vpn/vpnclient/IPSecDrvOS_linux.o

In Datei, eingef?gt von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/IPSecDrvOS_linux.c:20:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/GenDefs.h:110:2: Warnung: #warning 64 bit

CC [M] /space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.o

In Datei, eingef?gt von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/Cniapi.h:15,

von /space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:30:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/GenDefs.h:110:2: Warnung: #warning 64 bit

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c: In Funktion ?handle_vpnup?:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:310: Warnung: Zuweisung von inkompatiblem Zeigertyp

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:334: Warnung: Zuweisung von inkompatiblem Zeigertyp

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:335: Warnung: Zuweisung von inkompatiblem Zeigertyp

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c: In Funktion ?do_cleanup?:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:378: Warnung: Zuweisung von inkompatiblem Zeigertyp

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c: In Funktion ?recv_ip_packet_handler?:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:553: Fehler: ?CHECKSUM_HW? nicht deklariert (erste Benutzung in dieser Funktion)

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:553: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgef?hrt

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:553: Fehler: f?r jede Funktion in der er auftritt.)

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:557: Fehler: zu viele Argumente f?r Funktion ?skb_checksum_help?

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c: In Funktion ?do_cni_send?:

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:680: Fehler: ?CHECKSUM_HW? nicht deklariert (erste Benutzung in dieser Funktion)

/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.c:683: Fehler: zu viele Argumente f?r Funktion ?skb_checksum_help?

make[2]: *** [/space/home/schulze/installquellen/Cisco/vpn/vpnclient/interceptor.o] Fehler 1

make[1]: *** [_module_/space/home/schulze/installquellen/Cisco/vpn/vpnclient] Fehler 2

make[1]: Leaving directory `/usr/src/kernels/2.6.19-1.2911.6.5.fc6-x86_64'

make: *** [default] Fehler 2

Failed to make module "cisco_ipsec.ko".

Are there any advices ?

1 Accepted Solution

Accepted Solutions

smalkeric
Level 6
Level 6

There could be various reasons for such a problem:

1) You are missing the kernel source package, which could be checked by running command "rpm -qa | grep kernel". If it is not installed, please grab it from your CD or your favorite Fedora FTP mirror.

2) You could be hitting the bug CSCsc39924. For which the workaround is as follows

In file linuxcniapi.c in the install package, REPLACE THE LINE (2 occurrences):

do_gettimeofday(&skb->stamp);

WITH THE FOLLOWING LINES:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)

{

struct timeval timestamp;

do_gettimeofday(?tamp);

skb_set_timestamp(skb,?tamp);

}

#else

do_gettimeofday(&skb->stamp);

#endif

AND THEN RUN "vpn_install" AGAIN.

The following links may help you

http://blog.360.yahoo.com/blog-.WURHFYwdq8.zfEosWC6j8jQ?p=55

http://www.fedoraforum.org/forum/printthread.php?s=938da17f7e7ac49f82b84e65f8d50596&t=106929&page=5&pp=15

View solution in original post

2 Replies 2

smalkeric
Level 6
Level 6

There could be various reasons for such a problem:

1) You are missing the kernel source package, which could be checked by running command "rpm -qa | grep kernel". If it is not installed, please grab it from your CD or your favorite Fedora FTP mirror.

2) You could be hitting the bug CSCsc39924. For which the workaround is as follows

In file linuxcniapi.c in the install package, REPLACE THE LINE (2 occurrences):

do_gettimeofday(&skb->stamp);

WITH THE FOLLOWING LINES:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)

{

struct timeval timestamp;

do_gettimeofday(?tamp);

skb_set_timestamp(skb,?tamp);

}

#else

do_gettimeofday(&skb->stamp);

#endif

AND THEN RUN "vpn_install" AGAIN.

The following links may help you

http://blog.360.yahoo.com/blog-.WURHFYwdq8.zfEosWC6j8jQ?p=55

http://www.fedoraforum.org/forum/printthread.php?s=938da17f7e7ac49f82b84e65f8d50596&t=106929&page=5&pp=15

Thats it !!!

Following your hints solved my problem.

Thank you very much

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: