Re: Linux 2.6 Modules

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

 



Knowledge Seeker wrote:
1. When I compile module b, which uses symbols from module a (both are my modules), it says

*** Warning: "abc_cache" [/kernel/modb/modb.ko] undefined!

where "abc_cache" is comming from module a and module b can see its
prototype. How can I get rid of this warning. [both modules loads fine]

in module a do:
EXPORT_SYMBOL(abc_cache);

hth,
hinko

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