下载mplayer源代码mplayer源代码下载地址 我这里下载的是MPlayer-1.0rc2.tar.bz2
tar -xvjf MPlayer-1.0rc2.tar.bz2cd MPlayer-1.0rc2./configuremake报错: vo_ivtv.c: In function ‘ivtv_reset’: vo_ivtv.c:79: error: storage size of ‘sd’ isn’t known vo_ivtv.c:80: error: storage size of ‘sd1’ isn’t known vo_ivtv.c:84: error: ‘IVTV_STOP_FL_HIDE_FRAME’ undeclared (first use in this function) vo_ivtv.c:84: error: (Each undeclared identifier is reported only once vo_ivtv.c:84: error: for each function it appears in.) vo_ivtv.c:87: error: ‘IVTV_IOC_STOP_DECODE’ undeclared (first use in this function) vo_ivtv.c:97: error: ‘IVTV_IOC_START_DECODE’ undeclared (first use in this function) vo_ivtv.c:80: warning: unused variable ‘sd1’ vo_ivtv.c:79: warning: unused variable ‘sd’ make1: * [vo_ivtv.o] Error 1 make1: Leaving directory `/home/wenyi/development/mplayer/MPlayer-1.0rc2/libvo’ make: * [libvo/libvo.a] Error 2 解决方法
./configure --disable-ivtvmake报错libvo/libvo.a(video_out.o):(.data+0x28): undefined reference to `video_out_ivtv’ 解决方法:
修改libvo/video_out.c的101行,extern vo_functions_t video_out_dxr3;修改为#ifdef HAVE_DXR3 /*modified by wenyi 2017-2-28*/extern vo_functions_t video_out_dxr3;#endifmake make install1-mplayer编译过程中出现ivtv错误 2-mplayer源代码包在fedora中的安装方法详解
新闻热点
疑难解答