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 symbol in static library #157

Closed jpalus closed 3 years ago

jpalus commented 3 years ago

There is a mismatch between declaration: https://github.com/alsa-project/alsa-lib/blob/f4c061f349188c548497607efd4622c6e6a43270/src/control/control_symbols.c#L24 and actual definition: https://github.com/alsa-project/alsa-lib/blob/f4c061f349188c548497607efd4622c6e6a43270/src/control/control_empty.c#L33 resulting in undefined symbol in static library. Judging by convention used in other files I suppose the latter should be renamed to match declaration.

perexg commented 3 years ago

Thank you for you report. Your fix seems correct.