compiler error in simple module
From: Manish Katiyar <hidden>
Date: 2011-01-11 06:13:04
From: Manish Katiyar <hidden>
Date: 2011-01-11 06:13:04
On Mon, Jan 10, 2011 at 10:02 PM, Hanumant Singh [off-list ref] 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 ==================================