Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#3132 closed defect (fixed)

audiofile doesn't compile properly

Reported by: hyclak@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: olaf@…, marloes-dports@…
Port:

Description

---> 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 (20)

comment:1 Changed 19 years ago by toby@…

Resolution: worksforme
Status: newclosed

Sounds like you're missing part of the developer tools. The requisite definitions are part of Core Audio.

comment:2 Changed 19 years ago by hyclak@…

op_sys: Mac OS X 10.2Mac OS X 10.3

This is actually 10.3, not 10.2. I don't see anything regarding Audio in the Xcode 1.5 installer. I have the following installed:

Developer Tools Software gcc 3.3 Mac OS X SDK Developer Documentation Developer Examples BSD SDK April 2004 Xcode Extras

Not installed are: gcc 3.1 gcc 2.95.2 Cross-Development X11 SDK CHUD Tools

I also installed the Core Audio 1.3.5 SDK and still get the same error.

comment:3 Changed 19 years ago by hyclak@…

Resolution: worksforme
Status: closedreopened

comment:4 Changed 19 years ago by hyclak@…

Shouldn't configure indicate missing header files if it's a problem?

comment:5 Changed 19 years ago by toby@…

Cc: olaf@… added

comment:6 Changed 19 years ago by toby@…

* Bug 3214 has been marked as a duplicate of this bug. *

comment:7 Changed 19 years ago by olaf@…

It's only the examples that doesn't build, the rest is finde and can be installed separately.

comment:8 Changed 19 years ago by toby@…

Perhaps QuickTime 7 nuked the headers; I've heard of this happening on Panther. Do either of you have QuickTime 7 installed on Panther? I can't reproduce this failure on Tiger, and the port has worked on Panther for months...

comment:9 Changed 19 years ago by hyclak@…

Yes, I updated to QuickTime 7 when it was released. I re-ran the coreaudio sdk installer, but I still get the same error.

comment:10 Changed 19 years ago by toby@…

Wasn't there a QuickTime 7 SDK released, as well?

comment:11 Changed 19 years ago by olaf@…

I have QT7 on Tiger.

comment:12 Changed 19 years ago by toby@…

Olaf - you didn't install QuickTime 7 over your existing QT7, did you?

comment:13 Changed 19 years ago by olaf@…

Do you mean whether I've installed QT7 over an existing QT6.x? Yes I did.

comment:14 Changed 19 years ago by hyclak@…

Yes, there is a Quicktime SDK that refuses to install with a very generic "unable to expand and verify" error. I've tried digging through the logs and can't figure out why it won't install. The latest iPod update has the same problem. I guess at this point it's not necessarily an opendarwin problem, however maybe we could have a port flavor that doesn't include the examples as a temporary fix?

comment:15 Changed 19 years ago by toby@…

From what I understand, QuickTime 7 nukes the headers when installed (on Panther or Tiger). The solution is to install the QuickTime 7 SDK...

comment:16 Changed 19 years ago by vanessas@…

I've just run a Software Update and now it compiles cleanly. The QT7 SDK is an auto-update if you've installed XCode. So I guess it'd be ok to close the bug.

comment:17 Changed 19 years ago by toby@…

Resolution: fixed
Status: reopenedclosed

comment:18 Changed 19 years ago by toby@…

Cc: marloes-dports@… added

comment:19 Changed 19 years ago by toby@…

* Bug 3728 has been marked as a duplicate of this bug. *

comment:20 Changed 19 years ago by toby@…

Also see #3023

Note: See TracTickets for help on using tickets.