On 3/12/23 15:21, Martin McCormick wrote:
For those who don't write your own programs, this messagecan be skipped but I am hoping somebody can suggest what I might be doing wrong since all samples reference snd_pcm functions such as snd_pcm_open, etc. All need a specific alsa library called with #include <alsa/asoundlib.h>
Those errors from the linker typically mean that you aren't linking to the required library in the command that links the executable.
You have to include the appropriate header file in compiling your program, and link to the shared library. Try adding -l asound to the command that builds the executable.
-- You received this message because you are subscribed to the Google Groups "blinux-list@xxxxxxxxxx" group. To unsubscribe from this group and stop receiving emails from it, send an email to blinux-list+unsubscribe@xxxxxxxxxx.