Warning: Object directory not changed from original /root/rtwn/sys/modules/rtwn_usb
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/root/rtwn/sys/modules/rtwn_usb/../.. -I. -I/usr/src/sys -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MF.depend.rtwn_usb_attach.o -MTrtwn_usb_attach.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign -Dprintf=__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-error-address-of-packed-member -mno-aes -mno-avx -std=iso9899:1999 -c /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c -o rtwn_usb_attach.o
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:117:2: error: use of undeclared identifier
'USB_PRODUCT_ASUS_USBAC56'
RTWN_RTL8812AU_DEV(ASUS, USBAC56),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USBVENDOR##v, USBPRODUCT##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:86:1: note: expanded from here
USB_PRODUCT_ASUS_USBAC56
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:118:2: error: use of undeclared identifier
'USB_PRODUCT_CISCOLINKSYS_WUSB6300'
RTWN_RTL8812AU_DEV(CISCOLINKSYS, WUSB6300),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:90:1: note: expanded from here
USB_PRODUCT_CISCOLINKSYS_WUSB6300
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:119:2: error: use of undeclared identifier
'USB_PRODUCT_DLINK_DWA182C1'
RTWN_RTL8812AU_DEV(DLINK, DWA182C1),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:94:1: note: expanded from here
USB_PRODUCT_DLINK_DWA182C1
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:120:2: error: use of undeclared identifier
'USB_PRODUCT_DLINK_DWA180A1'
RTWN_RTL8812AU_DEV(DLINK, DWA180A1),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:98:1: note: expanded from here
USB_PRODUCT_DLINK_DWA180A1
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:121:2: error: use of undeclared identifier
'USB_PRODUCT_EDIMAX_EW7822UAC'
RTWN_RTL8812AU_DEV(EDIMAX, EW7822UAC),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:102:1: note: expanded from here
USB_PRODUCT_EDIMAX_EW7822UAC
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:122:2: error: use of undeclared identifier
'USB_PRODUCT_IODATA_WNAC867U'
RTWN_RTL8812AU_DEV(IODATA, WNAC867U),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:106:1: note: expanded from here
USB_PRODUCT_IODATA_WNAC867U
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:123:2: error: use of undeclared identifier
'USB_PRODUCT_MELCO_WIU3866D'
RTWN_RTL8812AU_DEV(MELCO, WIU3866D),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:110:1: note: expanded from here
USB_PRODUCT_MELCO_WIU3866D
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:124:2: error: use of undeclared identifier
'USB_PRODUCT_NEC_WL900U'
RTWN_RTL8812AU_DEV(NEC, WL900U),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:114:1: note: expanded from here
USB_PRODUCT_NEC_WL900U
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:125:2: error: use of undeclared identifier
'USB_PRODUCT_PLANEX2_GW900D'
RTWN_RTL8812AU_DEV(PLANEX2, GW900D),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:118:1: note: expanded from here
USB_PRODUCT_PLANEX2_GW900D
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:126:2: error: use of undeclared identifier
'USB_PRODUCT_SENAO_EUB1200AC'
RTWN_RTL8812AU_DEV(SENAO, EUB1200AC),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:122:1: note: expanded from here
USB_PRODUCT_SENAO_EUB1200AC
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:127:2: error: use of undeclared identifier
'USB_PRODUCT_SITECOMEU_WLA7100'
RTWN_RTL8812AU_DEV(SITECOMEU, WLA7100),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:126:1: note: expanded from here
USB_PRODUCT_SITECOMEU_WLA7100
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:128:2: error: use of undeclared identifier
'USB_VENDOR_TPLINK'
RTWN_RTL8812AU_DEV(TPLINK, T4U),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:12: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:127:1: note: expanded from here
USB_VENDOR_TPLINK
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:128:2: error: use of undeclared identifier
'USB_PRODUCT_TPLINK_T4U'
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:130:1: note: expanded from here
USB_PRODUCT_TPLINK_T4U
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:129:2: error: use of undeclared identifier
'USB_PRODUCT_TRENDNET_TEW805UB'
RTWN_RTL8812AU_DEV(TRENDNET, TEW805UB),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:134:1: note: expanded from here
USB_PRODUCT_TRENDNET_TEW805UB
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:130:2: error: use of undeclared identifier
'USB_PRODUCT_ZYXEL_NWD6605'
RTWN_RTL8812AU_DEV(ZYXEL, NWD6605),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:116:28: note: expanded from macro 'RTWN_RTL8812AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8812AU) }
^
:138:1: note: expanded from here
USB_PRODUCT_ZYXEL_NWD6605
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:136:2: error: use of undeclared identifier
'USB_PRODUCT_DLINK_DWA171A1'
RTWN_RTL8821AU_DEV(DLINK, DWA171A1),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821AU) }
^
:142:1: note: expanded from here
USB_PRODUCT_DLINK_DWA171A1
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:137:2: error: use of undeclared identifier
'USB_PRODUCT_DLINK_DWA172A1'
RTWN_RTL8821AU_DEV(DLINK, DWA172A1),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821AU) }
^
:146:1: note: expanded from here
USB_PRODUCT_DLINK_DWA172A1
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:138:2: error: use of undeclared identifier
'USB_PRODUCT_EDIMAX_EW7811UTC_1'
RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_1),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821AU) }
^
:150:1: note: expanded from here
USB_PRODUCT_EDIMAX_EW7811UTC_1
^
In file included from /root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.c:55:
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:139:2: error: use of undeclared identifier
'USB_PRODUCT_EDIMAX_EW7811UTC_2'
RTWN_RTL8821AU_DEV(EDIMAX, EW7811UTC_2),
^
/root/rtwn/sys/modules/rtwn_usb/../../dev/rtwn/usb/rtwn_usb_attach.h:135:28: note: expanded from macro 'RTWN_RTL8821AU_DEV'
{ USB_VPI(USB_VENDOR_##v, USB_PRODUCT_##v##_##p, RTWN_CHIP_RTL8821AU) }
^
:154:1: note: expanded from here
USB_PRODUCT_EDIMAX_EW7811UTC_2
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** Error code 1
Stop.
make: stopped in /root/rtwn/sys/modules/rtwn_usb
Freebsd 11.2