[Bug 228856] Buildkernel fails with 'options USB_VERBOSE'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 9 22:00:19 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228856

            Bug ID: 228856
           Summary: Buildkernel fails with 'options USB_VERBOSE'
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: ys-h at imail.earth

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list