I’m attempting to debug a kernel extension for the first
time. I’m following the instructions in the “Debugging a Kernel Extension
With GDB” section of the “Kernel Extension Programming Topics”
document.
I’m debugging on version 10.6.3.
When I get to the “Create the symbol file” step, I
get the following errors:
iMac:~ lshoell$ sudo kextutil -s /test -n -arch i386 -k /Volumes/KernelDebugKit/mach_kernel
-e -r /Volumes/KernelDebugKit /test/SampleUSBAudioPlugin.kext
Password:
IOAudioFamily.kext - no dependency found for
com.apple.kext.OSvKernDSPLib.
IOAudioFamily.kext - no dependency found for
com.apple.kext.OSvKernDSPLib.
/test/ SampleUSBAudioPlugin.kext has problems:
Dependency Resolution Failures:
Indirect dependencies can't be resolved:
com.apple.iokit.IOAudioFamily
com.apple.driver.AppleUSBAudio
The above is from the sample USB audio plugin. I also get the
same errors on my USB audio plugin.
I’m not sure how to proceed. Can anyone give me some ideas
how to get past these errors so I can get into the debugger?
BTW,