DKMS make.log for rtl8192eu-1.0 for kernel 4.18.0-240.15.1.el8_3.x86_64 (x86_64) Tue Mar 30 08:04:42 IST 2021 make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.18.0-240.15.1.el8_3.x86_64/build M=/var/lib/dkms/rtl8192eu/1.0/build modules make[1]: Entering directory '/usr/src/kernels/4.18.0-240.15.1.el8_3.x86_64' CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_cmd.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_security.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_debug.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.c:47: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_io.c:47: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_query.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ioctl_set.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.c:20: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_ieee80211.c:20: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_types.h:215, from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_precomp.h:29, from /var/lib/dkms/rtl8192eu/1.0/build/include/hal_data.h:20, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_types.h:215, from /var/lib/dkms/rtl8192eu/1.0/build/include/../hal/phydm/phydm_precomp.h:29, from /var/lib/dkms/rtl8192eu/1.0/build/include/hal_data.h:20, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 CC [M] /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.o In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:30, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:17: /var/lib/dkms/rtl8192eu/1.0/build/include/wifi.h:1038: warning: "IEEE80211_MAX_AMPDU_BUF" redefined #define IEEE80211_MAX_AMPDU_BUF 0x40 In file included from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service_linux.h:83, from /var/lib/dkms/rtl8192eu/1.0/build/include/osdep_service.h:50, from /var/lib/dkms/rtl8192eu/1.0/build/include/drv_types.h:27, from /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:17: ./include/linux/ieee80211.h:1463: note: this is the location of the previous definition #define IEEE80211_MAX_AMPDU_BUF 0x100 /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’: /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:18: error: expected ‘)’ before ‘__attribute__’ __attribute__ ((fallthrough)); ^ ) /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:30: error: expected identifier or ‘(’ before ‘)’ token __attribute__ ((fallthrough)); ^ /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.c:1347:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] __attribute__ ((fallthrough)); ^~~~~~~~~~~~~ make[2]: *** [scripts/Makefile.build:316: /var/lib/dkms/rtl8192eu/1.0/build/core/rtw_mlme_ext.o] Error 1 make[1]: *** [Makefile:1544: _module_/var/lib/dkms/rtl8192eu/1.0/build] Error 2 make[1]: Leaving directory '/usr/src/kernels/4.18.0-240.15.1.el8_3.x86_64' make: *** [Makefile:2293: modules] Error 2