• 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
Kernel Extension Xcode problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel Extension Xcode problem


  • Subject: Kernel Extension Xcode problem
  • From: Cameron Jones <email@hidden>
  • Date: Thu, 26 Feb 2004 14:12:16 -0500

I'm porting a kernel extension build from ProbjectBuilder to Xcode.

I opened the project in XCode, no problem.

I upgraded the target(s) to 'native mode'.

Finally (!) got it to build.  Needed stubs for a (static) start() and stop()
(e.g. Not part of my class). Needed to compile the derived source with C++
even though its file extension ends is ".c".

The resulting kernel extension loads fine (e.g. Kextload).  But the kernel
can't create my class object for some reason:

Feb 26 13:58:09 localhost kernel: Couldn't alloc class
"com_MYBIZ_iokit_MYAudioDevice"

Any one else seen this?

Then open source documentation still describes building kernel extensions
from Project Builder.  Any documentation available for building kernel
extensions from Xcode?

Thanks in advance...

Cameron Jones
Salem Technology Associates
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Kernel Extension Xcode problem
      • From: Godfrey DiGiorgi <email@hidden>
  • Prev by Date: Default window sizes
  • Next by Date: Re: Kernel Extension Xcode problem
  • Previous by thread: Default window sizes
  • Next by thread: Re: Kernel Extension Xcode problem
  • Index(es):
    • Date
    • Thread