Re: Building PhantomAudioDriver on OSX 10.4.7 with XCode 2.3
Re: Building PhantomAudioDriver on OSX 10.4.7 with XCode 2.3
- Subject: Re: Building PhantomAudioDriver on OSX 10.4.7 with XCode 2.3
- From: Jeff Moore <email@hidden>
- Date: Mon, 24 Jul 2006 17:55:07 -0700
First off, the PhantomAudioDriver is basically out of date. It's
spiritual descendent is the AudioReflectorDriver project in the
CoreAudio SDK.
Second, I think the problem you are having is that the headers you
are compiling with don't match up with the version of IOAudioFamily
on your machine. Fortunately, the fix is pretty easy. You just need
to be building your drivers against the headers that come on an Intel
system, even on a PPC system.
On Jul 24, 2006, at 5:19 PM, Aidan Williams wrote:
I'm having trouble building the example PhantomAudioDriver from the
Developer kit on 10.4.7 and was hoping someone might have a
suggestion.
OS Version: 10.4.7
XCode Version: 2.3
What I'm doing is:
% cp -r /Developer/Examples/Kernel/IOKit/Audio/PhantomAudioDriver .
% open PhantomAudioDriver/PhantomAudioDriver.pbproj
Click "Upgrade a Copy"
Click "Save"
Click "Build"
% sudo cp -r PhantomAudioDriver/build/Development/
PhantomAudioDriver.kext /tmp
% sudo kextload -t /tmp/PhantomAudioDriver.kext
kextload: extension /tmp/PhantomAudioDriver.kext appears to be valid
39com_MyCompany_driver_PhantomAudioEngine is not compatible with
its superclass, 13IOAudioEngine superclass changed?
kextload: a link/load error occured for kernel extension /tmp/
PhantomAudioDriver.kext
load failed for extension /tmp/PhantomAudioDriver.kext
(run kextload with -t for diagnostic output)
The pre-built kext that comes along with the example code does
however load:
# rm -r /tmp/PhantomAudioDriver.kext # cp -r /Developer/Examples/
Kernel/IOKit/Audio/PhantomAudioDriver/build/
PhantomAudioDriver.kext /tmp
# kextload /tmp/PhantomAudioDriver.kext kextload: /tmp/
PhantomAudioDriver.kext loaded successfully
so I assume that the code compiled for 10.4 at some stage.
Suggestions are most welcome.. ;-)
--
Jeff Moore
Core Audio
Apple
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden