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:31:22 EST


On Tue, 14 Nov 2000 15:58:38 -0600,
Timur Tabi <ttabi@interactivesi.com> wrote:
>First, I had a bunch of link errors on the redifintion of
>__module_kernel_version. To fix that, someone told me to do this:
>
>#define __NO_VERSION__
>#include <linux/version.h>

"#define __NO_VERSION__" must be in all but one of the sources that
also include module.h. It suppresses the module_version string in
module.h so it only make sense if the code includes module.h. But
exactly one of the objects in a module must have a module_version
string.

-
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