aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
GNU General Public License v2.0
3.56k stars 781 forks source link

Compile errors #759

Open hazyl opened 4 years ago

hazyl commented 4 years ago

I had the same -Wimplicit-fallthrough=0 not supported error as already reported in #755. The workaround suggested there generated warnings about -Wno-fallthrough being valid in Java but not in C. I tried compiling with -Wimplicit-fallthrough=0 commented out and with -Wno-fallthrough, both yielding a first error in os_dep/linux/ioctl_cfg80211.h as follows:

/var/lib/dkms/8812au/5.6.4.2_35491.20191025/build/include/../os_dep/linux/ioctl_cfg80211.h:414:27: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)

define NL80211_BAND_2GHZ IEEE80211_BAND_2GHZ

Then, several other errors are reported. I am attaching make.log for the commented out -Wimplicit-fallthrough=0. Please advise. Thank you/ make.log

hazyl commented 4 years ago

My kernel is 3.10.0-693.17.1.el7.x86_64 and my gcc is 4.8.5-16.el7_4.1. I am running CentOs 7.4.

danielhollas commented 2 years ago

@hazyl sorry for reviving this old issue but did you ever manage to make this work? I am trying to compile for the same kernel version and running into the same issue as you describe.