读书人

Mplayer的移植有关问题在make的时候

发布时间: 2013-01-19 11:41:36 作者: rapoo

Mplayer的移植问题,在make的时候出现错误。
错误如下:用的是UBUNTU系统
codec-cfg.c: In function `parse_codec_cfg':
codec-cfg.c:507: error: `builtin_video_codecs' undeclared (first use in this function)
codec-cfg.c:507: error: (Each undeclared identifier is reported only once
codec-cfg.c:507: error: for each function it appears in.)
codec-cfg.c:508: error: `builtin_audio_codecs' undeclared (first use in this function)
make: *** [codec-cfg.o] 错误 1
这是什么原因?
[解决办法]
Makefile,将
$(CC) $(CFLAGS) -g codec-cfg.c mp-msg.c -o -----
中的参数$(CC) 改为gcc。

读书人网 >UNIXLINUX

热点推荐