The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* exported module symbols and warnings
@ 2006-10-16 18:35 Scott Baker
  2006-10-16 20:10 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Baker @ 2006-10-16 18:35 UTC (permalink / raw)
  To: linux-kernel

Hello,

I'm developing a pair of kernel modules. One module needs to export a
symbol that will be used by the second module. I'm doing this by using
EXPORT_SYMBOL(MySymbol) in the first module and declaring the symbol
as extern in the second module. It works fine.

However, there are a couple of warnings that I'm trying to clean up.
The first is when building the second module (the one that uses the
symbol). It is: "*** Warning: "MySymbol" [filename] undefined!"

The second warning occurs when insmod'ing the second module. It is:
"no version for "MySymbol" found: kernel tainted."

Can someone point me in the right direction? The modules are behaving
fine, but the warning messages are a bit unsightly.

I'm running RHEL4, kernel version 2.6.9-42.

Thanks,
Scott

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

end of thread, other threads:[~2006-10-16 20:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-16 18:35 exported module symbols and warnings Scott Baker
2006-10-16 20:10 ` Sam Ravnborg

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