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

Re: Kernel Extension Xcode problem


  • Subject: Re: Kernel Extension Xcode problem
  • From: Godfrey DiGiorgi <email@hidden>
  • Date: Thu, 26 Feb 2004 12:21:21 -0800

Cameron,

Thank you for your feedback and comments on this issue.

Which version of Xcode are you using? The ability to build kernel extensions with native targets was added in Xcode 1.1.

You're right, the tutorial documentation pointed to at <http://www.opensource.apple.com/projects/documentation/howto/> is centric to Project Builder usage. I'll see what I can do to have that updated as soon as practicable.

best,
Godfrey
---
  Godfrey DiGiorgi - email@hidden
  408 974-6814 tel - 408 974-8101 fax - 408 832-8319 cell
  Technology Manager, Development Tools
  Apple Worldwide Developer Relations

On Feb 26, 2004, at 11:12 AM, Cameron Jones wrote:

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.
_______________________________________________
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.


References: 
 >Kernel Extension Xcode problem (From: Cameron Jones <email@hidden>)

  • Prev by Date: Kernel Extension Xcode problem
  • Next by Date: HELP weird help page UI problem
  • Previous by thread: Kernel Extension Xcode problem
  • Next by thread: HELP weird help page UI problem
  • Index(es):
    • Date
    • Thread