[hverkuil-media-tree:for-v5.20a 23/29] stk-webcam.c:undefined reference to `usb_free_urb'

From: kernel test robot
Date: Thu May 19 2022 - 15:21:33 EST


tree: git://linuxtv.org/hverkuil/media_tree.git for-v5.20a
head: e481d316b60f1d57e770f21dc5398d5dcff13ee6
commit: 308124c0301a5258078c2ffddd03cf3fb584d792 [23/29] media: stkwebcam: deprecate driver, move to staging
config: m68k-randconfig-c004-20220519 (https://download.01.org/0day-ci/archive/20220520/202205200316.4zqbkVU1-lkp@xxxxxxxxx/config)
compiler: m68k-linux-gcc (GCC) 11.3.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 for-v5.20a
git checkout 308124c0301a5258078c2ffddd03cf3fb584d792
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k 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 >>):

m68k-linux-ld: drivers/macintosh/via-cuda.o: in function `cuda_set_rtc_time':
via-cuda.c:(.text+0xae2): undefined reference to `rtc_tm_to_time64'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_clean_iso':
>> stk-webcam.c:(.text+0x648): undefined reference to `usb_free_urb'
>> m68k-linux-ld: stk-webcam.c:(.text+0x64e): undefined reference to `usb_kill_urb'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_prepare_iso':
>> stk-webcam.c:(.text+0x111e): undefined reference to `usb_kill_urb'
>> m68k-linux-ld: stk-webcam.c:(.text+0x12a0): undefined reference to `usb_free_urb'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_start_stream':
>> stk-webcam.c:(.text+0x1ad2): undefined reference to `usb_submit_urb'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_v4l_dev_release':
>> stk-webcam.c:(.text+0x1f2): undefined reference to `usb_put_intf'
>> m68k-linux-ld: stk-webcam.c:(.text+0x1fc): undefined reference to `usb_put_dev'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_camera_probe':
>> stk-webcam.c:(.text+0xc04): undefined reference to `usb_get_dev'
>> m68k-linux-ld: stk-webcam.c:(.text+0xc14): undefined reference to `usb_get_intf'
>> m68k-linux-ld: stk-webcam.c:(.text+0xd84): undefined reference to `usb_put_intf'
m68k-linux-ld: stk-webcam.c:(.text+0xd8e): undefined reference to `usb_put_dev'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_isoc_handler':
stk-webcam.c:(.text+0x1096): undefined reference to `usb_submit_urb'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_prepare_iso':
>> stk-webcam.c:(.text+0x1124): undefined reference to `usb_alloc_urb'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_initialise':
>> stk-webcam.c:(.text+0x1420): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `v4l_stk_open':
stk-webcam.c:(.text+0x1500): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_vidioc_reqbufs':
stk-webcam.c:(.text+0x15ba): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_vidioc_s_fmt_vid_cap':
stk-webcam.c:(.text+0x1862): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_camera_write_reg':
stk-webcam.c:(.text+0x18c4): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o:stk-webcam.c:(.text+0x1912): more undefined references to `usb_control_msg' follow
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_start_stream':
>> stk-webcam.c:(.text+0x1972): undefined reference to `usb_set_interface'
>> m68k-linux-ld: stk-webcam.c:(.text+0x19ee): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_stop_stream.isra.0':
stk-webcam.c:(.text+0x1f58): undefined reference to `usb_control_msg'
m68k-linux-ld: stk-webcam.c:(.text+0x1f6c): undefined reference to `usb_kill_urb'
>> m68k-linux-ld: stk-webcam.c:(.text+0x1f9c): undefined reference to `usb_set_interface'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `v4l_stk_release':
stk-webcam.c:(.text+0x204c): undefined reference to `usb_control_msg'
m68k-linux-ld: drivers/staging/media/stkwebcam/stk-webcam.o: in function `stk_camera_driver_init':
>> stk-webcam.c:(.init.text+0x14): undefined reference to `usb_register_driver'

--
0-DAY CI Kernel Test Service
https://01.org/lkp