lkml.org 
[lkml]   [2005]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: "no version for struct_module: found" error
On Tue, 21 Jun 2005 18:04:32 -0700 (PDT) Anil kumar wrote:

| Hi,
|
| I am loading an non-gpl module. I am getting error:
| "no version for struct_module found":tainted kernel.
|
| Its for > 2.6.8 kernels.
|
| I know that I get tainted kernel error when its not
| GPL, but what does the error "no version for
| struct_module found" mean?

That the kernel was built with CONFIG_MODVERSIONS=y but the
module was built with CONFIG_MODVERSIONS=n (i.e., without
symbol versioning information).

| How to get rid of this?

Build the kernel and module with the same config options.

| I checked the module.c under kernel dir, I guess I am
| getting this error for
| if(!(tainted & TAINTED_FORCED_MODULE)...

Yes.

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

\
 
 \ /
  Last update: 2005-06-22 06:13    [W:0.035 / U:0.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site