[MacPorts] #14251: herrie-1.9.2 doesnot compile
#14251: herrie-1.9.2 doesnot compile --------------------------------+------------------------------------------- Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: herrie-1.9.2 error | --------------------------------+------------------------------------------- Command output: ./src/audio_output_coreaudio.c:161: error: request for member 'mBytesPerPacket' in something not a structure or union (...) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Changes (by ram@macports.org): * cc: ed@fxq.nl (added) Comment: cc'ing maintainer -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by ed@fxq.nl): What version of Mac OS X are you using? The code was originally developed for OS X 10.4 and slightly updated to work with 10.5, but the mBytesPerPacket field has already been in use since 10.4. I haven't ever used Herrie on OS X 10.3 or lower, but I'm willing to add support for it. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by pc@anykey.de): I am on OS X 10.4 . Don't know what I am doing wrong, i.e. '# port install mpd' also exists with errors - on the other hand, there *are* ports which install just fine ... if I could provide you with some more debug- information, just instruct me :-) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by ed@fxq.nl): It seems line 161 isn't really needed - it already gets properly calculated. On my MacBook with 10.5, it seems Herrie works like it should when I remove the line. Could you see what happens on your machine? -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by pc@anykey.de): I removed the line, then: :/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_herrie/work/herrie-1.9.2$ sudo cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_herrie/work/herrie-1.9.2" && make all # Compiling audio_output_coreaudio.o ./src/audio_output_coreaudio.c:33:37: error: CoreAudio/AudioHardware.h: No such file or directory (...) // many others => it seems that I am not able to compile the c-code, because then appear more errors as if i do a simple 'port install herrie' ... (I am only known with java, bash, sql, not i.e. C ). I cannot find the package #include <CoreAudio/AudioHardware.h> (find ./ -name AudioHardware.h) but when I do, these errors are not given, only the following ones: $ sudo port install herrie (...) Command output: ./src/audio_output_coreaudio.c:154: error: 'kAudioFormatLinearPCM' undeclared (first use in this function) ./src/audio_output_coreaudio.c:158: error: request for member 'mSampleRate' in something not a structure or union ./src/audio_output_coreaudio.c:159: error: request for member 'mChannelsPerFrame' in something not a structure or union ./src/audio_output_coreaudio.c:167: error: 'kAudioDevicePropertyBufferSize' undeclared (first use in this function) ./src/audio_output_coreaudio.c:176: error: 'kAudioDevicePropertyPreferredChannelsForStereo' undeclared (first use in this function) ./src/audio_output_coreaudio.c: In function 'audio_output_play': ./src/audio_output_coreaudio.c:206: error: 'UInt32' undeclared (first use in this function) ./src/audio_output_coreaudio.c:206: error: parse error before 'len' ./src/audio_output_coreaudio.c:210: error: 'len' undeclared (first use in this function) ./src/audio_output_coreaudio.c:213: error: request for member 'mSampleRate' in something not a structure or union ./src/audio_output_coreaudio.c:214: error: request for member 'mChannelsPerFrame' in something not a structure or union ./src/audio_output_coreaudio.c:216: error: request for member 'mSampleRate' in something not a structure or union ./src/audio_output_coreaudio.c:217: error: request for member 'mChannelsPerFrame' in something not a structure or union ./src/audio_output_coreaudio.c:220: error: 'kAudioDevicePropertyStreamFormat' undeclared (first use in this function) ./src/audio_output_coreaudio.c:222: error: 'size' undeclared (first use in this function) ./src/audio_output_coreaudio.c:223: error: 'false' undeclared (first use in this function) ./src/audio_output_coreaudio.c: At top level: ./src/audio_output_coreaudio.c:271: error: parse error before 'n' ./src/audio_output_coreaudio.c: In function 'audio_output_volume_adjust': ./src/audio_output_coreaudio.c:273: error: 'Float32' undeclared (first use in this function) ./src/audio_output_coreaudio.c:273: error: parse error before 'vl' ./src/audio_output_coreaudio.c:274: error: 'UInt32' undeclared (first use in this function) ./src/audio_output_coreaudio.c:282: error: 'false' undeclared (first use in this function) ./src/audio_output_coreaudio.c:283: error: 'kAudioDevicePropertyVolumeScalar' undeclared (first use in this function) ./src/audio_output_coreaudio.c:283: error: 'size' undeclared (first use in this function) ./src/audio_output_coreaudio.c:283: error: 'vl' undeclared (first use in this function) ./src/audio_output_coreaudio.c:285: error: 'vr' undeclared (first use in this function) ./src/audio_output_coreaudio.c:287: error: 'vn' undeclared (first use in this function) ./src/audio_output_coreaudio.c:287: error: 'n' undeclared (first use in this function) make: *** [audio_output_coreaudio.o] Error 1 (I gave you all the errors 'cause it seems you have fixed some?) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by pc@anykey.de): ups, should have used the 'preview' button, 'cause know I am not able to reformat my former posting ... ugly mess, sorry :-( -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14251: herrie-1.9.2 doesnot compile ---------------------------+------------------------------------------------ Reporter: pc@anykey.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: herrie-1.9.2 error ---------------------------+------------------------------------------------ Comment (by ed@fxq.nl): Aha! That's not a bug in Herrie - it looks like you did not install the CoreFoo developer package when installing the developer tools. :-) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14251#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts