Hi,
10.4.9
I have adapted the tcplognke sample to my needs and it works file
All the sources are c.
I needed to change one source from c to cpp and a strange phenomena occurred.
================
kld(): Undefined symbols:
__Z12ctl_registerP12kern_ctl_regPPv
__Z14ctl_deregisterPv
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/
==================
Can I not call ctl_register from a C++ source?
Thanks, 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