alsa-project / alsa-lib

The Advanced Linux Sound Architecture (ALSA) - library
GNU Lesser General Public License v2.1
366 stars 177 forks source link

undefined reference to `_snd_module_control_empty' #168

Closed madebr closed 3 years ago

madebr commented 3 years ago

When linking aserver of libalsa 1.2.5.1, the following linking error appears:

/usr/bin/ld: ../src/.libs/libasound.a(control_symbols.o):(.data.rel+0x8): undefined reference to `_snd_module_control_empty'
collect2: error: ld returned 1 exit status

libalsa is built as a static library.

Full log: libalsa.log (this is using the conan build recipe at https://github.com/conan-io/conan-center-index/tree/master/recipes/libalsa/all)

Thanks

perexg commented 3 years ago

Already fixed in 81e7923fbfad45b2f353a4d6e3053af51f5f7d0b .

madebr commented 3 years ago

Thanks for the answer!