Re: Unknown symbol in module - solution

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

 



On Mon, 2004-04-26 at 18:33, Guillaume Thouvenin wrote:
> Selon Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca>:
> 
> > Selon Guillaume Thouvenin <guillaume.thouvenin@polymtl.ca>:
> >  
> > > When I try to load it, I have the following errorinsmod: 
> > > error inserting '/home/guill/build/k265-elsa/kernel/elsa_acct.ko': -1
> > > Unknown
> > > symbol in module:
> 
> It seems that functions used by the module must be exported where they are
> defined. I don't know if it's the good way to do that but it works... So my
> question is: If we use a kernel function in a module, is this function must be
> declare with EXPORT_SYMBOL?

Yes, you need to... :)

> 
> Thanks 
> Guillaume 

Regards,
Shine Mohamed Jabbar


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