Mplayer源代码编译
来源:互联网 发布:公安部网络安全局 编辑:程序博客网 时间:2024/05/20 17:40
平台:centos6.6-32位
下载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;#endif
make make install
参考博客:
1-mplayer编译过程中出现ivtv错误
2-mplayer源代码包在fedora中的安装方法详解
- Mplayer源代码编译
- 在windows上用源代码编译安装MPlayer
- RedHat Linux 下安装MPlayer 编译源代码方式
- 在windows上用源代码编译安装MPlayer
- 编译Mplayer
- MPlayer源代码分析
- MPlayer源代码分析
- MPlayer源代码分析
- MPlayer源代码分析
- MPlayer源代码分析
- Mplayer源代码分析
- RedHat Linux 下安装MPLayer 编译源代码方法
- 交叉编译mplayer
- 如何编译MPlayer
- windows 中编译mplayer
- mplayer交叉编译
- mplayer 交叉编译
- MPlayer X86 下编译
- 为猿七年有余,痒否?痛否?
- Unreal Engine使用C++入门示例
- Hibernate使用数据库连接池
- MFC基本技术
- [LeetCode]421. Maximum XOR of Two Numbers in an Array
- Mplayer源代码编译
- 日程部件增减行高
- 【caffe学习笔记】layer层简介
- leetcode:1. Two Sum
- BZOJ 4709: [Jsoi2011]柠檬【斜率优化
- 《剑指Offer》java 2.4 算法和数据操作
- SecondaryNameNode的元数据管理
- iOS一个简单的设置圆角不引起性能问题的分类
- 生成器