Re: 2.6.x kernels - use of exported symbols/functions

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

 



<threadhead@web.de> writes:

> hello list,
>
> i am using the 2.6 kernel series and would like to make use exported functions
> that are listed in /proc/kallsyms.
>
> simply using a LKM and call a function listed there results in
> 'implicit declaration of ...'.

That means that the compiler found a use of the function before you
declared it.  Prototypes declare functions.  You can put the
prototypes into your .c file or include a kernel header file that has
the prototype for the function you're using.

> how is it possible to make use of exported functions/symbols in
> 2.6.x kernels?

-- 
--Ed L Cashin            |   PGP public key:
  ecashin@uga.edu        |   http://noserose.net/e/pgp/


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