ADC Home > Reference Library > Technical Q&As > Legacy Documents > Darwin >

Legacy Documentclose button

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:

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]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.