This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Static Library ALSA

Hi All,

I have a simple application to capture audio. I am using ALSA static library for my application. When i run it i am getting following errors.

ALSA lib dlmisc.c:246:(snd1_dlobj_cache_get) symbol _snd_pcm_plug_open is not defined inside [builtin]

I am using ALSA library ver alsa-lib-1.0.24.1

My steps to build the ALSA static library  are as below:

./configure  --enable-static=yes --enable-pcm --with-pcm-plugins=all --with-libdl=no -host=arm-none-linux-gnueabi

then make command

I got libasound.a library.

I include this library in my application. 

If i use the shared library it is working. My question is is why it is not working with static library?
Am i missing something here?
I request you to help in this regards,