--- Em dom, 3/2/13, Pierre M.R. escreveu: > De: Pierre M.R. > Assunto: Re: [blfs-support] VLC and Video4Linux (was: [blfs-book] r10987 ...) > Para: "BLFS Support List" > Data: Domingo, 3 de Fevereiro de 2013, 6:56 > Fernando de Oliveira wrote: > > --- Em sáb, 2/2/13, Randy McMurchy escreveu: > > > >> De: Randy McMurchy > >> Assunto: Re: [blfs-support] VLC and Video4Linux > (was: [blfs-book] r10987 ...) > >> Para: "BLFS Support List" > >> Data: Sábado, 2 de Fevereiro de 2013, 22:52 > >> Fernando de Oliveira wrote these > >> words on 02/02/13 11:10 CST: > >>> Forgot to say that I used the new instructions > >> including the patch, to > >>> install VLC. > >>> I could not find in the page an explanation for > the > >> necessity of the > >>> patch, but do not remember if there are > explanations > >> for other patches. > >> > >> There are ?tens/hundreds? of patches in BLFS and > none of > >> them have any explanation > >> in the book as the explanation is in the header of > the > >> patch. Patches are text > >> files that should have the explanation you are > looking for > >> embedded in the patch. > > Yes, you are right. > > > >> As far as your previous message goes, I do not > really > >> understand what you are > >> asking. Video4Linux is a dependency of many other > packages > >> in BLFS. What exactly > >> is your point? > >> > >> -- > >> Randy > > Three points. > > > > 1. Why is v4l-utils required dependency for VLC in > LFS-6.5? > > > > 2. Should ivtv-ctl, from v4l-utils, be removed? In > ArchLinux it is > > removed. > > > > 3. Thank who included v4l-utils as dependency. > > > > []s, > > Fernando > libv4l2 is required by vlc access plugin libv4l2_plugin.so. > It allows vlc to capture /dev/video0. > > v4l-utils provides libv4l1 libv4l2 and tools. > I don't know why to remove ivtv.ctl and not other tools ? > > Pierre
Merci, Pierre. I was so happy, thinking the issue was solved... But turned out that I was using --disable-v4l2, without noticing. Had included an "if" in the script to deal with the LFS-6.5 install, and did not remember. Therefore, v4l-utils is not required dependency for VLC in LFS-6.5. But it only builds there, using --disable-v4l2. This is well known, e.g.: <http://forum.videolan.org/viewtopic.php?f=13&t=94751>, where one can find: "... the missing definitions were added in Linux 2.6.32..." For the error, please read the last part of the log, below. Also attached the complete log, xz compressed. Removed v4l-utils, after that. []s, Fernando Log: ... CCLD libaccess_shm_plugin.la CC libv4l2_plugin_la-video.lo In file included from v4l2/video.c:40:0: v4l2/v4l2.h:33:3: warning: #warning Please update Video4Linux2 headers! v4l2/video.c: In function 'InitVideo': v4l2/video.c:1160:11: warning: 'f_fps' may be used uninitialized in this function v4l2/video.c: In function 'GrabVideo': v4l2/video.c:556:14: warning: 'p_block' may be used uninitialized in this function CC libv4l2_plugin_la-demux.lo In file included from v4l2/demux.c:30:0: v4l2/v4l2.h:33:3: warning: #warning Please update Video4Linux2 headers! CC libv4l2_plugin_la-access.lo In file included from v4l2/access.c:30:0: v4l2/v4l2.h:33:3: warning: #warning Please update Video4Linux2 headers! v4l2/access.c: In function 'AccessReadStream': v4l2/access.c:119:9: warning: 'vlc_object_alive' is deprecated (declared at ../../include/vlc_objects.h:81) CC libv4l2_plugin_la-controls.lo In file included from v4l2/controls.c:30:0: v4l2/v4l2.h:33:3: warning: #warning Please update Video4Linux2 headers! v4l2/controls.c:74:26: error: 'V4L2_CID_AUTOBRIGHTNESS' undeclared here (not in a function) v4l2/controls.c:74:5: warning: missing initializer v4l2/controls.c:74:5: warning: (near initialization for 'controls[30].cid') v4l2/controls.c:75:27: error: 'V4L2_CID_BAND_STOP_FILTER' undeclared here (not in a function) v4l2/controls.c:75:5: warning: missing initializer v4l2/controls.c:75:5: warning: (near initialization for 'controls[31].cid') v4l2/controls.c: In function 'ControlSet64': v4l2/controls.c:109:9: error: unknown field 'size' specified in initializer v4l2/controls.c:109:9: warning: missing braces around initializer v4l2/controls.c:109:9: warning: (near initialization for 'ext_ctrl.reserved2') v4l2/controls.c: In function 'ControlSetStr': v4l2/controls.c:128:9: error: unknown field 'size' specified in initializer v4l2/controls.c:128:9: warning: missing braces around initializer v4l2/controls.c:128:9: warning: (near initialization for 'ext_ctrl.reserved2') v4l2/controls.c:130:13: error: 'struct v4l2_ext_control' has no member named 'string' v4l2/controls.c:130:5: warning: statement with no effect v4l2/controls.c: In function 'ControlSetCallback': v4l2/controls.c:165:14: error: 'V4L2_CTRL_TYPE_STRING' undeclared (first use in this function) v4l2/controls.c:165:14: note: each undeclared identifier is reported only once for each function it appears in v4l2/controls.c: In function 'ControlsSetFromString': v4l2/controls.c:276:26: error: 'V4L2_CTRL_TYPE_STRING' undeclared (first use in this function) v4l2/controls.c: In function 'ControlAddInteger64': v4l2/controls.c:524:12: error: unknown field 'size' specified in initializer v4l2/controls.c:524:12: warning: missing braces around initializer v4l2/controls.c:524:12: warning: (near initialization for 'ext_ctrl.reserved2') v4l2/controls.c: In function 'ControlAddString': v4l2/controls.c:575:13: error: unknown field 'size' specified in initializer v4l2/controls.c:575:13: warning: missing braces around initializer v4l2/controls.c:575:13: warning: (near initialization for 'ext_ctrl.reserved2') v4l2/controls.c:577:17: error: 'struct v4l2_ext_control' has no member named 'string' v4l2/controls.c:577:9: warning: statement with no effect v4l2/controls.c: In function 'ControlsInit': v4l2/controls.c:664:10: error: 'V4L2_CTRL_TYPE_STRING' undeclared (first use in this function) v4l2/controls.c:664:9: error: array index in initializer not of integer type v4l2/controls.c:664:9: error: (near initialization for 'handlers') v4l2/controls.c:701:14: warning: comparison between pointer and integer make[5]: ** [libv4l2_plugin_la-controls.lo] Erro 1 make[5]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2013.02.03/vlc-2.0.5/modules/access' make[4]: ** [all-recursive] Erro 1 make[4]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2013.02.03/vlc-2.0.5/modules/access' make[3]: ** [all] Erro 2 make[3]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2013.02.03/vlc-2.0.5/modules/access' make[2]: ** [all-recursive] Erro 1 make[2]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2013.02.03/vlc-2.0.5/modules' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2013.02.03/vlc-2.0.5' make: ** [all] Erro 2
vlc-2.0.5-2013.02.03.log.xz
Description: Binary data
-- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
