Error compiling alsatplg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux