Which suggests that REDHAT_76 is not getting defined in the Makefile so lines are being processed that should not be. All the following errors are similar. I'd try starting again afresh and editing the Makefile after cloning in a more conventional way. I'd also not clone into /usr/src or do anything as root until "make install"./usr/src/rtl8812au-cccooo/include/../os_dep/linux/ioctl_cfg80211.h:382:27: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)
#define NL80211_BAND_2GHZ IEEE80211_BAND_2GHZ
Help with rtl8812au WiFi driver in Centos 7.7
Re: Help with rtl8812au WiFi driver in Centos 7.7
Why not just edit the Makefile with, say, "vi"? I don't understand how you can use WinSCP to do the edit! From the error you're getting (the first actual error, as opposed to warning) is:
Re: Help with rtl8812au WiFi driver in Centos 7.7
The line shift characters in windows and linux are different which
may (or not) explain your problem. You may find nano easier to use
than vi.
may (or not) explain your problem. You may find nano easier to use
than vi.
Re: Help with rtl8812au WiFi driver in Centos 7.7
What is the contents of your /etc/redhat-release?
Re: Help with rtl8812au WiFi driver in Centos 7.7
Thanks for all your help. I'll have to own up a bit that I don't use Centos but a Centos based distro, ClearOS, and they claim to be binary compatible with Centos and (now) have switched to using the Centos kernel.
The issue is that their /etc/redhat-release contains:On a Centos 7.6 system I see:The significant thing is where the version number appears. In ClearOS it is the third field and Centos the fourth so I also had to change:to:
Without your help I would not have got there. Thank you very much.
FWIW I am doing make as root as it is only in a scratch VM so I am not worried if I hose things. On my proper box I use an unpriveleged user.
The issue is that their /etc/redhat-release contains:
Code: Select all
ClearOS release 7.7.1 (Final)
Code: Select all
CentOS Linux release 7.6.1810 (Core)
Code: Select all
REDHAT_VER := $(shell cut -f4 -d" " /etc/redhat-release |cut -d"." -f1,2 )
Code: Select all
REDHAT_VER := $(shell cut -f3 -d" " /etc/redhat-release |cut -d"." -f1,2 )
FWIW I am doing make as root as it is only in a scratch VM so I am not worried if I hose things. On my proper box I use an unpriveleged user.
Re: Help with rtl8812au WiFi driver in Centos 7.7
Just to round this off, I put in a request to ElRepo and they have kindly compiled the module as kmod-rtl8812au-5.3.4-1.el7_7.elrepo.x86_64.rpm. I hope people find it useful.