Hi,

I had the same problem and found a solution for this problem. In line
292 and line 432 of the file "linuxcniapi.c", I have replaced the
following text

   do_gettimeofday(&skb->stamp);

whit the following code:

   __net_timestamp((struct sk_buff *)skb);

I have found this solution in a patch for iptime here:
http://patchwork.netfilter.org/netfilter-devel/patch.pl?id=2988, but I don't 
really know, why
this solution works.

I have made available my solution under www.aloetscher.ch/patches/linuxcniapi.c.
I hope, this helps.

Regards, Adrian






W.Kenworthy schrieb:


Have another 2.6.14 problem.  I am trying to build the cisco-vpn client
against this kernel and get the following errors below.  Note that I am
using a portage overlay version here, but the error message is identical
no matter what version I am trying to build.  Needless to say, it builds
fine with 2.6.13.  I am wondering if this is a header problem (something
has moved in 2.6.14)

BillK

>>> Unpacking source...
>>> Unpacking vpnclient-linux-4.7.00.0640-k9.tar.gz
to /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work
>>> Source unpacked.
make -C /lib/modules/2.6.14-gentoo/build
SUBDIRS=/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient
modules
make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo'
  CC
[M]  /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectReceive':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:292: 
error: structure has no member named `stamp'
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In 
function `CniInjectSend':
/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:432: 
error: structure has no member named `stamp'
make[2]: ***
[/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o] 
Error 1
make[1]: ***
[_module_/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient]
Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo'
make: *** [default] Error 2

!!! ERROR: net-misc/cisco-vpnclient-4.7.00.0640 failed.
!!! Function src_compile, Line 34, Exitcode 0
!!! Failed to make module 'cisco_ipsec'
!!! If you need support, post the topmost build error, NOT this status
message.

bunyip linux # make xconfig

--
gentoo-user@gentoo.org mailing list
--
gentoo-user@gentoo.org mailing list

Reply via email to