Re: implicit declaration of some function error

2013-07-19 Thread Srinivas Ganji
19, 2013 at 3:38 PM, Ritesh Ranjan r.ranjan...@gmail.comwrote: I keep getting implicit declaration of some function error quite often. So I'm assuming I am not adding the correct header files when I am writing the module. eg. I wanted to create a kernel thread using ktheard_create

Re: implicit declaration of some function error

2013-07-19 Thread Mandeep Sandhu
On Fri, Jul 19, 2013 at 3:38 PM, Ritesh Ranjan r.ranjan...@gmail.comwrote: I keep getting implicit declaration of some function error quite often. So I'm assuming I am not adding the correct header files when I am writing the module. eg. I wanted to create a kernel thread using

Re: implicit declaration of some function error

2013-07-19 Thread Valdis . Kletnieks
On Fri, 19 Jul 2013 16:49:13 +0530, Srinivas Ganji said: This is ONLY a hint for finding the header files in the /usr/src/linux directory. I do generally like this. find include -type f | xargs grep kthread_run Remember that there's arch-dependent headers as well. You may want this: find