-
Notifications
You must be signed in to change notification settings - Fork 11
kernel_thread is missing #4
Description
Several times error comes up in attempting to compile after exporting the build_... folder.
WARNING: "kernel_thread" [/home/david/github/ndas4linux/3.7-rc5/build_x86_64_linux/ndas-3.7.0.x86_64.dbg/ndas_sal.ko] undefined!
Invoking make against the kernel at /lib/modules/3.7.0-0.rc5.git1.3.fc19.x86_64/build
grep for the location shows
[fedora-tmp ndas-3.7.0.x86_64.dbg]$ grep kernel_thread ./ -rn Binary file ./sal/thread.o matches ./sal/thread.c:34:#include <linux/sched.h> // kernel_thread ./sal/thread.c:51: if ((ret = kernel_thread((int (*)(void*))f, (void *)arg, flags)) < 0) { Binary file ./ndas_sal.ko matches Binary file ./ndas_sal.o matches [fedora-tmp ndas-3.7.0.x86_64.dbg]$
So we should look to find what happened to kernel_thread in linux/sched.h