[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#635876: hamfax: FTBFS (!linux): error: 'snd_pcm_recover' was not declared in this scope



Package: src:
Version: 
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: alsa-user
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the !linux buildds:

src/Sound.cpp:158:10: warning: the address of 'hwparams' will always evaluate as 'true' [-Waddress]
src/Sound.cpp: In member function 'int Sound::startInput()':
src/Sound.cpp:263:10: warning: the address of 'hwparams' will always evaluate as 'true' [-Waddress]
src/Sound.cpp: In member function 'void Sound::write(short int*, int)':
src/Sound.cpp:403:31: error: 'snd_pcm_recover' was not declared in this scope
src/Sound.cpp:406:37: error: 'snd_pcm_recover' was not declared in this scope
src/Sound.cpp: In member function 'void Sound::readALSA(int)':
src/Sound.cpp:438:33: error: 'snd_pcm_recover' was not declared in this scope
src/Sound.cpp:449:28: error: 'snd_pcm_recover' was not declared in this scope
src/Sound.cpp:455:32: error: 'snd_pcm_recover' was not declared in this scope
src/Sound.cpp: In member function 'void Sound::checkSpace(int)':
src/Sound.cpp:481:34: error: 'snd_pcm_recover' was not declared in this scope
make[1]: *** [src/hamfax-Sound.o] Error 1
make[1]: Leaving directory `/build/buildd-hamfax_0.8-1-kfreebsd-amd64-p1VhHf/hamfax-0.8'
make: *** [build-stamp] Error 2

Full build log at
https://buildd.debian.org/status/fetch.php?pkg=hamfax&arch=kfreebsd-amd64&ver=0.8-1&stamp=1311806231

    This is because your package uses alsa which is only available on
linux and the wrapper to make alsa applications work with OSS is
incomplete. If possible please consider continue using OSS on non-linux
architectures.

Regards

    Christoph

If you have further questions please mail debian-bsd@lists.debian.org



Reply to: