kext - calling ctl_register - from cpp - Undefined symbols
kext - calling ctl_register - from cpp - Undefined symbols
- Subject: kext - calling ctl_register - from cpp - Undefined symbols
- From: "Erez Kaplan" <email@hidden>
- Date: Wed, 30 May 2007 10:47:09 +0200
- Thread-topic: kext - calling ctl_register - from cpp - Undefined symbols
Title: kext - calling ctl_register - from cpp - Undefined symbols
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