Re: How to export symbols?

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 12 Nov 2002 15:25:21 -0700
Liberty Young <liberty@embeddedx86.com> wrote:

>I  thought simply  by adding  the  driver to  export-objs and  adding
>EXPORT_SYMBOL( foo );
>that foo  would then  be available other  drivers, both  loadable and
>static. Yet  a 'grep  foo /proc/ksyms' shows  nothing, and  my kernel
>module fails to load as it can't find symbol foo.  What am i missing?
>Is there an include file I need to put in?

You  just  need  to  include  module.h and  then  remember  to  define
EXPORT_SYMTAB and your problem should disappear.

Regards,

Angelo Dell'Aera 'buffer' 
<buffer@users.sourceforge.net>

PGP information in e-mail header


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE90v4cpONIzxnBXKIRAsRdAKCcLHmV6BAgVMU1ti59AbUt3KTIFwCfS5Qs
Q/QmOqnUbsNthUOt/4gLV+0=
=kd1c
-----END PGP SIGNATURE-----
--
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