I downloaded libasound2-dev, but I can't find source file

1.4k Views Asked by At

I'm using Linux OS (Ubuntu) and I need some recording file from mic. I typed sudo apt-get install libasound2-dev. Then, I can find header file in /usr/include/alsa , but I can't find c file. I think this is the problem of "undefined reference to 'snd_pcm_open'". What can I do?

1

There are 1 best solutions below

1
fraff On

I you want the source code of a libasound2-dev, use the commande

apt-get source libasound2-dev

You might need to install dpkg-dev package.