compiler error in simple module

Hanumant Singh hanumant07 at
Tue Jan 11 01:02:34 EST 2011


   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?

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list