sk_buff

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".
Syndicate content

Recent blog posts

Adsense