published by flevour on Wed, 09/01/2008 - 21:12
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
Anonymous (not verified)
Fri, 04/04/2008 - 17:32
Permalink
Boooo!!!
flevour
Fri, 11/04/2008 - 11:11
Permalink
La vita è fatta a scale,
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…
Anonymous (not verified)
Thu, 18/09/2008 - 18:23
Permalink
I have taken your tips and I
I have taken your tips and I was able to compile Cisco vpnclient.
Anonymous (not verified)
Sat, 06/12/2008 - 18:36
Permalink
Thanks Buddy
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,