Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1285984
  • 博文数量: 168
  • 博客积分: 3483
  • 博客等级: 中校
  • 技术积分: 1696
  • 用 户 组: 普通用户
  • 注册时间: 2006-02-06 13:17
文章分类

全部博文(168)

文章存档

2015年(6)

2014年(9)

2013年(47)

2012年(11)

2011年(13)

2010年(18)

2009年(11)

2008年(42)

2007年(11)

分类: LINUX

2008-05-25 19:23:13

mplayer troubles

This is a discussion on mplayer troubles within the Slackware forums, part of the category; There is a link on to which has a script to build mpayer. unfortunately the mplayer build ends with ...

Go Back > > >
mplayer troubles mplayer troubles
====================================================================================
05-11-2008, 08:38 AM Default mplayer troubles
There is a link on to
which has a script to build
mpayer. unfortunately the mplayer build ends with an error:

make -C libvo libvo.a
make[1]: Entering directory `/usr/src/mplayer/MPlayer-1.0rc2/libvo'
cc -I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
-Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native
-mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
-DHAVE_CONFIG_H -I/usr/X11/include -I/usr/include/ -I/usr/include/SDL
-D_REENTRANT -I/usr/include/artsc -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include
-c -o vo_ivtv.o vo_ivtv.c
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'
make[1]: *** [vo_ivtv.o] Error 1
make[1]: Leaving directory `/usr/src/mplayer/MPlayer-1.0rc2/libvo'
make: *** [libvo/libvo.a] Error 2

Did anyone run in to this also and fixed it?

--
Hans

-------------------------------------------------------------------------------
05-11-2008, 10:09 AM Default Re: mplayer troubles
On Sun, 11 May 2008 15:38:47 +0200, Hans de Bruin wrote:

> There is a link on to
> which has a script to build
> mpayer. unfortunately the mplayer build ends with an error:


It builds properly and without the recent rash of security related bugs
from the SVN tree. Get the latest sources:

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

Configure using, with your own modifications. ALSA does not work with my
sound chip.

[duhring-at-maxwell ~/mplayer]$ head configure.log
configuration: --prefix=/usr --confdir=/etc/mplayer \
--codecsdir=/usr/lib/codecs --win32codecsdir=/usr/lib/codecs \
--enable-gui --disable-alsa --enable-ossaudio --with-vidix-drivers=nvidia

Be *sure* to `export CFLAGS=""` before running the configure script or
make.

You might want to archive the source tree before compiling so that you can
update it in the future using 'svn update'.
------------------------------------------------------------------------------
05-11-2008, 10:58 AM Default Re: mplayer troubles
Hans de Bruin wrote:
> There is a link on to
> which has a script to build
> mpayer. unfortunately the mplayer build ends with an error:
> vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in
> Did anyone run in to this also and fixed it?


The error disappeared after I added --disable-ivtv to ./configure
../configure --enable-gui --disable-ivtv

Frits
------------------------------------------------------------------------------
05-11-2008, 12:09 PM Default Re: mplayer troubles
Frits wrote:
> Hans de Bruin wrote:
>> There is a link on to
>> which has a script to
>> build mpayer. unfortunately the mplayer build ends with an error:
>> vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in
>> Did anyone run in to this also and fixed it?

>
> The error disappeared after I added --disable-ivtv to ./configure
> ./configure --enable-gui --disable-ivtv


Tanks.

--
Hans
-------------------------------------------------------------------------------
05-12-2008, 10:10 AM Default Re: mplayer troubles
Hans de Bruin schreef:
> Frits wrote:
>> Hans de Bruin wrote:
>>> There is a link on to
>>> which has a script to
>>> build mpayer. unfortunately the mplayer build ends with an error:
>>> vo_ivtv.c:97: error: 'IVTV_IOC_START_DECODE' undeclared (first use in
>>> Did anyone run in to this also and fixed it?

>>
>> The error disappeared after I added --disable-ivtv to ./configure
>> ./configure --enable-gui --disable-ivtv

>
> Tanks.
>

The patch to build successfully against the ivtv driver in the 2.6.24
kernel is here:

along with a SlackBuild that works, and a package too.

Eric
==================================================================================
解决方法如下:
patch configure <../mplayer_configure.patch
文件: mplayer_configure.patch.tar.gz
大小: 0KB
下载: 下载


阅读(1745) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2009-04-05 00:17:02

我用这里篇文章介始的方法安装 成功 http://hi.baidu.com/yxf1984/blog/item/bdcba31782d5220fc83d6d5b.html

chinaunix网友2009-04-04 23:19:40

可以在./configure的时时候加上 参数 --disable-ivtv就可以了