Error compiling alsatplg
alsa-project/alsa-utils issue #37 was opened from dbaluta:
With latest alsa-lib and alsa-utils sources I cannot compile alsatplg utility.
Steps followed:
# Compile alsa-lib 1. ./gitcompile --prefix=$HOME/work/sof_dir/alsa-lib-bins/ 2. make install #custom instalation to be later used by alsa-utils.
# Compile alsa-utils 1. /gitcompile --with-alsa-inc-prefix=$HOME/work/sof_dir/alsa-lib-bins/include/ --with-alsa-prefix=$HOME/work/sof_dir/alsa-lib-bins/lib 2. I get the following errors:
``` -ldl -lpthread topology.o: In function `load_topology': /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:135: undefined reference to `snd_tplg_create' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:141: undefined reference to `snd_tplg_load' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:145: undefined reference to `snd_tplg_free' topology.o: In function `version': /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:63: undefined reference to `snd_tplg_version' topology.o: In function `dump': /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:218: undefined reference to `snd_tplg_save' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:219: undefined reference to `snd_tplg_free' topology.o: In function `compile': /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:245: undefined reference to `snd_tplg_build_bin' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:246: undefined reference to `snd_tplg_free' topology.o: In function `decode': /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:268: undefined reference to `snd_tplg_create' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:273: undefined reference to `snd_tplg_decode' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:281: undefined reference to `snd_tplg_save' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:282: undefined reference to `snd_tplg_free' /home/nxf25322/work/sof_dir/alsa-utils/topology/topology.c:276: undefined reference to `snd_tplg_free' collect2: error: ld returned 1 exit status Makefile:433: recipe for target 'alsatplg' failed
``` Similar with https://github.com/alsa-project/alsa-utils/issues/33
Issue URL : https://github.com/alsa-project/alsa-utils/issues/37 Repository URL: https://github.com/alsa-project/alsa-utils
participants (1)
-
GitHub issues - opened