[Pkg-oss4-maintainers] Bug#668812: Library liboss4-salsa missing several snd_pcm_* references
Petter Reinholdtsen
pere at hungry.com
Sat Feb 1 19:05:43 UTC 2014
Control: user debian-hurd at lists.debian.org
Control: usertag 668812 hurd
I just tried to build the spice package on Debian Hurd, and after a bit
of patching the build fail with this error:
x11/playback.cpp: In member function 'bool WavePlayer::init(uint32_t, uint32_t, uint32_t)':
x11/playback.cpp:99:71: error: 'snd_pcm_hw_params_set_rate_resample' was not declared in this scope
if ((err = snd_pcm_hw_params_set_rate_resample(_pcm, _hw_params, 1)) < 0) {
^
x11/playback.cpp: In member function 'virtual bool WavePlayer::write(uint8_t*)':
x11/playback.cpp:192:41: error: 'snd_pcm_recover' was not declared in this scope
if (snd_pcm_recover(_pcm, ret, 1) == 0) {
^
Digging a bit, I conclude that this is because /usr/include/alsa/pcm.h
from liboss4-salsa-dev is lacking the functions currently provided by
libasound2-dev used to build spice on Linux. Please add the missing
features to liboss4-salsa.
--
Happy hacking
Petter Reinholdtsen
More information about the Pkg-oss4-maintainers
mailing list