Cisco vpnclient compiles!

All problems (such as the one found below) when compiling Cisco vpnclient on Ubuntu should go away when using version “4.8.01.0640-k9”. Fear not even there is a mention about 64bit version in the name, the tar is packed in biarch mode.
See this link for little further details.
(Obviously you find such links after wasting at least 5 hours trying other solutions).
Thanks to this post on comp.dcom.sys.cisco for saving me more hours.

make -C /lib/modules/2.6.22-14-386/build SUBDIRS=/root/vpnclient modules
make[1]: Entering directory /usr/src/linux-headers-2.6.22-14-386'
  CC [M]  /root/vpnclient/linuxcniapi.o
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/vpnclient/linuxcniapi.c:299: warning: implicit declaration of function ‘skb_set_timestamp’
/root/vpnclient/linuxcniapi.c:333: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:334: error: ‘struct sk_buff’ has no member named ‘mac’
/root/vpnclient/linuxcniapi.c:279: warning: unused variable ‘timecount’
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/root/vpnclient/linuxcniapi.c:458: error: ‘struct sk_buff’ has no member named ‘mac’
/root/vpnclient/linuxcniapi.c:459: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:462: error: ‘struct sk_buff’ has no member named ‘h’
/root/vpnclient/linuxcniapi.c:462: error: ‘struct sk_buff’ has no member named ‘nh’
/root/vpnclient/linuxcniapi.c:403: warning: unused variable ‘timecount’
make[2]: *** [/root/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/root/vpnclient] Error 2
make[1]: Leaving directory/usr/src/linux-headers-2.6.22-14-386'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Comments

Ma da quanto non lo aggiorni ‘sto blog?? Almeno eliminalo definitivamente e lascia una bella pagina con la tua Bio/CV, chè mi fa pietà vedere sempre lo stesso post da mesi! Vuoi mettere l’eleganza di http://www.blextar.net ?? ;p

La vita è fatta a scale, c‘è chi scende e c‘è chi sale, e chi rimane un po’ fermo come me :)
Tengo sù la baracca perchè ha un buon PageRank e per motivi storico-nerdico-affettivi…

I have taken your tips and I was able to compile Cisco vpnclient.

Hey friend, I too had some issues related to this with Cisco vpnclient, Now I have got the solutions with the help of your links & this post, Thanks a lot,

Cheers,
Glen,