Compiler error: implicit declaration of function 'find_task_by_vpid'

view story

http://stackoverflow.com – if(find_task_by_vpid(pid)) { myProcess = kmalloc(sizeof(find_task_by_vpid(pid)), GFP_KERNEL); myProcess = find_task_by_vpid(pid); } I've included sched.h where this method is declared, but am getting the following errors: (on the first line) warning: implicit declaration of function 'find_task_by_vpid' (on the last line) warning:assignment makes pointer from integer without a cast Presumably the issues are related, but I can't figure out what the matter is. Running Ubuntu (6.06.2) linux kernel version (HowTos)