[alsa-devel] Compiler errors in alsa-lib-1.0.22/test/*.c

Clemens Ladisch clemens at ladisch.de
Tue Jul 13 08:18:40 CEST 2010


John Simpson wrote:
> I've been trying to use the alsa-lib API, but I haven't been able to
> get anything to compile.
> 
> ~/alsa/alsa-lib-1.0.22/test$ for f in *.c; do echo; cc $f 2>&1 | head -n2; done
> ...
> Did I miss something?

The makefile.

If alsa-lib is installed correctly, the only option you need for your
own programs is -lasound.


Regards,
Clemens


More information about the Alsa-devel mailing list