Thanks, that did it.
I followed the examples carefully and never encountered kpi
libraries in the docs.
On 18-May-05, at 4:01 PM, Godfrey van der Linden wrote:
You need to add
<key>com.apple.kpi.libkern</key>
<string>8.0</string>
To your Info plist in you xcode project.
Cheers
Godfrey
On 05/18/2005, at 11:11 , Anthony Malizia wrote:
Yes, I am using Tiger.
Sorry for being such a newbie, but what do you mean by compatibility libs?
What should I be using as libs?
Can I make my own assert that calls panic? What do I need to make
that work.
I am a little discouraged with myself, I can't even get a kext
with assert(0) to work.
Thanks,
Anthony
On 18-May-05, at 1:59 PM, Jim Wintermyre wrote:
Are you running in Tiger? I had a similar problem where I
couldn't link to _Assert when running in Tiger. It used to work
fine in earlier systems. I *think* that this may be defined in
libkern for Tiger, but not if you're using the older
compatibility libs like you are. You might have to do Tiger and
pre-Tiger specific builds. In my case I just stopped using
_Assert.
Jim
At 1:31 PM -0400 5/18/05, Anthony Malizia wrote:
I have looked everywhere. I still can't find who exports the _Assert?
Is no one using IOKit/assert.h?
On 17-May-05, at 2:11 PM, Anthony Malizia wrote:
Ok, I defined MACH_ASSERT in my project, but now my kext doesn't load.
undefined symbol _Assert
What library (and version) is this in?
I already have these in my info.plist:
com.apple.iokit.IOPCIFamily 1.4
com.apple.kernel.iokit 6.9.9
com.apple.kernel.libkern 6.9.9
com.apple.kernel.mach 6.9.9
On 16-May-05, at 11:23 AM, Anthony Malizia wrote:
Hello developers,
I am trying to find some info on helpful kernel debug macros.
I found "assert" in <IOKit/assert.h> , but it doesn't seem to
do anything; probably because MACH_ASSERT in <kern/assert.h>
is not defined.
What is the proper way of using this marco? Do I just define
MACH_ASSERT in my project settings?
Is there a pre-defined DEBUG symbol? Or do I have to add this
to my "development" profile in Xcode?
Thanks,
Anthony
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden
This email sent to email@hidden