Gentoo Archives: gentoo-user

From: Adrian Loetscher <a.loetscher@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Have another 2.6.14 problem: cisco-vpn client
Date: Sat, 12 Nov 2005 16:36:50
Message-Id: 437616F5.5060404@gmail.com
1 Hi,
2
3 I had the same problem and found a solution for this problem. In line
4 292 and line 432 of the file "linuxcniapi.c", I have replaced the
5 following text
6
7 do_gettimeofday(&skb->stamp);
8
9 whit the following code:
10
11 __net_timestamp((struct sk_buff *)skb);
12
13 I have found this solution in a patch for iptime here:
14 http://patchwork.netfilter.org/netfilter-devel/patch.pl?id=2988, but I don't really know, why
15 this solution works.
16
17 I have made available my solution under www.aloetscher.ch/patches/linuxcniapi.c.
18 I hope, this helps.
19
20 Regards, Adrian
21
22
23
24
25
26
27 W.Kenworthy schrieb:
28
29
30 >> Have another 2.6.14 problem. I am trying to build the cisco-vpn client
31 >> against this kernel and get the following errors below. Note that I am
32 >> using a portage overlay version here, but the error message is identical
33 >> no matter what version I am trying to build. Needless to say, it builds
34 >> fine with 2.6.13. I am wondering if this is a header problem (something
35 >> has moved in 2.6.14)
36 >>
37 >> BillK
38 >>
39 >
40 >
41 >>>>> >>> Unpacking source...
42 >>>>> >>> Unpacking vpnclient-linux-4.7.00.0640-k9.tar.gz
43 >>>>
44 >>>>
45 >> to /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work
46 >
47 >
48 >>>>> >>> Source unpacked.
49 >>>>
50 >>>>
51 >> make -C /lib/modules/2.6.14-gentoo/build
52 >> SUBDIRS=/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient
53 >> modules
54 >> make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo'
55 >> CC
56 >> [M] /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o
57 >> /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In function `CniInjectReceive':
58 >> /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:292: error: structure has no member named `stamp'
59 >> /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c: In function `CniInjectSend':
60 >> /var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.c:432: error: structure has no member named `stamp'
61 >> make[2]: ***
62 >> [/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient/linuxcniapi.o] Error 1
63 >> make[1]: ***
64 >> [_module_/var/tmp/portage/cisco-vpnclient-4.7.00.0640/work/vpnclient]
65 >> Error 2
66 >> make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo'
67 >> make: *** [default] Error 2
68 >>
69 >> !!! ERROR: net-misc/cisco-vpnclient-4.7.00.0640 failed.
70 >> !!! Function src_compile, Line 34, Exitcode 0
71 >> !!! Failed to make module 'cisco_ipsec'
72 >> !!! If you need support, post the topmost build error, NOT this status
73 >> message.
74 >>
75 >> bunyip linux # make xconfig
76 >>
77 >> --
78 >> gentoo-user@g.o mailing list
79 >
80 >
81 --
82 gentoo-user@g.o mailing list