Re: Codeless kext: Dependency resolution failure on 64 bit machine.
Re: Codeless kext: Dependency resolution failure on 64 bit machine.
- Subject: Re: Codeless kext: Dependency resolution failure on 64 bit machine.
- From: Rammohan Akula <email@hidden>
- Date: Mon, 3 Jan 2011 11:37:47 -0800
Thanks Nik!
Removing OSBundledLibraries from my info.plist is throwing below error:
SPOTDriverExtension.kext is invalid; can't resolve dependencies.
SPOTDriverExtension.kext is invalid; can't resolve dependencies.
SPOTDriverExtension.kext is invalid; can't resolve dependencies.
SPOTDriverExtension.kext has problems:
Validation Failures:
Info dictionary missing required property/value:
OSBundleLibraries
I even tried by removed CFBundleInfoDictionaryVersion property but it's still the same.
Below is the complete code of my info.plist (masked product and vendor ids). Can you also suggest me the best way to have only one codeless kext for 32 bit (should work on Tiger and Leopard also) and 64 bit machines.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "
http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>SPOTDriverExtension</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.mycompany.iokit..SPOTDriverExtension</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string></string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>IOKitPersonalities</key>
<dict>
<key>Device Driver BSL</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.kpi.iokit</string>
<key>IOClass</key>
<string>IOService</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>xxx</integer>
<key>idVendor</key>
<integer>xxxx</integer>
</dict>
<key>Device Driver Firmware</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.kpi.iokit</string>
<key>IOClass</key>
<string>IOService</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>xxx</integer>
<key>idVendor</key>
<integer>xxxx</integer>
</dict>
</dict>
<key>OSBundleRequired</key>
<string>Local-Root</string>
</dict>
</plist>
Thanks,
Ram
On Mon, Jan 3, 2011 at 11:11 AM, Nik Gervae
<email@hidden> wrote:
A codeless kext needn't declare OSBundleLibraries, as it has no code that needs linking. You should be able to just delete that property.
Nik Gervae
Apple, Inc.
On 27 Dec, 2010, at 17:57 , Rammohan Akula wrote:
Hi,
I have codeless kext that loads perfectly on 32 bit machines. When I am trying to load same kext, I am getting following error:
Dependency Resolution Failures:
64-bit kexts must use com.apple.kpi.* libraries, not com.apple.kernel* libraries.
I want my codeless kext to work on both 32 bit and 64 bit machines. Can anyone suggest what is the best way to make it work on both (32 bit / 64 bit).
Following is the code snippet from my info.plist (Masked product id and vendor id values).
<dict>
<key>Device Driver BSL</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.kernel.iokit</string>
<key>IOClass</key>
<string>IOService</string>
<key>IOProviderClass</key>
<string>IOUSBInterface</string>
<key>bConfigurationValue</key>
<integer>1</integer>
<key>bInterfaceNumber</key>
<integer>0</integer>
<key>idProduct</key>
<integer>xxx</integer>
<key>idVendor</key>
<integer>xxx</integer>
</dict>
Thanks,
Ram
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (
email@hidden)
This email sent to
email@hidden
_______________________________________________
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