play.c: In function `main': play.c:32: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast /tmp/cczEjQZ3.o: In function `main': play.c:(.text+0x45): undefined reference to `snd_pcm_open' play.c:(.text+0x59): undefined reference to `snd_strerror' play.c:(.text+0x98): undefined reference to `snd_pcm_hw_params_malloc' play.c:(.text+0xac): undefined reference to `snd_strerror' play.c:(.text+0xe9): undefined reference to `snd_pcm_hw_params_any' play.c:(.text+0xfd): undefined reference to `snd_strerror' play.c:(.text+0x142): undefined reference to `snd_pcm_hw_params_set_access' play.c:(.text+0x156): undefined reference to `snd_strerror' play.c:(.text+0x19b): undefined reference to `snd_pcm_hw_params_set_format' play.c:(.text+0x1af): undefined reference to `snd_strerror' play.c:(.text+0x1fc): undefined reference to `snd_pcm_hw_params_set_rate_near' play.c:(.text+0x210): undefined reference to `snd_strerror' play.c:(.text+0x255): undefined reference to `snd_pcm_hw_params_set_channels' play.c:(.text+0x269): undefined reference to `snd_strerror' play.c:(.text+0x2a6): undefined reference to `snd_pcm_hw_params' play.c:(.text+0x2ba): undefined reference to `std_strerror' play.c:(.text+0x2ed): undefined reference to `snd_pcm_hw_params_free' play.c:(.text+0x2fb): undefined reference to `snd_pcm_prepare' play.c:(.text+0x30f): undefined reference to `snd_strerror' play.c:(.text+0x361): undefined reference to `snd_pcm_writei' play.c:(.text+0x379): undefined reference to `snd_strerror' play.c:(.text+0x3b3): undefined reference to `snd_pcm_close' collect2: ld returned 1 exit status