SYSCTL
SYSCTL
- Subject: SYSCTL
- From: Matt Jaffa <email@hidden>
- Date: Sat, 7 Feb 2004 01:04:32 -0700
Hi,
I am trying to create my own SYSCTL_NODE and SYSCTL_STRUCT,
so that I can communicate with my KEXT from userland.
But after doing these lines, it compiles fine,
SYSCTL_DECL(_jaffa);
SYSCTL_NODE(, OID_AUTO, _jaffa, CTLFLAG_RW, 0, "Jaffa");
struct sysctl_oid_list sysctlr__jaffa_children;
SYSCTL_STRUCT(_jaffa, OID_AUTO, ttttt, CTLFLAG_RW, &so, socket, "dfdf");
but when I try to load the KEXT it throws this error:
kextload: extension /System/Library/Extensions/EtherView.kext appears
to be valid
kld(): Undefined symbols:
_sysctl__jaffa_children
kextload: kld_load_from_memory() failed for module
/System/Library/Extensions/EtherView.kext/Contents/MacOS/EtherView
kextload: a link/load error occured for kernel extension
/System/Library/Extensions/EtherView.kext
load failed for extension /System/Library/Extensions/EtherView.kext
(run kextload with -t for diagnostic output)
Am I going about the right way to get this information to my KEXT, and
if so how do i fix this loading problem?
Thanks,
Matt
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.