alsa-lib 1.2.5 and 1.2.5.1 fail to build with --enable-static

GitHub issues - opened github at alsa-project.org
Mon Sep 6 00:46:52 CEST 2021


alsa-project/alsa-lib issue #177 was opened from pjbroad:

This build successfully:
```
./configure  && make clean && make
```

This fails to build:
```
./configure --enable-shared=no --enable-static=yes && make clean && make

make[1]: Entering directory '/home/paul/el/el-build-scripts/linux-static/libs/alsa-lib-1.2.5.1/aserver'
  CC       aserver.o
  CCLD     aserver
/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
make[1]: *** [Makefile:398: aserver] Error 1
make[1]: Leaving directory '/home/paul/el/el-build-scripts/linux-static/libs/alsa-lib-1.2.5.1/aserver'
make: *** [Makefile:405: all-recursive] Error 1
```

Building static worked find for 1.2.4.  Hopefully someone can help resolve this.  Let me know if you want me to try anything.

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/177
Repository URL: https://github.com/alsa-project/alsa-lib


More information about the Alsa-devel mailing list