On Wednesday 30 July 2003 19:54, Andrew McGuinness wrote: [...] > The cause of the errors was that linux/version.h was being included > from a 2.2 kernel, but linux/netdevice.h was being include from a > 2.4 kernel.
Thanks Andrew. We _may_ be getting somewhere. I have two version.h files: /usr/src/kernel-headers-2.4.18-bf2.4/include/linux/version.h /usr/src/kernel-headers-2.4.18-bf2.4/include/pcmcia/version.h diff says: 1,3c1,4 < #define UTS_RELEASE "2.4.18-bf2.4" < #define LINUX_VERSION_CODE 132114 < #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) --- > /* version.h 1.94 2000/10/03 17:55:48 (David Hinds) */ > > #define CS_RELEASE "3.1.22" > #define CS_RELEASE_CODE 0x3116 Should I rename one of them for the compile? or symlink one location to the other having renamed the unwanted one? I have only one netdevice.h: /usr/src/kernel-headers-2.4.18-bf2.4/include/linux/netdevice.h Does that make sense? > > You said you installed kernel-headers-2.4.18-bf2.4 and symlinked it > to /usr/src/linux, and that might fix the compile. It didn't :-( > Make sure you do a "make clean" before you try again. I have a complete fresh install! -- richard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]