lkml.org 
[lkml]   [2004]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion about module and undeinfed symbols.
Hello,

I have a problem of undefined symbol, that prevents me from loading
the module I wrote.

The function that is "undifined", is actually defined within the
kernel code, and I wanted it to be exported with "export_symbol"
macro. After re-compiling, the variable is actually presents in
/proc/kallsyms. (but with type == 't' -> section text, but not
global according to proc file..)

if I tried to compile a module using this variable, i got a warning
"undefined symbol", and for this reason, the module refuses to be
loaded with "insmod".

What I dont understand is the following:
The fonction printk, is also undifened and exported with the same
macro "export_symbol". but compilation doesnt complain about it!!

Am I missing a step somewhere?!
Thanks for any help,

sylvain
-
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-03-22 14:08    [W:0.059 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site