gstv4l2bufferpool.c: In function 'gst_v4l2_buffer_new': gstv4l2bufferpool.c:183:3: error: 'struct v4l2_buffer' has no member named 'input' make: *** [libgstvideo4linux2_la-gstv4l2bufferpool.lo] Error 1 make: *** Waiting for unfinished jobs.... emake failed * ERROR: media-plugins/gst-plugins-v4l2-0.10.30 failed (compile phase): * compile failure v4l2_calls.c: In function 'gst_v4l2_fill_lists': v4l2_calls.c:58:26: error: 'V4L2_CID_HCENTER_DEPRECATED' undeclared (first use in this function) #define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED ^ v4l2_calls.c:297:12: note: in expansion of macro 'V4L2_CID_HCENTER' case V4L2_CID_HCENTER: ^ v4l2_calls.c:58:26: note: each undeclared identifier is reported only once for each function it appears in #define V4L2_CID_HCENTER V4L2_CID_HCENTER_DEPRECATED ^ v4l2_calls.c:297:12: note: in expansion of macro 'V4L2_CID_HCENTER' case V4L2_CID_HCENTER: ^ v4l2_calls.c:61:26: error: 'V4L2_CID_VCENTER_DEPRECATED' undeclared (first use in this function) #define V4L2_CID_VCENTER V4L2_CID_VCENTER_DEPRECATED 出现的error如下,你可以选择给她打补丁 链接在:http://patchwork.openembedded.org/patch/35979/ 我一直打不上,所以我用了比较笨的办法:sed -i -e "/input:/d" sys/v4l2/gstv4l2bufferpool.c && sed -i -e "/case V4L2_CID_HCENTER/d" -e "/case V4L2_CID_VCENTER/d" sys/v4l2/v4l2_calls.c && ./configure --prefix=/usr \ --sysconfdir=/etc \ --with-gtk=3.0 \ --with-package-name="GStreamer Good Plugins 0.10.31 BLFS" \ --with-package-origin="http://www.linuxfromscratch.org/blfs/view/systemd/" && make记录下来,以免以后遇到忘记