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