On Fri, 19 Jan 2007 16:40:50 +0100, Jacob (=Jouk) Jansen wrote: > Hi all, > > I found the following problems compiling modules for vmware and cisco-vpn > for 2.6.19-1.2895.fc6 : > > 1) vmware uses somewhere CHECKSUM_HW. This used to be defined in > /usr/src/kernels/2.6.19-1.2895.fc6-i686/include/linux/skbuff.h. I had to add > "#define CHECKSUM_HW 1". > > 2) ciscovpn : in interceptor.c the function skb_checksum_help is called > with 2 arguments. This has been changed to 1. leaving out the second > argument did help. > > > > I do not like this at all. I like "backwards-compatibility" very very > much, so that you will not break "old" code. > > Jouk I entirely agree with you. Thanks for the note. It looks like vpn has incorporated the change regarding CHECKSUM_HW: +// With linux 2.6.19, they renamed CHECKSUM_HW to CHECKSUM_COMPLETE +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,19) + #define CHECKSUM_HW CHECKSUM_COMPLETE + #define SKB_CHECKSUM_HELP(a,b) skb_checksum_help((a)) +#else + #define SKB_CHECKSUM_HELP(a,b) skb_checksum_help((a),(b)) +#endif Hope vmware provides a fix so that we do not have to adjust the kernel file each time it is updated. Akemi