[Pkg-oss4-maintainers] Bug#668812: Library liboss4-salsa missing several snd_pcm_* references

A. Maitland Bottoms bottoms at debian.org
Sat Apr 14 15:08:14 UTC 2012


Package: liboss4-salsa2
Version: 4.2-build2005-3
Severity: normal

On Debian kFreeBSD, building a package with libasound2-dev in its build-depends
actually pulls in liboss4-salsa-dev. So far so good. The header files have the
good stuff defined (/usr/include/alsa/pcm.h provided by liboss4-salsa-dev).

However, liboss4-salsa.so.2.0.0 does not have some of the symbols
defined, and therefore is not a complete replacement for the
/usr/lib/libasound.so.2.0.0 provided by the libasound2 package
on other architectures.

When building gnuradio with ALSA support enabled on Debian kFreeBSD this occurs:

Linking CXX executable dial_tone
cd /home/aa4hs/stage/gnuradio-3.5.3/build/gr-audio/examples/c++ && /usr/bin/cmake -E cmake_link_script CMakeFiles/dial_tone.dir/link.txt --verbose=1
/usr/bin/c++   -O3 -DNDEBUG    CMakeFiles/dial_tone.dir/dial_tone.cc.o  -o dial_tone  ../../lib/libgnuradio-audio.so.3.5.3 ../../../gnuradio-core/src/lib/libgnuradio-core.so.3.5.3 ../../../gruel/src/lib/libgruel.so.3.5.3 -lpthread -lboost_date_time-mt -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_thread-mt -lasound -ljack -Wl,-rpath,/home/aa4hs/stage/gnuradio-3.5.3/build/gr-audio/lib:/home/aa4hs/stage/gnuradio-3.5.3/build/gnuradio-core/src/lib:/home/aa4hs/stage/gnuradio-3.5.3/build/gruel/src/lib:/home/aa4hs/stage/gnuradio-3.5.3/build/volk/lib -Wl,-rpath-link,/home/aa4hs/stage/gnuradio-3.5.3/build/volk/lib
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_test_rate'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_test_access'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_get_periods_min'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_access_name'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_get_sbits'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_test_channels'
../../lib/libgnuradio-audio.so.3.5.3: undefined reference to `snd_pcm_hw_params_get_periods_max'
collect2: ld returned 1 exit status
make[3]: *** [gr-audio/examples/c++/dial_tone] Error 1

Good luck on improving the ALSA API of oss4, until this is fixed
the gnuradio builds for Debian will have the ALSA support disabled
on kFreeBSD.

-Maitland





More information about the Pkg-oss4-maintainers mailing list