Re: FW: how to solve intermodule dependencies

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

 



On Wed, Jun 30, 2010 at 15:34, devendra dev <devendra.aaru@xxxxxxxxxxx> wrote:
> hi to all
> this is dev
> i had a module called module1 which calls the function which is exported by
> another module called module2 and the module2 calls a function which is
> exported by module1. When i perform insmod module1.ko and insmod module2.ko
> those are saying error:unknown symbol in module. do any one know answer pls
> suggest
> thanks
> dev.

So A depends on B and vice versa? wonder how modprobe and depmod will
act on that situation...

but anyway, have you declare the function name in each module as
"extern"? such as it originates in A, and in B you name "extern
blahblah"?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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