mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* "no version for struct_module: found" error
@ 2005-06-22  1:04 Anil kumar
  2005-06-22  4:07 ` randy_dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Anil kumar @ 2005-06-22  1:04 UTC (permalink / raw)
  To: linux-kernel

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?
How to get rid of this?
I checked the module.c under kernel dir, I guess I am
getting this error for 
if(!(tainted & TAINTED_FORCED_MODULE)...


with regards,
   Anil


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: "no version for struct_module: found" error
  2005-06-22  1:04 "no version for struct_module: found" error Anil kumar
@ 2005-06-22  4:07 ` randy_dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: randy_dunlap @ 2005-06-22  4:07 UTC (permalink / raw)
  To: Anil kumar; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-22  4:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-22  1:04 "no version for struct_module: found" error Anil kumar
2005-06-22  4:07 ` randy_dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®