Re: "couldn't find the kernel version the module was compiled for" - help!

From: Keith Owens (kaos@ocs.com.au)
Date: Tue Nov 14 2000 - 18:41:42 EST


On Tue, 14 Nov 2000 17:35:37 -0600,
Timur Tabi <ttabi@interactivesi.com> wrote:
>Ok, I made this change:
>
>#ifndef __ENTRY_C__
>#define __NO_VERSION__
>#endif
>#include <linux/version.h>
>
>and in entry.c:
>
>#define __ENTRY_C__
>#include "include.h"
>
>Unfortunately, it still doesn't work.

__NO_VERSION__ must be defined before #include <module.h>. Do it by hand.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:27 EST