• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
OSBundleLibraries & Kernel symbols sharing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OSBundleLibraries & Kernel symbols sharing


  • Subject: OSBundleLibraries & Kernel symbols sharing
  • From: Stephane Sudre <email@hidden>
  • Date: Tue, 8 Feb 2005 12:43:56 +0100

I'm seeing something strange as I thought what I wanted to do was possible but doesn't actually like to be.

I have 2 Kernel Extensions A and B.

Kernel Extension A is loaded first and is requiring usual stuff in OSBundleLibraries.

Kernel Extension B is defining one of the function of A with an extern and is including the Bundle Identifier and Version of A in the OSBundleLibraries section of the Info.plist.

Now when I load B after A, this does not work as it's said that no correct version for A was found.

Is it not possible to use symbols from a kext in another kext as long as you help the kext loader knows where they can be found?

I was wondering if this was not linked to the fact that I'm using the default version 1.0.0d1 from the Kernel Extension template but I don't really think this is the reason.

The function I'm trying to reference is not set as static or __private_extern__ in A.


_______________________________________________ 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
  • Follow-Ups:
    • Re: OSBundleLibraries & Kernel symbols sharing
      • From: Dean Reece <email@hidden>
  • Prev by Date: Re: booting a custom darwin kernel on a powerbook
  • Next by Date: Re: OSBundleLibraries & Kernel symbols sharing
  • Previous by thread: Re: booting a custom darwin kernel on a powerbook
  • Next by thread: Re: OSBundleLibraries & Kernel symbols sharing
  • Index(es):
    • Date
    • Thread