[MPlayer]编译错误。

来源:互联网 发布:基于大数据的用户画像 编辑:程序博客网 时间:2024/05/18 01:33

编译Mplayer时链接错误:
libao2/ao_alsa.o: In function `get_delay':

ao_alsa.c:(.text+0x223): undefined reference to `snd_pcm_forward'
libao2/ao_alsa.o: In function `init':

ao_alsa.c:(.text+0x17e9): undefined reference to `snd_pcm_sw_params_get_boundary'

解决办法:
apt-get install libasound2-dev

原创粉丝点击