Return error when make
Opened this issue · 0 comments
Here are the error message I got:
newnex@newnex-MS-7B46:~/FL6000-master/src$ make CONFIG_USB_EHUB_HCD=m
make -C /usr/src/linux-headers-5.0.0-37-generic M=/home/newnex/FL6000-master/src modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0-37-generic'
CC [M] /home/newnex/FL6000-master/src/xhci.o
/home/newnex/FL6000-master/src/xhci.c: In function ‘compliance_mode_recovery_timer_init’:
/home/newnex/FL6000-master/src/xhci.c:278:2: error: implicit declaration of function ‘setup_timer’; did you mean ‘del_timer’? [-Werror=implicit-function-declaration]
setup_timer(&xhci->comp_mode_recovery_timer,
^~~~~~~~~~~
del_timer
/home/newnex/FL6000-master/src/xhci.c: In function ‘ehub_xhci_drop_ep_from_interval_table’:
/home/newnex/FL6000-master/src/xhci.c:2231:2: warning: enumeration value ‘USB_SPEED_SUPER_PLUS’ not handled in switch [-Wswitch]
switch (udev->speed) {
^~~~~~
/home/newnex/FL6000-master/src/xhci.c: In function ‘xhci_add_ep_to_interval_table’:
/home/newnex/FL6000-master/src/xhci.c:2290:2: warning: enumeration value ‘USB_SPEED_SUPER_PLUS’ not handled in switch [-Wswitch]
switch (udev->speed) {
^~~~~~
cc1: some warnings being treated as errors
scripts/Makefile.build:284: recipe for target '/home/newnex/FL6000-master/src/xhci.o' failed
make[2]: *** [/home/newnex/FL6000-master/src/xhci.o] Error 1
Makefile:1614: recipe for target 'module/home/newnex/FL6000-master/src' failed
make[1]: *** [module/home/newnex/FL6000-master/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0-37-generic'
Makefile:56: recipe for target 'all' failed
make: *** [all] Error 2