v4l2-flash-led-class.c:undefined reference to `v4l2_fh_is_singular'

From: kbuild test robot
Date: Mon Oct 19 2015 - 09:30:20 EST


Hi Jacek,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 7379047d5585187d1288486d4627873170d0005a
commit: 42bd6f59ae90244484746696aabcafc0003f59c7 media: Add registration helpers for V4L2 flash sub-devices
date: 4 months ago
config: x86_64-randconfig-s3-10192025 (attached as .config)
reproduce:
git checkout 42bd6f59ae90244484746696aabcafc0003f59c7
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/built-in.o: In function `sur40_disconnect':
sur40.c:(.text+0x16dff9): undefined reference to `video_unregister_device'
sur40.c:(.text+0x16e002): undefined reference to `v4l2_device_unregister'
drivers/built-in.o: In function `sur40_process_video':
sur40.c:(.text+0x16e375): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `sur40_vidioc_querycap':
sur40.c:(.text+0x16e83b): undefined reference to `video_devdata'
drivers/built-in.o: In function `sur40_probe':
sur40.c:(.text+0x16ec5b): undefined reference to `v4l2_device_register'
sur40.c:(.text+0x16ecf2): undefined reference to `v4l2_device_unregister'
sur40.c:(.text+0x16edb3): undefined reference to `video_device_release_empty'
sur40.c:(.text+0x16edf5): undefined reference to `__video_register_device'
sur40.c:(.text+0x16ee2d): undefined reference to `video_unregister_device'
drivers/built-in.o: In function `v4l2_flash_open':
>> v4l2-flash-led-class.c:(.text+0x174ec0): undefined reference to `v4l2_fh_is_singular'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x1754e1): undefined reference to `v4l2_subdev_init'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x175852): undefined reference to `v4l2_ctrl_handler_init_class'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x17587e): undefined reference to `v4l2_ctrl_new_std'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x1758df): undefined reference to `v4l2_ctrl_new_std_menu'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x1758ff): undefined reference to `v4l2_ctrl_handler_free'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x175931): undefined reference to `v4l2_ctrl_handler_setup'
drivers/built-in.o: In function `v4l2_flash_init':
>> (.text+0x175941): undefined reference to `v4l2_async_register_subdev'
drivers/built-in.o: In function `v4l2_flash_init':
(.text+0x175957): undefined reference to `v4l2_ctrl_handler_free'
drivers/built-in.o: In function `v4l2_flash_release':
>> (.text+0x1759a0): undefined reference to `v4l2_async_unregister_subdev'
drivers/built-in.o: In function `v4l2_flash_release':
(.text+0x1759ac): undefined reference to `v4l2_ctrl_handler_free'
drivers/built-in.o: In function `v4l2_flash_close':
v4l2-flash-led-class.c:(.text+0x1759e0): undefined reference to `v4l2_fh_is_singular'
>> v4l2-flash-led-class.c:(.text+0x175a3b): undefined reference to `__v4l2_ctrl_s_ctrl'
drivers/built-in.o: In function `vb2_ioctl_streamon':
(.text+0x17760e): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_streamoff':
(.text+0x17765e): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_expbuf':
(.text+0x1776ae): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_fop_mmap':
(.text+0x1776fd): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_querybuf':
(.text+0x177d9d): undefined reference to `video_devdata'
drivers/built-in.o:(.text+0x17826e): more undefined references to `video_devdata' follow
drivers/built-in.o: In function `vb2_thread':
videobuf2-core.c:(.text+0x179495): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `vb2_ioctl_create_bufs':
(.text+0x179db4): undefined reference to `video_devdata'
drivers/built-in.o: In function `_vb2_fop_release':
(.text+0x17a2b4): undefined reference to `video_devdata'
drivers/built-in.o: In function `_vb2_fop_release':
(.text+0x17a2ea): undefined reference to `v4l2_fh_release'
drivers/built-in.o: In function `vb2_fop_release':
(.text+0x17a34d): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_poll':
(.text+0x17a865): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_poll':
(.text+0x17a9d4): undefined reference to `v4l2_event_pending'
drivers/built-in.o: In function `vb2_fop_poll':
(.text+0x17ab98): undefined reference to `video_devdata'
drivers/built-in.o: In function `__vb2_perform_fileio':
videobuf2-core.c:(.text+0x17b189): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `vb2_fop_write':
(.text+0x17b36f): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_fop_read':
(.text+0x17b48f): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_reqbufs':
(.text+0x17b724): undefined reference to `video_devdata'
drivers/built-in.o:(.rodata+0x27100): undefined reference to `video_ioctl2'
drivers/built-in.o:(.rodata+0x27118): undefined reference to `v4l2_fh_open'
>> drivers/built-in.o:(.rodata+0x277b0): undefined reference to `v4l2_subdev_queryctrl'
>> drivers/built-in.o:(.rodata+0x277e0): undefined reference to `v4l2_subdev_querymenu'

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: Binary data