[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help Needed in accessing symbols



Hi,
 
I need some help in accessing symbols exported from
other module.
 
One of my modules defines a variable ( say X) and by
default it is 
exported > this is also visible in ksyms output.
 
But when I try to access it from another module and
try to print its 
address It always returns zero and hence any access to
it crashes the 
system stating null pointer reference
 
I am not able to figure what is going wrong.
 
Is it because I am not explicitly exporting the
symbols
 
Help needed.
 
Regds,
 
Abhinav


=====

from the desk of:Abhinav Bharti

 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/