Linux kernel 2.6.12 module dependency issues

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

 



Hi,

I have two modules (for kernel 2.6.12), let's say A
and B; module A needs module B to be loaded, and uses
API definitions available in B. Since I don't know how
to specify this in the Makefile, I am getting compile
time warnings like:

>>>>
  Building modules, stage 2.
  MODPOST
*** Warning: "blahblahblah" [/path/to/module/B.ko]
undefined!
<<<<

How do I alter my module-A makefile so as to get rid
of this error?

This may or not may not be trivial to specify since
module "B" which comes from a vendor has a
non-standard way of loading; just doing "insmod
module-b.ko" or "modprobe module-b.ko" doesn't work;
it has to be invoked from a script which does some
homework prior to that.

Regards,
Rock


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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