LGW@LGW-PC:~/Downloads/rtl8192ee-master$ make all
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.77-amd64-desktop/build M=/home/LGW/Downloads/rtl8192ee-master modules
make[1]: 进入目录“/usr/src/linux-headers-5.15.77-amd64-desktop”
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_cmd.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_security.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_debug.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_io.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ioctl_query.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ioctl_set.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ieee80211.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mlme.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mlme_ext.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mi.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_wlan_util.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_vht.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_pwrctrl.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_rf.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_recv.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.o
/home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c:312:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
312 | if (&psta->lock != NULL)
| ^~
In file included from /home/LGW/Downloads/rtl8192ee-master/include/drv_types.h:106,
from /home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c:17:
/home/LGW/Downloads/rtl8192ee-master/include/sta_info.h:215:17: note: ‘lock’ declared here
215 | _lock lock;
| ^~~~
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ap.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_xmit.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_p2p.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_rson.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_tdls.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_br_ext.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_iol.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_sreset.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_btcoex_wifionly.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_btcoex.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_beamforming.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_odm.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/efuse/rtw_efuse.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/osdep_service.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/os_intfs.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/pci_intf.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/pci_ops_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/xmit_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/mlme_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/recv_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.o
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:396:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
396 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/LGW/Downloads/rtl8192ee-master/include/osdep_service_linux.h:93,
from /home/LGW/Downloads/rtl8192ee-master/include/osdep_service.h:47,
from /home/LGW/Downloads/rtl8192ee-master/include/drv_types.h:27,
from /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:7699:6: note: declared here
7699 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:2605:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘ssid’ will never be NULL [-Waddress]
2605 | if (ssids->ssid != NULL
| ^~
./include/net/cfg80211.h:2172:12: note: ‘ssid’ declared here
2172 | u8 ssid[IEEE80211_MAX_SSID_LEN];
| ^~~~
make[2]: *** [scripts/Makefile.build:289:/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.o] 错误 1
make[1]: *** [Makefile:1900:/home/LGW/Downloads/rtl8192ee-master] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.15.77-amd64-desktop”
make: *** [Makefile:1827:modules] 错误 2
LGW@LGW-PC:~/Downloads/rtl8192ee-master$
LGW@LGW-PC:~/Downloads/rtl8192ee-master$ make all
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.77-amd64-desktop/build M=/home/LGW/Downloads/rtl8192ee-master modules
make[1]: 进入目录“/usr/src/linux-headers-5.15.77-amd64-desktop”
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_cmd.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_security.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_debug.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_io.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ioctl_query.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ioctl_set.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ieee80211.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mlme.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mlme_ext.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_mi.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_wlan_util.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_vht.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_pwrctrl.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_rf.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_recv.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.o
/home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’:
/home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c:312:25: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
312 | if (&psta->lock != NULL)
| ^~
In file included from /home/LGW/Downloads/rtl8192ee-master/include/drv_types.h:106,
from /home/LGW/Downloads/rtl8192ee-master/core/rtw_sta_mgt.c:17:
/home/LGW/Downloads/rtl8192ee-master/include/sta_info.h:215:17: note: ‘lock’ declared here
215 | _lock lock;
| ^~~~
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_ap.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_xmit.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_p2p.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_rson.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_tdls.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_br_ext.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_iol.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_sreset.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_btcoex_wifionly.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_btcoex.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_beamforming.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/rtw_odm.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/core/efuse/rtw_efuse.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/osdep_service.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/os_intfs.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/pci_intf.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/pci_ops_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/xmit_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/mlme_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/recv_linux.o
CC [M] /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.o
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:396:9: error: too many arguments to function ‘cfg80211_ch_switch_notify’
396 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/LGW/Downloads/rtl8192ee-master/include/osdep_service_linux.h:93,
from /home/LGW/Downloads/rtl8192ee-master/include/osdep_service.h:47,
from /home/LGW/Downloads/rtl8192ee-master/include/drv_types.h:27,
from /home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:7699:6: note: declared here
7699 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.c:2605:33: warning: the comparison will always evaluate as ‘true’ for the address of ‘ssid’ will never be NULL [-Waddress]
2605 | if (ssids->ssid != NULL
| ^~
./include/net/cfg80211.h:2172:12: note: ‘ssid’ declared here
2172 | u8 ssid[IEEE80211_MAX_SSID_LEN];
| ^~~~
make[2]: *** [scripts/Makefile.build:289:/home/LGW/Downloads/rtl8192ee-master/os_dep/linux/ioctl_cfg80211.o] 错误 1
make[1]: *** [Makefile:1900:/home/LGW/Downloads/rtl8192ee-master] 错误 2
make[1]: 离开目录“/usr/src/linux-headers-5.15.77-amd64-desktop”
make: *** [Makefile:1827:modules] 错误 2
LGW@LGW-PC:~/Downloads/rtl8192ee-master$