"implicit declaration of <some function>" error

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Fri Jul 19 09:57:01 EDT 2013


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 include/ arch/FOO/include/ -type f | ....

for an appropriate value of FOO (usually x86 or arm, unless you're on a
powerpc or a sparc or one of the 23 other archs.. ;)

Won't  ake a difference for the specific case of kthread_run, but
you're not going to find something like vdso.h under include/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130719/b96cbc7c/attachment.bin 


More information about the Kernelnewbies mailing list