You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm facing yocto build error when trying to build "5.4-2.3.x-imx" branch for wandboard machine.
| AR drivers/scsi/built-in.a
| CC drivers/video/backlight/lcd.o
| CC drivers/video/console/dummycon.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_gadget_giveback':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:471:3: error: implicit declaration of function 'cdns3_wa2_descmiss_copy_data'; did you mean 'cdns3_descmiss_copy_data'? [-Werror=implicit-function-declaration]
| 471 | cdns3_wa2_descmiss_copy_data(priv_ep, req);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | cdns3_descmiss_copy_data
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_gadget_ep_queue':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:507:3: error: implicit declaration of function 'trace_cdns3_wa2'; did you mean 'trace_cdns3_log'? [-Werror=implicit-function-declaration]
| 507 | trace_cdns3_wa2(priv_ep, "workaround disabled\n");
| | ^~~~~~~~~~~~~~~
| | trace_cdns3_log
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:513:44: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
| 513 | u8 descmiss_empty = list_empty(&priv_ep->wa2_descmiss_req_list);
| | ^~~~~~~~~~~~~~~~~~~~~
| | descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:551:21: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
| 551 | &priv_ep->wa2_descmiss_req_list);
| | ^~~~~~~~~~~~~~~~~~~~~
| | descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_remove_old_request':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:561:31: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
| 561 | while (!list_empty(&priv_ep->wa2_descmiss_req_list)) {
| | ^~~~~~~~~~~~~~~~~~~~~
| | descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:564:48: error: 'struct cdns3_endpoint' has no member named 'wa2_descmiss_req_list'; did you mean 'descmiss_req_list'?
| 564 | priv_req = cdns3_next_priv_request(&priv_ep->wa2_descmiss_req_list);
| | ^~~~~~~~~~~~~~~~~~~~~
| | descmiss_req_list
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:573:12: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
| 573 | --priv_ep->wa2_counter;
| | ^~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_wa2_descmissing_packet':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:13: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
| 599 | if (priv_ep->wa2_counter >= CDNS3_WA2_NUM_BUFFERS)
| | ^~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:30: error: 'CDNS3_WA2_NUM_BUFFERS' undeclared (first use in this function)
| 599 | if (priv_ep->wa2_counter >= CDNS3_WA2_NUM_BUFFERS)
| | ^~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:599:30: note: each undeclared identifier is reported only once for each function it appears in
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:621:9: error: 'struct cdns3_endpoint' has no member named 'wa2_counter'
| 621 | priv_ep->wa2_counter++;
| | ^~
| CC drivers/tty/vt/selection.o
| CC drivers/tee/tee_shm.o
| CC drivers/thermal/of-thermal.o
| CC drivers/usb/cdns3/ep0.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function 'cdns3_check_ep_interrupt_proceed':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:1335:24: error: 'EP_QUIRK_ISO_OUT_EN' undeclared (first use in this function); did you mean 'EP_QUIRK_EXTRA_BUF_EN'?
| 1335 | priv_ep->flags &= ~EP_QUIRK_ISO_OUT_EN;
| | ^~~~~~~~~~~~~~~~~~~
| | EP_QUIRK_EXTRA_BUF_EN
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:1339:3: error: expected '}' before 'else'
| 1339 | else
| | ^~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_ep_set_halt':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2204:2: error: implicit declaration of function 'trace_cdns3_halt'; did you mean 'trace_cdns3_ring'? [-Werror=implicit-function-declaration]
| 2204 | trace_cdns3_halt(priv_ep, 1, 0);
| | ^~~~~~~~~~~~~~~~
| | trace_cdns3_ring
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2206:25: error: 'EP_STALLED' undeclared (first use in this function); did you mean 'EP_STALL'?
| 2206 | if (!(priv_ep->flags & EP_STALLED)) {
| | ^~~~~~~~~~
| | EP_STALL
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2209:22: error: 'EP_STS_DBUSY' undeclared (first use in this function)
| 2209 | if (!(ep_sts_reg & EP_STS_DBUSY))
| | ^~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2212:22: error: 'EP_STALL_PENDING' undeclared (first use in this function)
| 2212 | priv_ep->flags |= EP_STALL_PENDING;
| | ^~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c: In function '__cdns3_gadget_ep_clear_halt':
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2246:8: error: implicit declaration of function 'readl_poll_timeout_atomic' [-Werror=implicit-function-declaration]
| 2246 | ret = readl_poll_timeout_atomic(&priv_dev->regs->ep_cmd, val,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2251:22: error: 'EP_STALLED' undeclared (first use in this function); did you mean 'EP_STALL'?
| 2251 | priv_ep->flags &= ~(EP_STALLED | EP_STALL_PENDING);
| | ^~~~~~~~~~
| | EP_STALL
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:2251:35: error: 'EP_STALL_PENDING' undeclared (first use in this function)
| 2251 | priv_ep->flags &= ~(EP_STALLED | EP_STALL_PENDING);
| | ^~~~~~~~~~~~~~~~
| At top level:
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:810:13: warning: 'cdns3_wa1_tray_restore_cycle_bit' defined but not used [-Wunused-function]
| 810 | static void cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:789:12: warning: 'cdns3_wa1_update_guard' defined but not used [-Wunused-function]
| 789 | static int cdns3_wa1_update_guard(struct cdns3_endpoint *priv_ep,
| | ^~~~~~~~~~~~~~~~~~~~~~
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/drivers/usb/cdns3/gadget.c:587:13: warning: 'cdns3_wa2_descmissing_packet' defined but not used [-Wunused-function]
| 587 | static void cdns3_wa2_descmissing_packet(struct cdns3_endpoint *priv_ep)
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| cc1: some warnings being treated as errors
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:262: recipe for target 'drivers/usb/cdns3/gadget.o' failed
| make[4]: *** [drivers/usb/cdns3/gadget.o] Error 1
| make[4]: *** Waiting for unfinished jobs....
| CC drivers/tty/tty_io.o
| CC drivers/video/backlight/l4f00242t03.o
| AR drivers/video/console/built-in.a
| CC drivers/tty/serial/earlycon.o
| CC drivers/watchdog/watchdog_core.o
| CC drivers/tee/tee_shm_pool.o
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:497: recipe for target 'drivers/usb/cdns3' failed
| make[3]: *** [drivers/usb/cdns3] Error 2
| /home/work/dunfell/Wandboard_build/tmp/work-shared/wandboard/kernel-source/scripts/Makefile.build:497: recipe for target 'drivers/usb' failed
| make[2]: *** [drivers/usb] Error 2
| make[2]: *** Waiting for unfinished jobs....
| CC drivers/watchdog/watchdog_dev.o
| CC drivers/thermal/step_wise.o
The text was updated successfully, but these errors were encountered:
I'm facing yocto build error when trying to build "5.4-2.3.x-imx" branch for wandboard machine.
The text was updated successfully, but these errors were encountered: