Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-28 Thread Sudip Mukherjee
On Wed, Aug 27, 2014 at 10:33:46AM -0700, Jim Davis wrote:
 On Wed, Aug 27, 2014 at 3:58 AM, Sudip Mukherjee
 sudipm.mukher...@gmail.com wrote:
 
  Hi,
  I tried to build next-20140826 with your given config file . But for me 
  everything was fine.
 
 Well, you should be able to reproduce it.  Do these steps work for you?
 
 jim@krebstar:~/linux2$ git checkout next-20140826
 HEAD is now at 1c9e4561f3b2... Add linux-next specific files for 20140826
 jim@krebstar:~/linux2$ git clean -fdx
 jim@krebstar:~/linux2$ cp ~/randconfig-1409069188.txt .config
 jim@krebstar:~/linux2$ make oldconfig
   HOSTCC  scripts/basic/fixdep
   HOSTCC  scripts/kconfig/conf.o
   SHIPPED scripts/kconfig/zconf.tab.c
   SHIPPED scripts/kconfig/zconf.lex.c
   SHIPPED scripts/kconfig/zconf.hash.c
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
 scripts/kconfig/conf --oldconfig Kconfig
 #
 # configuration written to .config
 #
 jim@krebstar:~/linux2$ make -j4 buildlog.txt 21
 jim@krebstar:~/linux2$ grep ERROR buildlog.txt
 ERROR: vb2_ops_wait_finish
 [Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!
 
 (followed by many more similar lines).

yes , it worked. thanks . i was missing the oldconfig .

thanks
sudip
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Randy Dunlap
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.


-- 
~Randy
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Mauro Carvalho Chehab
Em Wed, 27 Aug 2014 07:36:05 -0700
Randy Dunlap rdun...@infradead.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.

Regards,
Mauro
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Randy Dunlap
On 08/27/14 10:17, Mauro Carvalho Chehab wrote:
 Em Wed, 27 Aug 2014 07:36:05 -0700
 Randy Dunlap rdun...@infradead.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-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-27 Thread Jim Davis
On Wed, Aug 27, 2014 at 3:58 AM, Sudip Mukherjee
sudipm.mukher...@gmail.com wrote:

 Hi,
 I tried to build next-20140826 with your given config file . But for me 
 everything was fine.

Well, you should be able to reproduce it.  Do these steps work for you?

jim@krebstar:~/linux2$ git checkout next-20140826
HEAD is now at 1c9e4561f3b2... Add linux-next specific files for 20140826
jim@krebstar:~/linux2$ git clean -fdx
jim@krebstar:~/linux2$ cp ~/randconfig-1409069188.txt .config
jim@krebstar:~/linux2$ make oldconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/zconf.lex.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
jim@krebstar:~/linux2$ make -j4 buildlog.txt 21
jim@krebstar:~/linux2$ grep ERROR buildlog.txt
ERROR: vb2_ops_wait_finish
[Documentation/video4linux/v4l2-pci-skeleton.ko] undefined!

(followed by many more similar lines).
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html