This is what I am getting when I am trying to load kernel extension with kextload ================== kextload -t uControl.kext kextload: extension uControl.kext appears to be valid kld(): multiple definitions of symbol _lock_alloc /mach definition of absolute _lock_alloc (value 0x96684) /System/Library/Extensions/System.kext/PlugIns/System6.0.kext/kernel.6.0 definition of absolute _lock_alloc (value 0x2d810) ... same messages for following symbols: _lock_done _lock_free _lock_init _lock_read _lock_read_to_write _lock_write _lock_write_to_read _mutex_alloc _mutex_free _mutex_init _mutex_lock _mutex_try _mutex_unlock _thread_sleep_lock_write _thread_sleep_mutex _thread_sleep_mutex_deadline _thread_sleep_usimple_lock _usimple_lock _usimple_lock_init _usimple_lock_try _usimple_unlock ... kextload: can't link dependent image /System/Library/Extensions/System.kext/PlugIns/System6.0.kext/kernel.6.0 kextload: a link/load error occured for kernel extension uControl.kext load failed for extension uControl.kext ==================
None of this symbols is used in the extension code (at least not directly). Following is fragment (I think it is relevant fragment) of info.plist file I am using to build/deploy the extension
... <key>OSBundleLibraries</key> <dict> <key>com.apple.iokit.IOHIDSystem</key> <string>1.4</string> <key>com.apple.kernel.iokit</key> <string>6.9.9</string> <key>com.apple.kernel</key> <string>8.2.0</string> </dict> ...
I build this extension with XCode 2.1 on Tiger 1.4.2 ( build 8C44 ). Any information about this problem will be highly appreciated.
Andrei Tchijov
|