Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#3023 closed defect (invalid)

BUG: audiofile build fails in osxplay.c

Reported by: ksahr@… Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: ideinit@…
Port:

Description

Yesterday (May 5) I decided to start fresh with a new DarwinPorts install, so I deleted my existing infrastructure and installed ports. I installed the new infrastructure from the disk image and began reinstalling clean ports.

audiofile install failed with the following error:

---> Building audiofile with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_audio_audiofile/ work/audiofile-0.2.6" && make all" returned error 2 Command output: osxplay.c:115: error: `outputUnit' undeclared (first use in this function) osxplay.c: At top level: osxplay.c:133: error: parse error before "AudioUnitRenderActionFlags" osxplay.c: In function `fileRenderProc': osxplay.c:139: error: `inRefCon' undeclared (first use in this function) osxplay.c:142: error: `inNumFrames' undeclared (first use in this function) osxplay.c:150: error: `ioData' undeclared (first use in this function) osxplay.c: At top level: osxplay.c:160: error: parse error before '*' token osxplay.c: In function `setupOutput': osxplay.c:166: error: `AudioStreamBasicDescription' undeclared (first use in this function) osxplay.c:166: error: parse error before "fileASBD" osxplay.c:167: error: `AURenderCallbackStruct' undeclared (first use in this function) osxplay.c:170: error: `file' undeclared (first use in this function) osxplay.c:173: error: `fileASBD' undeclared (first use in this function) osxplay.c:175: error: `outputUnit' undeclared (first use in this function) osxplay.c:176: error: `kAudioUnitProperty_StreamFormat' undeclared (first use in this function) osxplay.c:176: error: `kAudioUnitScope_Output' undeclared (first use in this function) osxplay.c:181: error: `outputASBD' undeclared (first use in this function) osxplay.c:192: error: `inputASBD' undeclared (first use in this function) osxplay.c:195: error: `kAudioUnitScope_Input' undeclared (first use in this function) osxplay.c:207: error: `renderCallback' undeclared (first use in this function) osxplay.c:211: error: `kAudioUnitProperty_SetRenderCallback' undeclared (first use in this function) osxplay.c: In function `main': osxplay.c:225: error: `AudioUnit' undeclared (first use in this function) osxplay.c:225: error: parse error before "outputUnit" osxplay.c:240: error: `outputUnit' undeclared (first use in this function) make[2]: * [osxplay.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History (4)

comment:1 Changed 19 years ago by toby@…

Status: newassigned

Works for me. Sounds like you're missing at least part of the developer tools. On your system, what are the contents of /System/Library/Frameworks/AudioUnit.framework/Versions/A/Headers/ ?

comment:2 Changed 19 years ago by snu@…

Summary: audiofile build fails in osxplay.cBUG: audiofile build fails in osxplay.c

comment:3 Changed 19 years ago by ksahr@…

Resolution: invalid
Status: assignedclosed

That was it; I un-installed and then reinstalled the Developer tools and audiofile built and installed. Thanks!

comment:4 Changed 19 years ago by ideinit@…

Cc: ideinit@… added

(In reply to comment #2)

...I un-installed and then reinstalled the Developer tools and audiofile built and installed.

Was there a specific part of Dev Tools that you uninstalled / reinstalled?

Note: See TracTickets for help on using tickets.