non riesco ad installare il client vpn Cisco ed ottengo un errore in fase di compilzione.
Questi i dettagli:
- client cisco vpnclient-linux-4.8.00.0490-k9
- kernel 2.6.24.5-smp
Lanciando l'installazione si ottiene un primo errore:
...Making module
make -C /lib/modules/2.6.24.5-smp/build SUBDIRS=/home/gcampol/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.24.5'
CC [M] /home/gcampol/vpnclient/linuxcniapi.o
/home/gcampol/vpnclient/linuxcniapi.c:12:26: error: linux/config.h: No such file or directory
In file included from /home/gcampol/vpnclient/Cniapi.h:15,
from /home/gcampol/vpnclient/linuxcniapi.c:27:
/home/gcampol/vpnclient/GenDefs.h:113: error: conflicting types for 'uintptr_t'
include/linux/types.h:40: error: previous declaration of 'uintptr_t' was here
/home/gcampol/vpnclient/linuxcniapi.c: In function 'CniInjectReceive':
/home/gcampol/vpnclient/linuxcniapi.c:297: error: implicit declaration of function 'skb_set_timestamp'
/home/gcampol/vpnclient/linuxcniapi.c:331: error: 'struct sk_buff' has no member named 'nh'
/home/gcampol/vpnclient/linuxcniapi.c:332: error: 'struct sk_buff' has no member named 'mac'
/home/gcampol/vpnclient/linuxcniapi.c: In function 'CniInjectSend':
/home/gcampol/vpnclient/linuxcniapi.c:454: error: 'struct sk_buff' has no member named 'mac'
/home/gcampol/vpnclient/linuxcniapi.c:455: error: 'struct sk_buff' has no member named 'nh'
/home/gcampol/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no member named 'h'
/home/gcampol/vpnclient/linuxcniapi.c:458: error: 'struct sk_buff' has no member named 'nh'
make[2]: *** [/home/gcampol/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/home/gcampol/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".
Forte di un vecchio problema sul kernel della Slack 12.0, ho scaricato ed installato una patch:
- vpnclient-linux-2.6.24-final.diff
- patch < vpnclient-linux-2.6.24-final.diff
Questo il risultato:
patching file GenDefs.h
patching file interceptor.c
Hunk #1 succeeded at 24 (offset -4 lines).
Hunk #3 FAILED at 111.
Hunk #4 succeeded at 123 (offset -23 lines).
Hunk #5 FAILED at 350.
Hunk #6 succeeded at 872 (offset -63 lines).
Hunk #7 succeeded at 954 (offset -23 lines).
2 out of 7 hunks FAILED -- saving rejects to file interceptor.c.rej
La patch sembrerebbe errata...
Se qualcuno si fosse gia' scontrato con questa disgrazia o sapesse indirizzarmi verso qualche articolo interessante, ne sarei ben felice.
Grazie
