Greetings all, I'm having link errors in a device driver I'm working on at kextload time. Due to NDA I can't say what Apple OS or Dev tools I'm running ( :-p ) but since my intended deployment OS will be post 10.2 (though I likely could back that down to 10.2) I decided to try to use the KPI stubs. The talk on them at WWDC was interesting and I figured I should not start a new project using deprecated interfaces. So I initially had these OSBundleLibraries: com.apple.iokit.IONetworkingFamily 1.3.1 com.apple.iokit.IOPCIFamily 1.4.0 com.apple.kpi.iokit 7.0.0 com.apple.kpi.libkern 7.0.0 But kld failed with an unresolved symbol _thread_call_free. I'm not calling that (and don't know who is) but as it looked "mach"-ish I added this to OSBundleLibraries: com.apple.kpi.mach 7.0.0 and unresolved symbol went away. But then kld failed with a duplicate symbol: .../PlugIns/IOKit.kext/IOKit definition of absolute _IOGetTime (value 0x7913c) .../PlugIns/Mach.kext/Mach definition of absolute _IOGetTime (value 0x7913c) (BTW: Why is it whining if the value of both definitions is the same?) Does anyone know what's up? Is the whole KPI thing is not baked yet? I've tried to find documentation on it without luck (which probably answers the question). I guess I'll just back out of the KPI stubs but why are they there if they aren't to be used? Any thoughts would be appreciated. Thanks, -Mike _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Michael Cashwell