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 ...
|
|
> > >
|
mplayer troubles
|
====================================================================================
05-11-2008, 08:38 AM
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
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
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
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
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
|
下载:
|
下载
|
|