Shared Library kext
Shared Library kext
- Subject: Shared Library kext
- From: Duane Murphy <email@hidden>
- Date: Mon, 26 Jul 2010 16:51:00 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The library kext example (IOKitWithLibrary) puts the library kext in the PlugIns directory inside of the "master" kext.
We would like to arrange to share a library kext between multiple top level kext.
My first shot was simply to maintain the PlugIns layout to the primary kext, and declare that there was a dependency to that bundle identifier in another kext. The second kext failed to load:
from kextutil -t
Dependency Resolution Faiures:
No kexts found for these libraries:
com.mykext.library
kextstat clearly shows that the library kext is loaded with this bundle identifier.
As another experiment, I removed (deleted) the library kext from the PlugIns directory of the main kext and loaded it. Then I attempted to load the main kext. It also gives the same load error.
How are library kexts to be located and loaded in order to be shared by more than one kext?
Thank you,
...Duane
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 10.0.2 (Build 13)
Charset: us-ascii
wsBVAwUBTE4fbUrg9acQ4r2CAQiQDwf9EoJcm7hBMnUjdzLoluliQoseu3w1L2rk
iZMAPY0TS0I5u29jsIR3pPUpRO7Dg6+Y8YQFHqBEWBNtJNv85F85VCzzFBVaqqNf
i7crgRvRafiUMhabCT5Fbp388UME7i1FZPvB7kg+jaofZF0Z+czSL0bNKCGagpTm
C5xFqozw9FQGQzqtTxO31ZBF4yMUUobjc/hOg7bq9hNDPhMDYrCamSfyTmyEmhwU
54FG/QtK4cMRjE/zfQ1WQf2kDa9V3jyJ9+gfADQfcE9qa+q5YpbxGAZi0CCdtTry
v+ps5l21yNQ0bfw4tFIFbTZsP5e4+IDrMZCPaAGrz/S3be5qXvh01g==
=zB3Y
-----END PGP SIGNATURE-----
_______________________________________________
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