I am building on a fresh Arch install. Headers are installed, and I'm using the latest gcc.
CC [M] /root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.o
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:396:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
396 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/Documents/rtl8192ee/include/osdep_service_linux.h:93,
from /root/Documents/rtl8192ee/include/osdep_service.h:47,
from /root/Documents/rtl8192ee/include/drv_types.h:27,
from /root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8261:6: note: declared here
8261 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_connect’:
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:984:26: error: ‘struct cfg80211_roam_info’ has no member named ‘bssid’
984 | roam_info.bssid = cur_network->network.MacAddress;
| ^
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’:
/root/Documents/rtl8192ee/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:2357:12: note: ‘ssid’ declared here
2357 | u8 ssid[IEEE80211_MAX_SSID_LEN];
| ^~~~
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c: At top level:
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:7320:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *)’ [-Werror=incompatible-pointer-types]
7320 | .stop_ap = cfg80211_rtw_stop_ap,
| ^~~~~~~~~~~~~~~~~~~~
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:7320:20: note: (near initialization for ‘rtw_cfg80211_ops.stop_ap’)
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_unregister’:
/root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.c:7566:17: error: ‘struct wireless_dev’ has no member named ‘current_bss’
7566 | if (wdev->current_bss) {
| ^~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:249: /root/Documents/rtl8192ee/os_dep/linux/ioctl_cfg80211.o] Error 1
I am getting the below build errors.
I am building on a fresh Arch install. Headers are installed, and I'm using the latest gcc.