rtl8814au support for CentOS 7.4 via Rocks7

Issues related to hardware problems
Post Reply
zirogravity
Posts: 2
Joined: 2018/07/24 17:17:27

rtl8814au support for CentOS 7.4 via Rocks7

Post by zirogravity » 2018/07/24 20:24:33

Hello,

I have installed CentOS 7.4 via http://www.rocksclusters.org. I have a Netgear Nighthawk AC1900 WiFi USB Adapter which appears to be using the rtl8814au chipset.

I found these instructions https://edimax.freshdesk.com/support/so ... -than-v4-4 which seem to support other Linux distros. The page claims that the driver should work with kernel versions between 2.6 and 4.4. I can get the driver to work using similar instruction specific to Ubuntu on a Ubuntu 18.04 LTS box I have.

When trying to follow the lead of these instructions i.e. making effort to adopt them to CentOS I get the following:

Code: Select all

Building module:
cleaning build area...
'make'...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.10.0-862.3.2.el7.x86_64 (x86_64)
Consult /var/lib/dkms/rtl8814au/4.3.21/build/make.log for more information.
The make.log output is:

Code: Select all

 DKMS make.log for rtl8814au-4.3.21 for kernel 3.10.0-862.3.2.el7.x86_64 (x86_64)
Tue Jul 24 10:00:37 PDT 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.10.0-862.3.2.el7.x86_64/build M=/var/lib/dkms/rtl8814au/4.3.21/build  modules
make[1]: Entering directory `/usr/src/kernels/3.10.0-862.3.2.el7.x86_64'
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_ap.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_p2p.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_br_ext.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_beamforming.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/core/efuse/rtw_efuse.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/os_intfs.o
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/os_intfs.c:914:2: warning: initialization from incompatible pointer type [enabled by default]
  .ndo_select_queue = rtw_select_queue,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/os_intfs.c:914:2: warning: (near initialization for ‘rtw_netdev_ops.<anonymous>.ndo_select_queue’) [enabled by default]
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/usb_intf.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/usb_ops_linux.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_linux.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/mlme_linux.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/recv_linux.o
  CC [M]  /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.o
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:92:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function)
  .band   = IEEE80211_BAND_2GHZ,  \
            ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:150:2: note: in expansion of macro ‘CHAN2G’
  CHAN2G(1, 2412, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:101:12: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function)
  .band   = IEEE80211_BAND_5GHZ,  \
            ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:167:2: note: in expansion of macro ‘CHAN5G’
  CHAN5G(34, 0),  CHAN5G(36, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:167:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:167:2: error: (near initialization for ‘rtw_5ghz_a_channels[0].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:167:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:167:2: error: (near initialization for ‘rtw_5ghz_a_channels[1].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:168:2: error: initializer element is not constant
  CHAN5G(38, 0),  CHAN5G(40, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:168:2: error: (near initialization for ‘rtw_5ghz_a_channels[2].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:168:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:168:2: error: (near initialization for ‘rtw_5ghz_a_channels[3].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:169:2: error: initializer element is not constant
  CHAN5G(42, 0),  CHAN5G(44, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:169:2: error: (near initialization for ‘rtw_5ghz_a_channels[4].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:169:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:169:2: error: (near initialization for ‘rtw_5ghz_a_channels[5].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:170:2: error: initializer element is not constant
  CHAN5G(46, 0),  CHAN5G(48, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:170:2: error: (near initialization for ‘rtw_5ghz_a_channels[6].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:170:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:170:2: error: (near initialization for ‘rtw_5ghz_a_channels[7].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:171:2: error: initializer element is not constant
  CHAN5G(52, 0),  CHAN5G(56, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:171:2: error: (near initialization for ‘rtw_5ghz_a_channels[8].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:171:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:171:2: error: (near initialization for ‘rtw_5ghz_a_channels[9].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:172:2: error: initializer element is not constant
  CHAN5G(60, 0),  CHAN5G(64, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:172:2: error: (near initialization for ‘rtw_5ghz_a_channels[10].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:172:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:172:2: error: (near initialization for ‘rtw_5ghz_a_channels[11].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:173:2: error: initializer element is not constant
  CHAN5G(100, 0),  CHAN5G(104, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:173:2: error: (near initialization for ‘rtw_5ghz_a_channels[12].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:173:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:173:2: error: (near initialization for ‘rtw_5ghz_a_channels[13].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:174:2: error: initializer element is not constant
  CHAN5G(108, 0),  CHAN5G(112, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:174:2: error: (near initialization for ‘rtw_5ghz_a_channels[14].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:174:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:174:2: error: (near initialization for ‘rtw_5ghz_a_channels[15].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:175:2: error: initializer element is not constant
  CHAN5G(116, 0),  CHAN5G(120, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:175:2: error: (near initialization for ‘rtw_5ghz_a_channels[16].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:175:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:175:2: error: (near initialization for ‘rtw_5ghz_a_channels[17].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:176:2: error: initializer element is not constant
  CHAN5G(124, 0),  CHAN5G(128, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:176:2: error: (near initialization for ‘rtw_5ghz_a_channels[18].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:176:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:176:2: error: (near initialization for ‘rtw_5ghz_a_channels[19].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:177:2: error: initializer element is not constant
  CHAN5G(132, 0),  CHAN5G(136, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:177:2: error: (near initialization for ‘rtw_5ghz_a_channels[20].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:177:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:177:2: error: (near initialization for ‘rtw_5ghz_a_channels[21].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:178:2: error: initializer element is not constant
  CHAN5G(140, 0),  CHAN5G(149, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:178:2: error: (near initialization for ‘rtw_5ghz_a_channels[22].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:178:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:178:2: error: (near initialization for ‘rtw_5ghz_a_channels[23].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:179:2: error: initializer element is not constant
  CHAN5G(153, 0),  CHAN5G(157, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:179:2: error: (near initialization for ‘rtw_5ghz_a_channels[24].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:179:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:179:2: error: (near initialization for ‘rtw_5ghz_a_channels[25].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:180:2: error: initializer element is not constant
  CHAN5G(161, 0),  CHAN5G(165, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:180:2: error: (near initialization for ‘rtw_5ghz_a_channels[26].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:180:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:180:2: error: (near initialization for ‘rtw_5ghz_a_channels[27].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:181:2: error: initializer element is not constant
  CHAN5G(184, 0),  CHAN5G(188, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:181:2: error: (near initialization for ‘rtw_5ghz_a_channels[28].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:181:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:181:2: error: (near initialization for ‘rtw_5ghz_a_channels[29].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:182:2: error: initializer element is not constant
  CHAN5G(192, 0),  CHAN5G(196, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:182:2: error: (near initialization for ‘rtw_5ghz_a_channels[30].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:182:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:182:2: error: (near initialization for ‘rtw_5ghz_a_channels[31].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:183:2: error: initializer element is not constant
  CHAN5G(200, 0),  CHAN5G(204, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:183:2: error: (near initialization for ‘rtw_5ghz_a_channels[32].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:183:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:183:2: error: (near initialization for ‘rtw_5ghz_a_channels[33].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:184:2: error: initializer element is not constant
  CHAN5G(208, 0),  CHAN5G(212, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:184:2: error: (near initialization for ‘rtw_5ghz_a_channels[34].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:184:2: error: initializer element is not constant
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:184:2: error: (near initialization for ‘rtw_5ghz_a_channels[35].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:185:2: error: initializer element is not constant
  CHAN5G(216, 0),
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:185:2: error: (near initialization for ‘rtw_5ghz_a_channels[36].band’)
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:219:2: warning: ‘enum ieee80211_band’ declared inside parameter list [enabled by default]
  )
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:219:2: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:218:22: error: parameter 1 (‘band’) has incomplete type
  enum ieee80211_band band
                      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:217:34: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 struct ieee80211_supported_band *rtw_spt_band_alloc(
                                  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_alloc’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:249:17: error: incompatible types when assigning to type ‘enum nl80211_band’ from type ‘struct ieee80211_channel *’
  spt_band->band = band;
                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_spt_band_free’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:278:20: warning: comparison between pointer and integer [enabled by default]
  if(spt_band->band == IEEE80211_BAND_2GHZ)
                    ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:284:25: warning: comparison between pointer and integer [enabled by default]
  else if(spt_band->band == IEEE80211_BAND_5GHZ)
                         ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ibss_indicate_connect’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:720:2: warning: passing argument 3 of ‘cfg80211_ibss_joined’ makes pointer from integer without a cast [enabled by default]
  cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, GFP_ATOMIC);
  ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:4965:6: note: expected ‘struct ieee80211_channel *’ but argument is of type ‘unsigned int’
 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:720:2: error: too few arguments to function ‘cfg80211_ibss_joined’
  cfg80211_ibss_joined(padapter->pnetdev, cur_network->network.MacAddress, GFP_ATOMIC);
  ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:4965:6: note: declared here
 void cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_connect’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:828:4: warning: passing argument 2 of ‘cfg80211_roamed’ from incompatible pointer type [enabled by default]
    , GFP_ATOMIC);
    ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:5477:6: note: expected ‘struct cfg80211_roam_info *’ but argument is of type ‘struct ieee80211_channel *’
 void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:828:4: warning: passing argument 3 of ‘cfg80211_roamed’ makes integer from pointer without a cast [enabled by default]
    , GFP_ATOMIC);
    ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:5477:6: note: expected ‘gfp_t’ but argument is of type ‘unsigned char *’
 void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:828:4: error: too many arguments to function ‘cfg80211_roamed’
    , GFP_ATOMIC);
    ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:5477:6: note: declared here
 void cfg80211_roamed(struct net_device *dev, struct cfg80211_roam_info *info,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_disconnect’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:889:11: error: ‘struct wireless_dev’ has no member named ‘sme_state’
   if(pwdev->sme_state==CFG80211_SME_CONNECTING)
           ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:889:24: error: ‘CFG80211_SME_CONNECTING’ undeclared (first use in this function)
   if(pwdev->sme_state==CFG80211_SME_CONNECTING)
                        ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:889:24: note: each undeclared identifier is reported only once for each function it appears in
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:892:16: error: ‘struct wireless_dev’ has no member named ‘sme_state’
   else if(pwdev->sme_state==CFG80211_SME_CONNECTED)
                ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:892:29: error: ‘CFG80211_SME_CONNECTED’ undeclared (first use in this function)
   else if(pwdev->sme_state==CFG80211_SME_CONNECTED)
                             ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:893:4: error: too few arguments to function ‘cfg80211_disconnected’
    cfg80211_disconnected(padapter->pnetdev, 0, NULL, 0, GFP_ATOMIC);
    ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:5493:6: note: declared here
 void cfg80211_disconnected(struct net_device *dev, u16 reason,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_get_station’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1847:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_SIGNAL;
                    ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1847:17: error: invalid operands to binary | (have ‘u64’ and ‘struct ieee80211_channel *’)
   sinfo->filled |= STATION_INFO_SIGNAL;
                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1850:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_TX_BITRATE;
                    ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1850:17: error: invalid operands to binary | (have ‘u64’ and ‘struct ieee80211_channel *’)
   sinfo->filled |= STATION_INFO_TX_BITRATE;
                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1853:20: error: ‘STATION_INFO_RX_PACKETS’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_RX_PACKETS;
                    ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1853:17: error: invalid operands to binary | (have ‘u64’ and ‘struct ieee80211_channel *’)
   sinfo->filled |= STATION_INFO_RX_PACKETS;
                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1856:20: error: ‘STATION_INFO_TX_PACKETS’ undeclared (first use in this function)
   sinfo->filled |= STATION_INFO_TX_PACKETS;
                    ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:1856:17: error: invalid operands to binary | (have ‘u64’ and ‘struct ieee80211_channel *’)
   sinfo->filled |= STATION_INFO_TX_PACKETS;
                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_scan_done’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:2059:4: error: incompatible type for argument 2 of ‘cfg80211_scan_done’
    cfg80211_scan_done(pwdev_priv->scan_request, aborted);
    ^
In file included from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service_linux.h:87:0,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/osdep_service.h:41,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:22:
include/net/cfg80211.h:4600:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘bool’
 void cfg80211_scan_done(struct cfg80211_scan_request *request,
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_sta_assoc’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:3667:18: error: ‘STATION_INFO_ASSOC_REQ_IES’ undeclared (first use in this function)
   sinfo.filled = STATION_INFO_ASSOC_REQ_IES;
                  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:3667:16: warning: assignment makes integer from pointer without a cast [enabled by default]
   sinfo.filled = STATION_INFO_ASSOC_REQ_IES;
                ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_dump_station’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:4540:19: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function)
  sinfo->filled |= STATION_INFO_SIGNAL;
                   ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:4540:16: error: invalid operands to binary | (have ‘u64’ and ‘struct ieee80211_channel *’)
  sinfo->filled |= STATION_INFO_SIGNAL;
                ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6228:105: warning: ‘enum ieee80211_band’ declared inside parameter list [enabled by default]
 static void rtw_cfg80211_init_ht_capab_ex(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
                                                                                                         ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6228:120: error: parameter 3 (‘band’) has incomplete type
 static void rtw_cfg80211_init_ht_capab_ex(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
                                                                                                                        ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6228:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 static void rtw_cfg80211_init_ht_capab_ex(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
             ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6276:102: warning: ‘enum ieee80211_band’ declared inside parameter list [enabled by default]
 static void rtw_cfg80211_init_ht_capab(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
                                                                                                      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6276:117: error: parameter 3 (‘band’) has incomplete type
 static void rtw_cfg80211_init_ht_capab(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
                                                                                                                     ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6276:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 static void rtw_cfg80211_init_ht_capab(_adapter *padapter, struct ieee80211_sta_ht_cap *ht_cap, enum ieee80211_band band, u8 rf_type)
             ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_init_wiphy’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6344:23: error: array subscript is not an integer
   bands = wiphy->bands[IEEE80211_BAND_2GHZ];
                       ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6344:9: warning: assignment from incompatible pointer type [enabled by default]
   bands = wiphy->bands[IEEE80211_BAND_2GHZ];
         ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6350:23: error: array subscript is not an integer
   bands = wiphy->bands[IEEE80211_BAND_5GHZ];
                       ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6350:9: warning: assignment from incompatible pointer type [enabled by default]
   bands = wiphy->bands[IEEE80211_BAND_5GHZ];
         ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_preinit_wiphy’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6440:15: error: array subscript is not an integer
   wiphy->bands[IEEE80211_BAND_2GHZ] = rtw_spt_band_alloc(IEEE80211_BAND_2GHZ);
               ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6444:15: error: array subscript is not an integer
   wiphy->bands[IEEE80211_BAND_5GHZ] = rtw_spt_band_alloc(IEEE80211_BAND_5GHZ);
               ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6462:18: error: ‘WIPHY_FLAG_SUPPORTS_SCHED_SCAN’ undeclared (first use in this function)
  wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
                  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6462:15: error: invalid operands to binary | (have ‘u32’ and ‘struct ieee80211_channel *’)
  wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
               ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6471:16: error: incompatible types when assigning to type ‘const struct wiphy_wowlan_support *’ from type ‘const struct wiphy_wowlan_support’
  wiphy->wowlan = wowlan_stub;
                ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6496:2: warning: initialization from incompatible pointer type [enabled by default]
  .change_virtual_intf = cfg80211_rtw_change_iface,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6496:2: warning: (near initialization for ‘rtw_cfg80211_ops.change_virtual_intf’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6504:2: warning: initialization from incompatible pointer type [enabled by default]
  .get_station = cfg80211_rtw_get_station,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6504:2: warning: (near initialization for ‘rtw_cfg80211_ops.get_station’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6519:2: warning: initialization from incompatible pointer type [enabled by default]
  .add_virtual_intf = cfg80211_rtw_add_virtual_intf,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6519:2: warning: (near initialization for ‘rtw_cfg80211_ops.add_virtual_intf’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6532:2: warning: initialization from incompatible pointer type [enabled by default]
  .add_station = cfg80211_rtw_add_station,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6532:2: warning: (near initialization for ‘rtw_cfg80211_ops.add_station’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6533:2: warning: initialization from incompatible pointer type [enabled by default]
  .del_station = cfg80211_rtw_del_station,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6533:2: warning: (near initialization for ‘rtw_cfg80211_ops.del_station’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6534:2: warning: initialization from incompatible pointer type [enabled by default]
  .change_station = cfg80211_rtw_change_station,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6534:2: warning: (near initialization for ‘rtw_cfg80211_ops.change_station’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6550:2: warning: initialization from incompatible pointer type [enabled by default]
  .mgmt_tx = cfg80211_rtw_mgmt_tx,
  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6550:2: warning: (near initialization for ‘rtw_cfg80211_ops.mgmt_tx’) [enabled by default]
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wiphy_free’:
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6596:18: error: array subscript is not an integer
  if (wiphy->bands[IEEE80211_BAND_2GHZ]) {
                  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6597:33: error: array subscript is not an integer
   rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_2GHZ]);
                                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6597:3: warning: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [enabled by default]
   rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_2GHZ]);
   ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:271: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)
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6598:15: error: array subscript is not an integer
   wiphy->bands[IEEE80211_BAND_2GHZ] = NULL;
               ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6600:18: error: array subscript is not an integer
  if (wiphy->bands[IEEE80211_BAND_5GHZ]) {
                  ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6601:33: error: array subscript is not an integer
   rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_5GHZ]);
                                 ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6601:3: warning: passing argument 1 of ‘rtw_spt_band_free’ from incompatible pointer type [enabled by default]
   rtw_spt_band_free(wiphy->bands[IEEE80211_BAND_5GHZ]);
   ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:271: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)
      ^
/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.c:6602:15: error: array subscript is not an integer
   wiphy->bands[IEEE80211_BAND_5GHZ] = NULL;
               ^
make[2]: *** [/var/lib/dkms/rtl8814au/4.3.21/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[1]: *** [_module_/var/lib/dkms/rtl8814au/4.3.21/build] Error 2
make[1]: Leaving directory `/usr/src/kernels/3.10.0-862.3.2.el7.x86_64'
make: *** [modules] Error 2
Wondering if anyone could provide some insight to what I have done wrong and perhaps some direction on getting this USB WiFi module working with this install?

User avatar
TrevorH
Forum Moderator
Posts: 23203
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: rtl8814au support for CentOS 7.4 via Rocks7

Post by TrevorH » 2018/07/25 12:05:18

I suspect the module is confused by the apparent version number of the CentOS kernel (3.10.0) and the fact that Redhat have backported large portions of the network stack from far more recent 4.x kernels.

Personally, I would raise an RFE on the ELREpo bugtracker and ask them if they could build a kmod driver for your card. Their kmod packages do not use dkms but they do depend on the stable KABI used by the RHEL/CentOS kernels so a module built for one CentOS kernel should work with newer ones too.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

zirogravity
Posts: 2
Joined: 2018/07/24 17:17:27

Re: rtl8814au support for CentOS 7.4 via Rocks7

Post by zirogravity » 2018/07/31 17:42:40

Thank you. I will follow up with ELREpo and see if I can gain their support.

Post Reply