Re: randconfig build error with next-20140826, in Documentation/video4linux
From: Mauro Carvalho Chehab
Date: Wed Aug 27 2014 - 13:17:59 EST
Em Wed, 27 Aug 2014 07:36:05 -0700
Randy Dunlap <rdunlap@xxxxxxxxxxxxx> escreveu:
> On 08/27/14 03:58, Sudip Mukherjee wrote:
> > On Tue, Aug 26, 2014 at 09:50:43AM -0700, Jim Davis wrote:
> >> Building with the attached random configuration file,
> >>
> >> ERROR: "vb2_ops_wait_finish"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ops_wait_prepare"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_event_unsubscribe"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_ctrl_subscribe_event"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_ctrl_log_status"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_streamoff"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_streamon"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_create_bufs"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_dqbuf"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_expbuf"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_qbuf"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_querybuf"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_ioctl_reqbufs"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_fop_release"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_fh_open" [Documentation/video4linux/v4l2-pci-skeleton.ko]
> >> undefined!
> >> ERROR: "vb2_fop_mmap" [Documentation/video4linux/v4l2-pci-skeleton.ko]
> >> undefined!
> >> ERROR: "video_ioctl2" [Documentation/video4linux/v4l2-pci-skeleton.ko]
> >> undefined!
> >> ERROR: "vb2_fop_poll" [Documentation/video4linux/v4l2-pci-skeleton.ko]
> >> undefined!
> >> ERROR: "vb2_fop_read" [Documentation/video4linux/v4l2-pci-skeleton.ko]
> >> undefined!
> >> ERROR: "vb2_buffer_done"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "__video_register_device"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "video_device_release_empty"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_dma_contig_init_ctx"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_queue_init"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_dma_contig_memops"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_ctrl_new_std"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_ctrl_handler_init_class"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_device_register"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_match_dv_timings"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_find_dv_timings_cap"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_valid_dv_timings"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_enum_dv_timings_cap"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "video_devdata"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_device_unregister"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "vb2_dma_contig_cleanup_ctx"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "v4l2_ctrl_handler_free"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> ERROR: "video_unregister_device"
> >> [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
> >> make[1]: *** [__modpost] Error 1
> >> make: *** [modules] Error 2
> >>
> >> Similar to a build error from January 7th:
> >> https://lists.01.org/pipermail/kbuild-all/2014-January/002566.html
> >
> > Hi,
> > I tried to build next-20140826 with your given config file . But for me everything was fine.
> > And I was just wondering why the skeleton code in the Documentation is building ?
>
> It builds if the Kconfig symbol BUILD_DOCSRC is enabled.
> Building of this module was just added to linux-next.
It makes sense to add a depends on BUILD_DOCSRC, PCI and MEDIA_V4L2
inside the docs Makefile, instead of moving the Kconfig to
drivers/media, IMHO.
Regards,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/