lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53FE1492.10408@infradead.org>
Date:	Wed, 27 Aug 2014 10:25:38 -0700
From:	Randy Dunlap <rdunlap@...radead.org>
To:	Mauro Carvalho Chehab <m.chehab@...sung.com>
CC:	Sudip Mukherjee <sudipm.mukherjee@...il.com>,
	Jim Davis <jim.epost@...il.com>,
	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next <linux-next@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	linux-media <linux-media@...r.kernel.org>,
	linux-doc <linux-doc@...r.kernel.org>
Subject: Re: randconfig build error with next-20140826, in Documentation/video4linux

On 08/27/14 10:17, Mauro Carvalho Chehab wrote:
> Em Wed, 27 Aug 2014 07:36:05 -0700
> Randy Dunlap <rdunlap@...radead.org> 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.

No, the dependencies should be in a Kconfig file, not in a Makefile.
If you insist, I'll look into moving the Kconfig contents into Documentation/.


-- 
~Randy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ