[ragnatech:media-tree 36/155] ld.lld: error: undefined symbol: v4l2_async_unregister_subdev

From: kernel test robot
Date: Tue Nov 23 2021 - 22:19:34 EST


tree: git://git.ragnatech.se/linux media-tree
head: 999ed03518cb01aa9ef55c025db79567eec6268c
commit: 5814f32fef137e34577c4f053272c53e7ca33cd9 [36/155] media: staging: max96712: Add basic support for MAX96712 GMSL2 deserializer
config: arm64-randconfig-r011-20211123 (https://download.01.org/0day-ci/archive/20211124/202111241108.IyiZnpgG-lkp@xxxxxxxxx/config.gz)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 49e3838145dff1ec91c2e67a2cb562775c8d2a08)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git remote add ragnatech git://git.ragnatech.se/linux
git fetch --no-tags ragnatech media-tree
git checkout 5814f32fef137e34577c4f053272c53e7ca33cd9
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 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 >>):

>> ld.lld: error: undefined symbol: v4l2_async_unregister_subdev
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_remove) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_fwnode_endpoint_parse
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_ctrl_handler_init_class
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_ctrl_new_std
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_ctrl_new_std_menu_items
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_ctrl_handler_free
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: v4l2_async_register_subdev
>>> referenced by max96712.c
>>> staging/media/max96712/max96712.o:(max96712_probe) in archive drivers/built-in.a

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