Re: depmod:unresolved symbols

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

 



hi all,
these unresolved symbol which actually a  function
called croutiene() is because the routiene is
accessing  a  data structure declared in  in header
file
and actually has to fill up the value by other module
this i am knowing,
yes this is not possible but there is no alternative
way for intermodule communication.
--- prasanna wakhare <prasannawakhare@yahoo.com>
wrote:
> Hi,
> in a project directory i have two modules
> hook.c,
> hookmain.c
> and 
> common header file
> common.h for both modules,
> which defines (means common.h )
> asmlinkege void croutiene(),
> 
> hookmain.c has a line
> request_module("hook")
> which executes  this croutiene updates one queue,
> which is used by hookmain module
> 
> in /etc/modules.conf
> i had written
> keep
> path[misc]=/home/project
> but the error is after depmod
> unresolved symbol in hook.o
> unresolved symbol in hookmain.o
> why it is so?
> my question is can we share the data structue across
> modules this way?
> and if order of modules loading are neccessary,
> and i also i defined and declared one routiene
> in common.h,and invoking that routiene from both 
> the modules using pointers to that routiene,
> is it OK.
> 
> 
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html
> 
> --
> Kernelnewbies: Help each other learn about the Linux
> kernel.
> Archive:      
> http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html

--
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