Re: Platform Expert dependency
Re: Platform Expert dependency
- Subject: Re: Platform Expert dependency
- From: email@hidden
- Date: Tue, 14 Jul 2009 15:21:06 -0700
Thanks guys, good stuff.
Shantonu, that is a good question and made me take a detailed look at
what I needed.
I'm starting with an existing usb audio kext and adding udp socket support.
The Apple doc here:
http://tuvix.apple.com/documentation/Darwin/Conceptual/NKEConceptual/about/about.html
says to add for Tiger: (i'm using Leopard)
com.apple.kpi.bsd 8.0.0
com.apple.kpi.iokit 8.0.0
com.apple.kpi.libkern 8.0.0
com.apple.kpi.mach
com.apple.kpi.unsupported
This left me with a dependency that could only be satisfied by :
com.apple.kernel.6.0
But com.apple.kernel.6.0 conflicts with using any of the com.apple.kpi modules.
By adding the depencies one at a time, I found that
com.apple.kpi.unsupported was not needed. After this was removed,
com.apple.kernel.6.0 was not needed anymore as well.
So things are great now, but I've got a hunch I won't be able to run in Tiger.
Thanks to all,
--Chuck
On Tue, Jul 14, 2009 at 8:23 AM, Shantonu Sen <email@hidden> wrote:
>
> Why do you need these symbols? What is your code doing?
>
> Shantonu
>
> Sent from my MacBook
>
> On Jul 13, 2009, at 11:02 PM, email@hidden wrote:
>
>> Hello,
>>
>> I'm adding some BSD udp socket support to a kext and having some undefined symbols from kextload.
>>
>> As per Apple doc for kernel networking, I added:
>>
>> <key>com.apple.kpi.bsd</key>
>> <string>8.0.0</string>
>> <key>com.apple.kpi.iokit</key>
>> <string>8.0.0</string>
>> <key>com.apple.kpi.libkern</key>
>> <string>8.0.0</string>
>> <key>com.apple.kpi.mach</key>
>> <string>8.0.0</string>
>> <key>com.apple.kpi.unsupported</key>
>> <string>8.0.0</string>
>>
>> But, I'm still missing these symbols:
>>
>> __ZN18IODTPlatformExpert10writeXPRAMEmPhm
>> __ZN18IODTPlatformExpert9readXPRAMEmPhm
>>
>> I tried these, one at a time with no success:
>>
>> <key>com.apple.iokit.IONVRAMFamily</key>
>> <string>8.0.0</string>
>> <key>com.apple.iokit.ApplePlatformFamily</key>
>> <string>8.0.0</string>
>> <key>com.apple.iokit.IOACPIFamily</key>
>> <string>1.2.0</string>
>> <key>com.apple.driver.AppleACPIPlatform</key>
>> <string>1.2.4</string>
>>
>> Any ideas on where to find the missing symbols?
>>
>> Thanks,
>>
>> --Chuck
>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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