[hverkuil-media-tree:zoran 37/59] arc-elf-ld: max96712.c:undefined reference to `v4l2_async_unregister_subdev'

From: kernel test robot
Date: Sat Nov 13 2021 - 03:47:23 EST


tree: git://linuxtv.org/hverkuil/media_tree.git zoran
head: 7ce0d221dbb77d82ce789984dcee1fcc27d8f8f0
commit: 118658ed37664dddbc8c0cd8006edc160528b6f7 [37/59] media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer
config: arc-randconfig-r004-20211104 (attached as .config)
compiler: arc-elf-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add hverkuil-media-tree git://linuxtv.org/hverkuil/media_tree.git
git fetch --no-tags hverkuil-media-tree zoran
git checkout 118658ed37664dddbc8c0cd8006edc160528b6f7
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

`.exit.text' referenced in section `__jump_table' of drivers/media/common/siano/smscoreapi.o: defined in discarded section `.exit.text' of drivers/media/common/siano/smscoreapi.o
`.exit.text' referenced in section `__jump_table' of drivers/media/common/siano/smscoreapi.o: defined in discarded section `.exit.text' of drivers/media/common/siano/smscoreapi.o
arc-elf-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_remove':
max96712.c:(.text+0x24): undefined reference to `v4l2_async_unregister_subdev'
>> arc-elf-ld: max96712.c:(.text+0x24): undefined reference to `v4l2_async_unregister_subdev'
arc-elf-ld: drivers/staging/media/max96712/max96712.o: in function `max96712_probe':
max96712.c:(.text+0x1a0): undefined reference to `v4l2_fwnode_endpoint_parse'
>> arc-elf-ld: max96712.c:(.text+0x1a0): undefined reference to `v4l2_fwnode_endpoint_parse'
>> arc-elf-ld: max96712.c:(.text+0x2b4): undefined reference to `v4l2_ctrl_handler_init_class'
>> arc-elf-ld: max96712.c:(.text+0x2b4): undefined reference to `v4l2_ctrl_handler_init_class'
>> arc-elf-ld: max96712.c:(.text+0x2ea): undefined reference to `v4l2_ctrl_new_std'
>> arc-elf-ld: max96712.c:(.text+0x2ea): undefined reference to `v4l2_ctrl_new_std'
>> arc-elf-ld: max96712.c:(.text+0x308): undefined reference to `v4l2_ctrl_new_std_menu_items'
>> arc-elf-ld: max96712.c:(.text+0x308): undefined reference to `v4l2_ctrl_new_std_menu_items'
>> arc-elf-ld: max96712.c:(.text+0x338): undefined reference to `v4l2_async_register_subdev'
>> arc-elf-ld: max96712.c:(.text+0x338): undefined reference to `v4l2_async_register_subdev'
>> arc-elf-ld: max96712.c:(.text+0x356): undefined reference to `v4l2_ctrl_handler_free'
>> arc-elf-ld: max96712.c:(.text+0x356): undefined reference to `v4l2_ctrl_handler_free'

Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for VIDEO_V4L2_SUBDEV_API
Depends on MEDIA_SUPPORT && VIDEO_DEV && MEDIA_CONTROLLER
Selected by
- VIDEO_MAX96712 && STAGING && STAGING_MEDIA && MEDIA_SUPPORT && I2C && OF_GPIO

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip