current_thread() -> Undefined symbols NKE
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, I am working with NKE. I am in need of using current_thread() #include <kern/thread.h> thread_t mt_t = current_thread(); Compiling and linking of kext are OK, but loading fails as follows: (I tried from .c and .cpp to make sure it's not an extern "C" ) Please advise. Cheers, Erez _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... + kextload /tmp/tcplognke.kext kld(): Undefined symbols: _current_thread kextload: kld_load_from_memory() failed for module /tmp/ tcplognke.kext/Contents/MacOS/tcplognke kextload: a link/load error occured for kernel extension /tmp/ tcplognke.kext load failed for extension /tmp/tcplognke.kext This email sent to site_archiver@lists.apple.com
participants (1)
-
Erez Kaplan