ADC Home > Reference Library > Technical Q&As > Legacy Documents > Darwin >
Legacy Document
Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
Technical Q&A QA1097
Adding dependencies with kmodload
|
Q:
When using kmodload , why do I get a "Can't find superclass"
error?
A: You may see an error similar to Listing 1 if your KEXT uses
classes from other I/O Kit families.
kmodload: Can't find superclass for _13AppleUSBMouse : _12IOHIPointing
|
Listing 1. kmodload error
|
This error can be eliminated by specifying your dependencies using the
-d option. For example...
kmodload -o AppleUSBMouse.sym -d IOHIDSystem.kext/Contents/MacOS/IOHIDSystem
|
If you depend on more than one I/O Kit family, use multiple -d
arguments, one for each family. Remember, you should only use kmodload
when creating symbol files for use with 2-machine debugging. Otherwise,
use kextload .
[Dec 05 2001]
|
We’re sorry, an error has occurred.
Please try submitting your feedback later.
Thank you for providing feedback!
Your input helps improve our developer documentation.