need help in resolving symbols!!!!

1 view
Skip to first unread message

Haris Tasawar

unread,
Sep 28, 2010, 9:30:44 AM9/28/10
to ata-sc...@lists.apple.com
hey sir,
            I recently made a kext which creates an IOBlockStorageDriver. The program compiled with no errors and created a kext . However, when i try to load it, it says this :


kld(): Undefined symbols:
__ZN21IOBlockStorageDriver111requestIdleEv
__ZN21IOBlockStorageDriver114breakUpRequestEyP18IOMemoryDescriptor19IOStorageCompletionPNS_7ContextE
__ZN21IOBlockStorageDriver114prepareRequestEyP18IOMemoryDescriptorP19IOStorageAttributesP19IOStorageCompletion
__ZN21IOBlockStorageDriver17discardEP9IOServiceyy
kextload: kld_load_from_memory() failed for module /private/tmp/member.kext/Contents/MacOS/member
kextload: a link/load error occured for kernel extension member.kext
link/load failed for extension member.kext
 (run kextload with -t for diagnostic output)



can anyone help me in conquering this problem, any help would be appreciated.

P.S : my info.plist file is this :

<?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>${EXECUTABLE_NAME}</string>
    <key>CFBundleName</key>
    <string>${PRODUCT_NAME}</string>
    <key>CFBundleIconFile</key>
    <string></string>
    <key>CFBundleIdentifier</key>
    <string>com.Mycompany.driver.MyDriver.${PRODUCT_NAME:identifier}</string>
    <key>CFBundleInfoDictionaryVersion</key>
    <string>6.0</string>
    <key>CFBundlePackageType</key>
    <string>KEXT</string>
    <key>CFBundleSignature</key>
    <string>????</string>
    <key>CFBundleVersion</key>
    <string>1.0.0d1</string>
    <key>IOKitPersonalities</key>
    <dict>
        <key>member</key>
        <dict>
            <key>IOMatchCategory</key>
            <string>IOBlockStorageDriver1</string>
            <key>IOProviderClass</key>
            <string>IOBlockStorageDevice</string>
            <key>IOClass</key>
            <string>IOBlockStorageDriver1</string>
            <key>CFBundleIdentifier</key>
            <string>com.Mycompany.driver.MyDriver</string>
        </dict>
    </dict>
    <key>OSBundleLibraries</key>
    <dict>
        <key>com.apple.kpi.unsupported</key>
        <string>9.0.0</string>
        <key>com.apple.kpi.mach</key>
        <string>9.0.0</string>
        <key>com.apple.kpi.libkern</key>
        <string>9.0.0</string>
        <key>com.apple.kpi.iokit</key>
        <string>9.0.0</string>
        <key>com.apple.iokit.IOStorageFamily</key>
        <string>1.5.2</string>
    </dict>
</dict>
</plist>

Shantonu Sen

unread,
Sep 28, 2010, 10:02:11 AM9/28/10
to Haris Tasawar, ata-sc...@lists.apple.com
You haven't given enough information to help you.

What OS and architecture is this occurring on? Where are you building the Xcode? With what tools, on what OS, against what SDK?

Shantonu

</plist> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list      (Ata-sc...@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/ata-scsi-dev/ssen%40apple.com

This email sent to ss...@apple.com

Reply all
Reply to author
Forward
0 new messages