2007/2/28, Nyx <keres.nyx@xxxxxxxxx>: > I want to develop some applications (VUmeter and Peakmeter) with > ALSA-API. So, I tried to compile an example from > http://equalarea.com/paul/alsa-audio.html#playex but I have some > errors like : " > example.o(.text+0x30c): In function `main': > : undefined reference to `snd_strerror' > example.o(.text+0x340): In function `main': > : undefined reference to `snd_pcm_close' > [..]" > > Do you have an idea where these errors come from ? You have to link your program with the ALSA library. For instance: gcc -lasound -Wall -o myprog myprog.c Of course, ALSA development files must be installed. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel