Re: Kernel Locks
Re: Kernel Locks
- Subject: Re: Kernel Locks
- From: Quinn <email@hidden>
- Date: Wed, 15 Nov 2006 15:50:47 +0000
At 5:24 +0000 15/11/06, Nithin prakash wrote:
I m using MAC OS X 10.4 on PowerG5 machine.I wanted to use kernel
locks in one of my NKE.I have found the KPis in kern/locks.h
file.But when i used it, it is showing undefined symbols while
loading.I would like to know what is the library i have to link with
it inorder to make it work.
These are the undefined symbols i got.
lck_attr_alloc_init
lck_attr_free
lck_attr_setdefault
lck_mtx_lock
lck_mtx_unlock
These functions are exported by the libkern KPI. You need to add an
"com.apple.kpi.libkern" entry to your "OSBundleLibraries" dictionary
in your "Info.plist". See the following page for more information
about this. Specifically, look at the "KPIs and KEXT Dependencies in
Mac OS X v10.4 and Later" section.
<http://developer.apple.com/documentation/Darwin/Conceptual/KEXTConcept/KEXTConceptDependencies/kext_dependencies.html>
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Kernel Locks (From: Nithin prakash <email@hidden>) |