| Summary: | Buildkernel fails with 'options USB_VERBOSE' | ||
|---|---|---|---|
| Product: | Base System | Reporter: | ys-h |
| Component: | kern | Assignee: | Eitan Adler <eadler> |
| Status: | Closed FIXED | ||
| Severity: | Affects Some People | ||
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
A commit references this bug: Author: eadler Date: Mon Jun 11 05:27:08 UTC 2018 New revision: 334942 URL: https://svnweb.freebsd.org/changeset/base/334942 Log: usbdevs: adding vendor PR: 228856 Reported by: hrs, ys-h@imail.earth Changes: head/sys/dev/usb/usbdevs |
make buildkernel fails after r334650. Kernel config with 'options USB_VERBOSE' added. The last output is below: cc -target x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasing -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.usb_device.o -MTusb_device.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -Wno-error-unused-function -Wno-error-pointer-sign -Wno-error-shift-negative-value -Wno-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -Werror /usr/src/sys/dev/usb/usb_device.c In file included from /usr/src/sys/dev/usb/usb_device.c:2477: ./usbdevs_data.h:18521:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF622, ^ ./usbdevs_data.h:18527:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF628, ^ ./usbdevs_data.h:18533:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF626, ^ ./usbdevs_data.h:18539:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF820D_INSTALLER, ^ ./usbdevs_data.h:18545:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF820D, ^ ./usbdevs_data.h:18551:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_INSTALLER, ^ ./usbdevs_data.h:18557:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MC2718, ^ ./usbdevs_data.h:18563:6: error: use of undeclared identifier 'USB_VENDOR_ZTE' USB_VENDOR_ZTE, USB_PRODUCT_ZTE_AC8700, ^ 8 errors generated. *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/GENERIC *** Error code 1 Stop. make[1]: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src