Re: Question of kernel module dependency

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

 



On Wed, 2006-11-22 at 12:13 -0500, Jeongki Min wrote:
> Hi,
> 
> 
> I'm making two modules.
> 
> Those modules are dependent on each other.
> 
> I mean, for example, module A uses module B's function, and module B
> also uses modules A's function.
> 
> Because of that, using "insmod" I cannot load one of them at all. 
> 
> Every time when I try to load one of them, there is error message to
> load the other one first.
> 
> Is there any method I can load both together?
> 
> Because this is first time on kernel module programming, I have no
> idea how to do it. 
> 
> I'd really appreciate it if you share any idea for me.
> 
> 
> Thanks,
> JK

I'm not sure how to do it, but this seems like a very strange
programming model.  Why would you make two separate modules if they are
dependent on each other?  Why not just make one module?

Avishay Traeger
http://www.fsl.cs.sunysb.edu/~avishay/


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