legacy/sox: (pmmx) FTBFS: src/gsm.c:178: undefined reference to `lsx_gsm_*'
Found on pmmx:
...
mp3.c:189:26: warning: 'twolame_library_names' defined but not used [-Wunused-const-variable=]
static const char* const twolame_library_names[] =
^~~~~~~~~~~~~~~~~~~~~
CCLD libsox_fmt_pulseaudio.la
CCLD libsox_fmt_ao.la
CCLD libsox_fmt_opus.la
CCLD libsox_fmt_lpc10.la
CCLD libsox_fmt_gsm.la
/usr/lib/gcc/i586-foxkit-linux-musl/8.5.0/../../../../i586-foxkit-linux-musl/bin/ld: .libs/gsm.o: in function `gsmflush':
/usr/src/packages/user/sox/src/sox-14.4.2/src/gsm.c:178: undefined reference to `lsx_gsm_encode'
/usr/lib/gcc/i586-foxkit-linux-musl/8.5.0/../../../../i586-foxkit-linux-musl/bin/ld: .libs/gsm.o: in function `gsmstart_rw':
/usr/src/packages/user/sox/src/sox-14.4.2/src/gsm.c:81: undefined reference to `lsx_gsm_create'
/usr/lib/gcc/i586-foxkit-linux-musl/8.5.0/../../../../i586-foxkit-linux-musl/bin/ld: .libs/gsm.o: in function `sox_gsmstopread':
/usr/src/packages/user/sox/src/sox-14.4.2/src/gsm.c:221: undefined reference to `lsx_gsm_destroy'
/usr/lib/gcc/i586-foxkit-linux-musl/8.5.0/../../../../i586-foxkit-linux-musl/bin/ld: .libs/gsm.o: in function `sox_gsmread':
/usr/src/packages/user/sox/src/sox-14.4.2/src/gsm.c:139: undefined reference to `lsx_gsm_decode'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1487: libsox_fmt_gsm.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/usr/src/packages/user/sox/src/sox-14.4.2/src'
make[1]: *** [Makefile:1290: all] Error 2
make[1]: Leaving directory '/usr/src/packages/user/sox/src/sox-14.4.2/src'
make: *** [Makefile:658: all-recursive] Error 1
Additionally there are CVEs that should be addressed.