Re: kextload error: "kld(): Undefined symbols: __ZN11IOUSBDevice9metaClassE"
Re: kextload error: "kld(): Undefined symbols: __ZN11IOUSBDevice9metaClassE"
- Subject: Re: kextload error: "kld(): Undefined symbols: __ZN11IOUSBDevice9metaClassE"
- From: Dean Reece <email@hidden>
- Date: Tue, 14 Dec 2004 14:51:05 -0800
Did you change the OSBundleLibraries in you Info.plist to include the
USB family? That property is used to determine which kexts your kext
must link against. The HelloIOKit example does not need the USB
family, so it isn't listed as a dependency.
Cheers,
- Dean
On Dec 14, 2004, at 2:39 PM, Brian Jorgage wrote:
Attempting to kextload a driver when the above error (see subject
line) occurs. Driver consists of the basic HelloIOKit example plus
first few lines of AppleUSBComposite::start. Specifically this line:
"_device=OSDynamicCast(IOUSBDevice, provider)". When this call is
absent the driver loads. When present I get the above error.
Somehow kextload doesn't recognize the IOUSBDevice symbol used in
OSDynamicCast. At least that's what I gather from the kld() error
message. I am including the IOUSBDevice.h header in cpp file.
Can anyone shed some light on this ?
Brian Jorgage
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden