make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.8.0-kali2-686-pae/build M=/usr/src/rtl8812au-master modules make[1]: se entra en el directorio '/usr/src/linux-headers-4.8.0-kali2-686-pae' CC [M] /usr/src/rtl8812au-master/core/rtw_cmd.o CC [M] /usr/src/rtl8812au-master/core/rtw_security.o CC [M] /usr/src/rtl8812au-master/core/rtw_debug.o CC [M] /usr/src/rtl8812au-master/core/rtw_io.o CC [M] /usr/src/rtl8812au-master/core/rtw_ioctl_query.o CC [M] /usr/src/rtl8812au-master/core/rtw_ioctl_set.o CC [M] /usr/src/rtl8812au-master/core/rtw_ieee80211.o CC [M] /usr/src/rtl8812au-master/core/rtw_mlme.o CC [M] /usr/src/rtl8812au-master/core/rtw_mlme_ext.o CC [M] /usr/src/rtl8812au-master/core/rtw_wlan_util.o CC [M] /usr/src/rtl8812au-master/core/rtw_vht.o CC [M] /usr/src/rtl8812au-master/core/rtw_pwrctrl.o CC [M] /usr/src/rtl8812au-master/core/rtw_rf.o CC [M] /usr/src/rtl8812au-master/core/rtw_recv.o CC [M] /usr/src/rtl8812au-master/core/rtw_sta_mgt.o CC [M] /usr/src/rtl8812au-master/core/rtw_ap.o CC [M] /usr/src/rtl8812au-master/core/rtw_xmit.o CC [M] /usr/src/rtl8812au-master/core/rtw_p2p.o CC [M] /usr/src/rtl8812au-master/core/rtw_tdls.o CC [M] /usr/src/rtl8812au-master/core/rtw_br_ext.o CC [M] /usr/src/rtl8812au-master/core/rtw_iol.o CC [M] /usr/src/rtl8812au-master/core/rtw_sreset.o CC [M] /usr/src/rtl8812au-master/core/rtw_btcoex.o CC [M] /usr/src/rtl8812au-master/core/rtw_beamforming.o CC [M] /usr/src/rtl8812au-master/core/rtw_odm.o CC [M] /usr/src/rtl8812au-master/core/efuse/rtw_efuse.o CC [M] /usr/src/rtl8812au-master/os_dep/osdep_service.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/os_intfs.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/usb_intf.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/usb_ops_linux.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/ioctl_linux.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/xmit_linux.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/mlme_linux.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/recv_linux.o CC [M] /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.o /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:92:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_2GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:150:2: note: in expansion of macro ‘CHAN2G’ CHAN2G(1, 2412, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[0].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:167:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[1].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:167:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:168:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(38, 0), CHAN5G(40, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[2].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:168:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(38, 0), CHAN5G(40, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:168:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(38, 0), CHAN5G(40, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[3].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:168:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(38, 0), CHAN5G(40, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:169:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(42, 0), CHAN5G(44, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[4].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:169:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(42, 0), CHAN5G(44, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:169:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(42, 0), CHAN5G(44, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[5].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:169:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(42, 0), CHAN5G(44, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:170:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(46, 0), CHAN5G(48, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[6].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:170:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(46, 0), CHAN5G(48, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:170:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(46, 0), CHAN5G(48, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[7].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:170:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(46, 0), CHAN5G(48, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:171:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(52, 0), CHAN5G(56, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[8].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:171:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(52, 0), CHAN5G(56, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:171:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(52, 0), CHAN5G(56, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[9].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:171:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(52, 0), CHAN5G(56, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:172:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(60, 0), CHAN5G(64, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[10].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:172:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(60, 0), CHAN5G(64, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:172:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(60, 0), CHAN5G(64, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[11].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:172:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(60, 0), CHAN5G(64, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:173:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(100, 0), CHAN5G(104, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[12].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:173:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(100, 0), CHAN5G(104, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:173:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(100, 0), CHAN5G(104, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[13].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:173:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(100, 0), CHAN5G(104, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:174:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(108, 0), CHAN5G(112, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[14].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:174:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(108, 0), CHAN5G(112, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:174:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(108, 0), CHAN5G(112, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[15].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:174:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(108, 0), CHAN5G(112, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:175:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(116, 0), CHAN5G(120, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[16].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:175:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(116, 0), CHAN5G(120, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:175:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(116, 0), CHAN5G(120, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[17].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:175:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(116, 0), CHAN5G(120, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:176:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(124, 0), CHAN5G(128, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[18].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:176:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(124, 0), CHAN5G(128, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:176:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(124, 0), CHAN5G(128, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[19].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:176:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(124, 0), CHAN5G(128, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:177:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(132, 0), CHAN5G(136, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[20].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:177:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(132, 0), CHAN5G(136, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:177:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(132, 0), CHAN5G(136, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[21].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:177:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(132, 0), CHAN5G(136, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:178:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(140, 0), CHAN5G(149, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[22].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:178:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(140, 0), CHAN5G(149, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:178:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(140, 0), CHAN5G(149, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[23].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:178:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(140, 0), CHAN5G(149, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:179:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(151, 0), CHAN5G(153, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[24].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:179:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(151, 0), CHAN5G(153, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:179:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(151, 0), CHAN5G(153, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[25].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:179:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(151, 0), CHAN5G(153, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:180:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(155, 0), CHAN5G(157, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[26].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:180:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(155, 0), CHAN5G(157, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:180:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(155, 0), CHAN5G(157, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[27].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:180:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(155, 0), CHAN5G(157, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:181:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(161, 0), CHAN5G(165, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[28].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:181:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(161, 0), CHAN5G(165, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:181:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(161, 0), CHAN5G(165, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[29].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:181:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(161, 0), CHAN5G(165, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:182:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(184, 0), CHAN5G(188, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[30].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:182:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(184, 0), CHAN5G(188, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:182:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(184, 0), CHAN5G(188, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[31].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:182:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(184, 0), CHAN5G(188, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:183:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(192, 0), CHAN5G(196, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[32].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:183:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(192, 0), CHAN5G(196, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:183:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(192, 0), CHAN5G(196, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[33].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:183:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(192, 0), CHAN5G(196, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:184:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(200, 0), CHAN5G(204, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[34].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:184:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(200, 0), CHAN5G(204, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:184:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(200, 0), CHAN5G(204, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[35].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:184:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(200, 0), CHAN5G(204, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:185:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(208, 0), CHAN5G(212, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[36].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:185:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(208, 0), CHAN5G(212, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:185:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(208, 0), CHAN5G(212, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[37].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:185:19: note: in expansion of macro ‘CHAN5G’ CHAN5G(208, 0), CHAN5G(212, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:186:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(216, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:101:12: note: (near initialization for ‘rtw_5ghz_a_channels[38].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:186:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(216, 0), ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:220:2: warning: ‘enum ieee80211_band’ declared inside parameter list ) ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:220:2: warning: its scope is only this definition or declaration, which is probably not what you want /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:219:22: error: parameter 1 (‘band’) has incomplete type enum ieee80211_band band ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:218:34: error: function declaration isn’t a prototype [-Werror=strict-prototypes] struct ieee80211_supported_band *rtw_spt_band_alloc( ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_alloc’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:250:17: error: incompatible types when assigning to type ‘enum nl80211_band’ from type ‘struct ieee80211_channel *’ spt_band->band = band; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_free’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:279:20: warning: comparison between pointer and integer if(spt_band->band == IEEE80211_BAND_2GHZ) ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:285:25: warning: comparison between pointer and integer else if(spt_band->band == IEEE80211_BAND_5GHZ) ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_scan_done’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:2027:49: error: incompatible type for argument 2 of ‘cfg80211_scan_done’ cfg80211_scan_done(pwdev_priv->scan_request, aborted); ^ In file included from /usr/src/rtl8812au-master/include/osdep_service_linux.h:87:0, from /usr/src/rtl8812au-master/include/osdep_service.h:41, from /usr/src/rtl8812au-master/include/drv_types.h:32, from /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:22: /usr/src/linux-headers-4.8.0-kali2-common/include/net/cfg80211.h:4113:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘bool {aka _Bool}’ void cfg80211_scan_done(struct cfg80211_scan_request *request, ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: At top level: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6219:105: warning: ‘enum ieee80211_band’ declared inside parameter list t_capab_ex(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_b ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6219:120: error: parameter 3 (‘band’) has incomplete type pter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6219:13: error: function declaration isn’t a prototype [-Werror=strict-prototypes] static void rtw_cfg80211_init_ht_capab_ex(_adapter *padapter, struct ieee80211_sta_h ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6267:102: warning: ‘enum ieee80211_band’ declared inside parameter list t_ht_capab(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_b ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6267:117: error: parameter 3 (‘band’) has incomplete type pter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6267:13: error: function declaration isn’t a prototype [-Werror=strict-prototypes] static void rtw_cfg80211_init_ht_capab(_adapter *padapter, struct ieee80211_sta_ht_c ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_init_wiphy’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6353:23: error: array subscript is not an integer bands = wiphy->bands[IEEE80211_BAND_2GHZ]; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6353:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] bands = wiphy->bands[IEEE80211_BAND_2GHZ]; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6359:23: error: array subscript is not an integer bands = wiphy->bands[IEEE80211_BAND_5GHZ]; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6359:9: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] bands = wiphy->bands[IEEE80211_BAND_5GHZ]; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_preinit_wiphy’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6451:15: error: array subscript is not an integer wiphy->bands[IEEE80211_BAND_2GHZ] = rtw_spt_band_alloc(IEEE80211_BAND_2GHZ); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6455:15: error: array subscript is not an integer wiphy->bands[IEEE80211_BAND_5GHZ] = rtw_spt_band_alloc(IEEE80211_BAND_5GHZ); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wiphy_free’: /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6605:18: error: array subscript is not an integer if (wiphy->bands[IEEE80211_BAND_2GHZ]) { ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6606:33: error: array subscript is not an integer rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_2GHZ]); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6606:21: error: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [-Werror=incompatible-pointer-types] rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_2GHZ]); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:272:6: note: expected ‘struct ieee80211_supported_band *’ but argument is of type ‘struct ieee80211_channel *’ void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6607:15: error: array subscript is not an integer wiphy->bands[IEEE80211_BAND_2GHZ] = NULL; ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6609:18: error: array subscript is not an integer if (wiphy->bands[IEEE80211_BAND_5GHZ]) { ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6610:33: error: array subscript is not an integer rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_5GHZ]); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6610:21: error: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [-Werror=incompatible-pointer-types] rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_5GHZ]); ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:272:6: note: expected ‘struct ieee80211_supported_band *’ but argument is of type ‘struct ieee80211_channel *’ void rtw_spt_band_free(struct ieee80211_supported_band *spt_band) ^ /usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.c:6611:15: error: array subscript is not an integer wiphy->bands[IEEE80211_BAND_5GHZ] = NULL; ^ cc1: some warnings being treated as errors /usr/src/linux-headers-4.8.0-kali2-common/scripts/Makefile.build:294: fallo en las instrucciones para el objetivo '/usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.o' make[4]: *** [/usr/src/rtl8812au-master/os_dep/linux/ioctl_cfg80211.o] Error 1 /usr/src/linux-headers-4.8.0-kali2-common/Makefile:1490: fallo en las instrucciones para el objetivo '_module_/usr/src/rtl8812au-master' make[3]: *** [_module_/usr/src/rtl8812au-master] Error 2 Makefile:150: fallo en las instrucciones para el objetivo 'sub-make' make[2]: *** [sub-make] Error 2 Makefile:8: fallo en las instrucciones para el objetivo 'all' make[1]: *** [all] Error 2 make[1]: se sale del directorio '/usr/src/linux-headers-4.8.0-kali2-686-pae' Makefile:1259: fallo en las instrucciones para el objetivo 'modules' make: *** [modules] Error 2