Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2008, 08:40 PM
Hans de Bruin
 
Posts: n/a
Default mplayer troubles

There is a link on http://www.mplayerhq.hu/ to
http://faleiros.eti.br/?q=SlackBuild/mplayer 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2008, 08:40 PM
Dave Uhring
 
Posts: n/a
Default Re: mplayer troubles

On Sun, 11 May 2008 15:38:47 +0200, Hans de Bruin wrote:

> There is a link on http://www.mplayerhq.hu/ to
> http://faleiros.eti.br/?q=SlackBuild/mplayer 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@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'.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 08:40 PM
Frits
 
Posts: n/a
Default Re: mplayer troubles

Hans de Bruin wrote:
> There is a link on http://www.mplayerhq.hu/ to
> http://faleiros.eti.br/?q=SlackBuild/mplayer 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-11-2008, 08:41 PM
Hans de Bruin
 
Posts: n/a
Default Re: mplayer troubles

Frits wrote:
> Hans de Bruin wrote:
>> There is a link on http://www.mplayerhq.hu/ to
>> http://faleiros.eti.br/?q=SlackBuild/mplayer 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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-13-2008, 06:12 PM
Eric Hameleers
 
Posts: n/a
Default Re: mplayer troubles

Hans de Bruin schreef:
> Frits wrote:
>> Hans de Bruin wrote:
>>> There is a link on http://www.mplayerhq.hu/ to
>>> http://faleiros.eti.br/?q=SlackBuild/mplayer 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:
http://www.slackware.com/~alien/slac...v_2.6.24.patch
along with a SlackBuild that works, and a package too.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:46 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145