Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Jun 2018 22:00:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 228856] Buildkernel fails with 'options USB_VERBOSE'
Message-ID:  <bug-228856-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228856

            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@FreeBSD.org
          Reporter: ys-h@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=3D/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe -fno-strict-aliasin=
g=20
-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 -inclu=
de
opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD=20
-MF.depend.usb_device.o -MTusb_device.o -mcmodel=3Dkernel -mno-red-zone -mn=
o-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwra=
pv
-fstack-protector -gdwarf-2 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-comp=
are
-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=3Diso9899: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_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF622,
            ^
./usbdevs_data.h:18527:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF628,
            ^
./usbdevs_data.h:18533:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF626,
            ^
./usbdevs_data.h:18539:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF820D_INSTALLER,
            ^
./usbdevs_data.h:18545:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MF820D,
            ^
./usbdevs_data.h:18551:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_INSTALLER,
            ^
./usbdevs_data.h:18557:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            USB_VENDOR_ZTE, USB_PRODUCT_ZTE_MC2718,
            ^
./usbdevs_data.h:18563:6: error: use of undeclared identifier 'USB_VENDOR_Z=
TE'
            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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228856-227>