Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Make dkms error for linux 4.20 #12

Open
AmyangXYZ opened this issue Dec 31, 2018 · 0 comments · May be fixed by #14
Open

Make dkms error for linux 4.20 #12

AmyangXYZ opened this issue Dec 31, 2018 · 0 comments · May be fixed by #14

Comments

@AmyangXYZ
Copy link

DKMS make.log for rtl8821cu-5.2.5.3_24795.20171031.r18.g0278eaa for kernel 4.20.0-arch1-1-ARCH (x86_64)
Mon Dec 31 17:08:57 CST 2018
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.20.0-arch1-1-ARCH/build M=/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build  modules
make[1]: Entering directory '/usr/lib/modules/4.20.0-arch1-1-ARCH/build'
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_io.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_cmd.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_debug.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_io.c:52:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_security.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_io.c:52:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_security.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ieee80211.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_query.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme_ext.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_set.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ieee80211.c:25:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mi.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/../hal/phydm/phydm_types.h:191,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/../hal/phydm/phydm_precomp.h:24,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/hal_data.h:25,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/../hal/phydm/phydm_types.h:191,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/../hal/phydm/phydm_precomp.h:24,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/hal_data.h:25,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme_ext.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_wlan_util.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mi.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_mi.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_wlan_util.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_pwrctrl.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_vht.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_pwrctrl.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ap.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_rf.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_recv.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sta_mgt.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_xmit.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_p2p.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ap.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_p2p.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_p2p.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_xmit.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_xmit.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_tdls.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_br_ext.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_tdls.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_tdls.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_iol.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sreset.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex_wifionly.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_br_ext.c:32:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_br_ext.c:32:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_iol.c:21:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_iol.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_beamforming.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sreset.c:21:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_sreset.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex_wifionly.c:20:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex_wifionly.c:20:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_odm.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/efuse/rtw_efuse.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_beamforming.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_beamforming.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_btcoex.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/osdep_service.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/os_intfs.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/rtw_odm.h:23,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_odm.c:21:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/rtw_odm.h:23,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/rtw_odm.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/efuse/rtw_efuse.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/core/efuse/rtw_efuse.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_intf.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/osdep_service.c:24:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/osdep_service.c:24:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/os_intfs.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/os_intfs.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_ops_linux.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_linux.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_intf.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_intf.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_ops_linux.c:21:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/usb_ops_linux.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/xmit_linux.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/mlme_linux.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_linux.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_linux.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/recv_linux.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/xmit_linux.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/xmit_linux.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/mlme_linux.c:24:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/mlme_linux.c:24:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/recv_linux.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/recv_linux.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_cfgvendor.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/wifi_regd.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_cfgvendor.c:21:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_cfgvendor.c:21:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/wifi_regd.c:7:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/wifi_regd.c:7:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_get_systime_us’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.c:339:2: error: implicit declaration of function ‘get_monotonic_boottime’; did you mean ‘getboottime’? [-Werror=implicit-function-declaration]
  get_monotonic_boottime(&ts);
  ^~~~~~~~~~~~~~~~~~~~~~
  getboottime
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_android.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_proc.o
  CC [M]  /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.o
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_android.c:25:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_android.c:25:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:291: /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_proc.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/rtw_proc.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:35,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:22:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/wifi.h:1019: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service_linux.h:86,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/osdep_service.h:47,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/include/drv_types.h:32,
                 from /var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:22:
./include/linux/ieee80211.h:1442: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:51:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:133:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:265:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:307:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:415:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:463:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:491:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:524:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:549:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:587:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:633:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:809:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8 input[wrqu->data.length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:843:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1022:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1060:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1173:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1199:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1225:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1264:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  char input[wrqu->data.length];
  ^~~~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1293:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->length];
  ^~
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_hwtx’:
/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build/os_dep/linux/ioctl_mp.c:1935:2: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
  u8  input[wrqu->data.length];
  ^~
make[1]: *** [Makefile:1563: _module_/var/lib/dkms/rtl8821cu/5.2.5.3_24795.20171031.r18.g0278eaa/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.20.0-arch1-1-ARCH/build'
make: *** [Makefile:1923: modules] Error 2
@ivdok ivdok linked a pull request Jan 4, 2019 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant