Hi All,
I am using dvsdk_4_01_00_09 and AEC (acoustic echo canceller). I have added Sound_read and Sound_write functions in AEC application code. during the compilation I am getting undefined reference errors:
/root/dvsdk_4_01_00_09/dmai_2_20_00_14/packages/ti/sdo/dmai/linux/Sound_alsa.c:85: undefined reference to `snd_hctl_open'
/root/dvsdk_4_01_00_09/dmai_2_20_00_14/packages/ti/sdo/dmai/linux/Sound_alsa.c:86: undefined reference to `snd_strerror'
/root/dvsdk_4_01_00_09/dmai_2_20_00_14/packages/ti/sdo/dmai/linux/Sound_alsa.c:90: undefined reference to `snd_hctl_load'
/root/dvsdk_4_01_00_09/dmai_2_20_00_14/packages/ti/sdo/dmai/linux/Sound_alsa.c:91: undefined reference to `snd_strerror'
/root/dvsdk_4_01_00_09/dmai_2_20_00_14/packages/ti/sdo/dmai/linux/Sound_alsa.c:95: undefined reference to `snd_ctl_elem_id_sizeof'
...
...
..
I guess undefined references can be solve by using "-lasound" . but how to use in package.bld?
libasound.so is available in "/root/dvsdk_4_01_00_09/linux-devkit/arm-none-linux-gnueabi/usr/lib" path.