Wind River Support Network

HomeDefectsLIN5-18748
Fixed

LIN5-18748 : [wrLinux501 Async BSP altera-socfpga] project build error on drivers/usb/otg/dwc/platform.c on BSP altera-socfpga

Created: May 13, 2014    Updated: Dec 19, 2017
Resolved Date: May 14, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.15
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

[wrLinux501] project build error on drivers/usb/otg/dwc/platform.c on BSP altera-socfpga

|   CC      drivers/usb/storage/usb.o
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c: In function 'dwc_otg_driver_remove':
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c:132:2: error: implicit declaration of function 'usb_put_transceiver' [-Werror=implicit-function-declaration]
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c: In function 'dwc_otg_driver_probe':
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c:277:2: error: implicit declaration of function 'usb_nop_xceiv_register' [-Werror=implicit-function-declaration]
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c:278:2: error: implicit declaration of function 'usb_get_transceiver' [-Werror=implicit-function-declaration]
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c:278:26: warning: assignment makes pointer from integer without a cast [enabled by default]
| /altera-socfpga-cgl/bitbake_build/tmp/work/altera_socfpga-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/drivers/usb/otg/dwc/platform.c:370:2: error: implicit declaration of function 'usb_nop_xceiv_unregister' [-Werror=implicit-function-declaration]
| cc1: some warnings being treated as errors
| make[5]: *** [drivers/usb/otg/dwc/platform.o] Error 1
| make[4]: *** [drivers/usb/otg/dwc] Error 2
| make[4]: *** Waiting for unfinished jobs....
|   CC      drivers/usb/storage/initializers.o
|   LD      drivers/scsi/arm/built-in.o

Other Downloads


Live chat
Online