• 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
sysctl dependencies not working in Tiger?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sysctl dependencies not working in Tiger?


  • Subject: sysctl dependencies not working in Tiger?
  • From: email@hidden
  • Date: Fri, 15 Apr 2005 01:26:49 -0400

I'm trying to develop an updated version of a kext in time for Tiger's release
(I am using build 8A420), but I can't get kextload to load it.  Every time, it
reports that any sysctls I try to register are undefined.  Specifically, the
error everytime when running kextload -t foo.kext is:

kextload: extension foo.kext appears to be valid
kld(): Undefined symbols:
_sysctl__children
_sysctl_handle_int
_sysctl_register_oid
_sysctl_unregister_oid
kextload: kld_load_from_memory() failed for module /Users/username/project/
build/foo.kext/Contents/MacOS/foo
kextload: a link/load error occured for kernel extension foo.kext
load failed for extension foo.kext

I even tried creating an entirely new kext project in Xcode 2.0, and added a few
sysctl_register_oid calls and it stopped working.  info.plist includes
com.apple.kernel.libkern in OSBundleLibraries, so this ought to work.

Does anyone know what's wrong?

- Brian
 _______________________________________________
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: sysctl dependencies not working in Tiger?
      • From: Dean Reece <email@hidden>
  • Prev by Date: Etiquette Reminder!
  • Next by Date: Re: sysctl dependencies not working in Tiger?
  • Previous by thread: Etiquette Reminder!
  • Next by thread: Re: sysctl dependencies not working in Tiger?
  • Index(es):
    • Date
    • Thread