compiler error in simple module
Manish Katiyar
mkatiyar at gmail.com
Tue Jan 11 01:13:04 EST 2011
On Mon, Jan 10, 2011 at 10:02 PM, Hanumant Singh <hanumant07 at gmail.com> wrote:
> Hi
> I am trying to write a simple module that sort of emulates the ps
> command. I am trying to get the comm string for the task, using
> get_task_comm, but the make command keeps telling me that the symbol
> get_task_comm is not defined. I have included linux/sched.h. This is the
> header file, which I believe has the prototype definition for the function.
> Am I missing something?
You can only use those symbols in your module which have been
explicitly exported using EXPORT_SYMBOL()
--
Thanks -
Manish
==================================
[$\*.^ -- I miss being one of them
==================================
More information about the Kernelnewbies
mailing list