Re: Help Needed in accessing symbols

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

 



What do you mean by default it is exported? I got my 
symbol accessible by another module by explicitly exporting
it. Perhaps you should try that too?

<quote sender="Abhinav Bharti">
> 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/
> 
> 

-- 
Eugene TEO   <eugeneteo@despammed.com>   <http://www.anomalistic.org/>
1024D/14A0DDE5 print D851 4574 E357 469C D308  A01E 7321 A38A 14A0 DDE5
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux