current_thread() -> Undefined symbols NKE
current_thread() -> Undefined symbols NKE
- Subject: current_thread() -> Undefined symbols NKE
- From: Erez Kaplan <email@hidden>
- Date: Mon, 23 Jul 2007 13:25:58 +0300
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" )
+ 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
Please advise.
Cheers, Erez
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden