videobuf2-core.c:undefined reference to `v4l2_get_timestamp'
From: Fengguang Wu
Date: Sun Oct 11 2015 - 05:08:20 EST
Hi Florian,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4a06c8ac2fb3ef484579ce44f9b809bd310fad48
commit: e831cd251fb91d6c25352d322743db0d17ea11dd [media] add raw video stream support for Samsung SUR40
date: 6 months ago
config: x86_64-randconfig-n0-10111553 (attached as .config)
reproduce:
git checkout e831cd251fb91d6c25352d322743db0d17ea11dd
# 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+0x241ed1): undefined reference to `video_unregister_device'
sur40.c:(.text+0x241ee2): undefined reference to `v4l2_device_unregister'
drivers/built-in.o: In function `sur40_process_video':
sur40.c:(.text+0x24236d): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `sur40_vidioc_querycap':
sur40.c:(.text+0x2429b3): undefined reference to `video_devdata'
drivers/built-in.o: In function `sur40_probe':
sur40.c:(.text+0x242e52): undefined reference to `v4l2_device_register'
sur40.c:(.text+0x242efd): undefined reference to `v4l2_device_unregister'
sur40.c:(.text+0x243003): undefined reference to `video_device_release_empty'
sur40.c:(.text+0x24304d): undefined reference to `__video_register_device'
sur40.c:(.text+0x24309d): undefined reference to `video_unregister_device'
drivers/built-in.o: In function `vb2_fop_mmap':
>> (.text+0x250d65): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_expbuf':
(.text+0x250da6): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_streamoff':
(.text+0x250e26): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_streamon':
(.text+0x250ea6): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_dqbuf':
(.text+0x251cb6): undefined reference to `video_devdata'
drivers/built-in.o:(.text+0x251fc5): more undefined references to `video_devdata' follow
drivers/built-in.o: In function `vb2_thread':
>> videobuf2-core.c:(.text+0x25348d): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `vb2_ioctl_qbuf':
(.text+0x2535a6): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_prepare_buf':
(.text+0x2537a6): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_create_bufs':
(.text+0x253fac): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_ioctl_reqbufs':
(.text+0x25465c): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_poll':
(.text+0x254c5d): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_poll':
>> (.text+0x254ee3): undefined reference to `v4l2_event_pending'
drivers/built-in.o: In function `vb2_fop_poll':
(.text+0x255240): undefined reference to `video_devdata'
drivers/built-in.o: In function `__vb2_perform_fileio':
videobuf2-core.c:(.text+0x255ec1): undefined reference to `v4l2_get_timestamp'
drivers/built-in.o: In function `vb2_fop_read':
(.text+0x2560f7): undefined reference to `video_devdata'
drivers/built-in.o: In function `vb2_fop_write':
(.text+0x2562a7): undefined reference to `video_devdata'
drivers/built-in.o: In function `_vb2_fop_release':
(.text+0x25650c): undefined reference to `video_devdata'
drivers/built-in.o: In function `_vb2_fop_release':
>> (.text+0x256566): undefined reference to `v4l2_fh_release'
drivers/built-in.o: In function `vb2_fop_release':
(.text+0x256605): undefined reference to `video_devdata'
drivers/built-in.o:(.rodata+0x26320): undefined reference to `video_ioctl2'
drivers/built-in.o:(.rodata+0x26340): undefined reference to `v4l2_fh_open'
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data