From: Nicolas C. <nic...@gm...> - 2010-01-29 01:58:46
|
I'm forwarding this from lmms-users. ---------- Forwarded message ---------- From: Nicolas Couture <nic...@gm...> Date: Wed, Jan 27, 2010 at 6:50 PM Subject: AudioPulseAudio.cpp: error: ‘PA_STREAM_ADJUST_LATENCY’ was not declared in this scope To: lmm...@li... Good day, I have been trying to compile the latest lmms release on debian 5.0.3, here's the summary output by cmake: * Installation Summary* *--------------------* ** Install Directory : /usr/local* ** Use system's libsamplerate : * *Supported audio interfaces* *--------------------------* ** ALSA : OK* ** JACK : OK* ** OSS : OK* ** PulseAudio : OK* ** SDL : OK* *Supported MIDI interfaces* *-------------------------* ** ALSA : OK* ** OSS : OK* ** WinMM : <not supported on this platform>* *Supported file formats for project export* *-----------------------------------------* ** WAVE : OK* ** OGG/VORBIS : OK* *Optional plugins* *----------------* ** SoundFont2 player : OK* ** Stk Mallets : OK* ** VST-instrument hoster : OK* ** VST-effect hoster : OK* ** SpectrumAnalyzer : OK* ** CALF LADSPA plugins : OK* ** CAPS LADSPA plugins : OK* ** CMT LADSPA plugins : OK* ** TAP LADSPA plugins : OK* ** SWH LADSPA plugins : OK* ** ZynAddSubFX : OK* *-----------------------------------------------------------------* *IMPORTANT:* *after installing missing packages, remove CMakeCache.txt before* *running cmake again!* *-----------------------------------------------------------------* *-- Configuring done* *-- Generating done* *-- Build files have been written to: /home/remote/Desktop/lmms-0.4.6* I have installed the required libraries to enable interfaces and plugins as you can see in the previous snippet but am receiving the following error message when executing `make': *[ 34%] Building CXX object CMakeFiles/lmms.dir/src/core/audio/AudioPulseAudio.o /home/remote/Desktop/lmms-0.4.6/src/core/audio/AudioPulseAudio.cpp: In function ‘void context_state_callback(pa_context*, void*)’: /home/remote/Desktop/lmms-0.4.6/src/core/audio/AudioPulseAudio.cpp:191: error: ‘PA_STREAM_ADJUST_LATENCY’ was not declared in this scope make[2]: *** [CMakeFiles/lmms.dir/src/core/audio/AudioPulseAudio.o] Error 1 make[1]: *** [CMakeFiles/lmms.dir/all] Error 2 make: *** [all] Error 2* It's hard for me to tell why this is happening, it looks like invalid code but I doubt that's the case since I'm using a release version. Googling for the exact error showed one result<http://pastebin.com/m49ce5626>(online paste of the same error) dating from January 16 by "buzzsaw" so it seems I'm not the only one seeing this. Could anyone please advise? Thanks! |