2009/8/11 Randhir Phagura <[email protected]>: > Hi, > > I am installing MPlayer from BLFS, on my openSUSE-11.2, on my laptop with > intel > hardware. All dependencies, as given in the Book have been successfully > installed as also codecs, skin Blue and patches have been applied. Also, > package ivtv has been installed.
I assume you mean you have installed all the *required* dependencies. Unfortunately, mplayer has a vey long tail of *optional* dependencies. > While compiling, the following error, > presumably, related to ivtv was encounterd: > > cc -c -I. -I.. -I../osdep -I../libavutil -Wdeclaration-after-statement -O4 > -march=nocona -mtune=nocona -pipe -ffast-math -fomit-frame-pointer > -D_REENTRANT > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/directfb > -I/usr/include -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 > -D_REENTRANT > -I/opt/kde3/include/artsc -pthread -I/usr/include/glib-2.0 > -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include > -DMPG12PLAY -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:85: error: 'IVTV_IOC_STOP_DECODE' undeclared (first use in this > function) > vo_ivtv.c:85: error: (Each undeclared identifier is reported only once > vo_ivtv.c:85: error: for each function it appears in.) > vo_ivtv.c:95: error: 'IVTV_IOC_START_DECODE' undeclared (first use in this > function) > make[1]: *** [vo_ivtv.o] Error 1 > make[1]: Leaving directory > `/home/rsp2/software/mplayer/MPlayer-1.0rc1/libvo' > make: *** [libvo/libvo.a] Error 2 > r...@laptop:~/software/mplayer/MPlayer-1.0rc1> > > Help would be very much appreciated. > > Thanks & Regards, > Normally, I would trim this after the error from line 80, because after the first two errors things always go downhill fast. But this tiem I'll leave it. ... Oftentimes, google is your friend. Specifically, http://www.google.com/linux?hl=en&q=vo_ivtv.c+"storage+size+of+'sd'"&btnG=Search (in other words, use the linux part of google, and put the error message itself in *double* quotes. That gave a number of leads, not all of them in languages I can read. Two alternative suggestions: (i.) A link to linuxquestions, but for a different third error message, eventually produced a response that adding jack, speex, libmpcdec and libdv fixed it. (ii.) A link to a pdf http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2008-07/msg00143.html again for a different third error message produced the information that the driver has changed in kernels newer than 2.6.12, so that problem was caused by bit-rot (you have an old card, nobody had compiled mplayer for it recently). And then I thought, What about the actual error ? Again, lots of messages in languages I can't identify, much less read, but eventually a link to http://archives.free.net.ph/message/20080201.201454.1047775e.en.html which suggests that upstream made a change in February last year. Perhaps there is a newer release-candidate, or perhaps one of the distros has backported a patch. If I really wanted to build mplayer, and all else failed, I'd try downloading the mplayer-export-snapshot (obviously, if that gives you problems you'll need to ask on an mplayer list). Good luck! ĸen -- After tragedy, and farce, "OMG poneys!" -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
