
Hi there, I have tried both Netgear A6210 & TP-LINK Archer T2UH using a few different sources from git hub. All of them fail at *make* command. This is a common error for some sources: IEEE80211_NUM_BANDS’ undeclared here (not in a function) I am clutching at straws here but is there a library that I am missing is needed? I am CentOS 7 / 3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux Thanks Piers #1 [root@qld Netgear-A6210]# make export DBGFLAGS *** Building driver with debug messages *** cp -f os/linux/Makefile.6 /home/webgen/Downloads/Netgear-A6210/os/linux/Makefile make -C /lib/modules/3.10.0-514.16.1.el7.x86_64/build DBGFLAGS=-DDBG SUBDIRS=/home/webgen/Downloads/Netgear-A6210/os/linux modules make[1]: Entering directory `/usr/src/kernels/3.10.0-514.16.1.el7.x86_64' CC [M] /home/webgen/Downloads/Netgear-A6210/os/linux/../../sta/assoc.o In file included from /home/webgen/Downloads/Netgear-A6210/include/os/rt_linux.h:77:0, from /home/webgen/Downloads/Netgear-A6210/include/rtmp_os.h:30, from /home/webgen/Downloads/Netgear-A6210/include/rtmp_comm.h:64, from /home/webgen/Downloads/Netgear-A6210/include/rt_config.h:34, from /home/webgen/Downloads/Netgear-A6210/os/linux/../../sta/assoc.c:28: /home/webgen/Downloads/Netgear-A6210/include/cfg80211.h:45:49: error: ‘IEEE80211_NUM_BANDS’ undeclared here (not in a function) struct ieee80211_supported_band Cfg80211_bands[IEEE80211_NUM_BANDS]; ^ make[2]: *** [/home/webgen/Downloads/Netgear-A6210/os/linux/../../sta/assoc.o] Error 1 make[1]: *** [_module_/home/webgen/Downloads/Netgear-A6210/os/linux] Error 2 make[1]: Leaving directory `/usr/src/kernels/3.10.0-514.16.1.el7.x86_64' make: *** [debug] Error 2 [root@qld Netgear-A6210]# #2 [root@qld rtl8812AU-driver-4.3.20]# make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.10.0-514.16.1.el7.x86_64/build M=/home/webgen/Downloads/rtl8812AU-driver-4.3.20 modules make[1]: Entering directory `/usr/src/kernels/3.10.0-514.16.1.el7.x86_64' CC [M] /home/webgen/Downloads/rtl8812AU-driver-4.3.20/os_dep/linux/ioctl_cfg80211.o /home/webgen/Downloads/rtl8812AU-driver-4.3.20/os_dep/linux/ioctl_cfg80211.c:92:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_2GHZ, \ ^ /home/webgen/Downloads/rtl8812AU-driver-4.3.20/os_dep/linux/ioctl_cfg80211.c:150:2: note: in expansion of macro ‘CHAN2G’ CHAN2G(1, 2412, 0), ^ /home/webgen/Downloads/rtl8812AU-driver-4.3.20/os_dep/linux/ioctl_cfg80211.c:101:12: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_5GHZ, \ ^