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

From: Timur Tabi (ttabi@interactivesi.com)
Date: Tue Nov 14 2000 - 18:35:37 EST


** Reply to message from Keith Owens <kaos@ocs.com.au> on Wed, 15 Nov 2000
10:31:22 +1100

> "#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.

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.

I tried "insmod -f tdmcddk.sys", but that didn't help either.

-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please direct the reply to the mailing list only. Don't send another copy to me. - 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