This fails to build for kernel 6.xxx
Here is the full log
DKMS make.log for 8188fu-r126.f56edce for kernel 5.15.86-1-lts (x86_64) Tue Jan 10 04:57:13 PM EST 2023 make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.15.86-1-lts/build M=/var/lib/dkms/8188fu/r126.f56edce/build modules make[1]: Entering directory '/usr/lib/modules/5.15.86-1-lts/build' CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_cmd.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_security.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_debug.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_io.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_ioctl_query.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_ioctl_set.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_ieee80211.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_mlme.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_mlme_ext.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_wlan_util.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_vht.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_pwrctrl.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_rf.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_recv.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_sta_mgt.o /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_sta_mgt.c: In function ‘rtw_mfree_stainfo’: /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_sta_mgt.c:348:24: warning: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress] 348 | if(&psta->lock != NULL) | ^~ In file included from /var/lib/dkms/8188fu/r126.f56edce/build/include/drv_types.h:110, from /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_sta_mgt.c:22: /var/lib/dkms/8188fu/r126.f56edce/build/include/sta_info.h:176:17: note: ‘lock’ declared here 176 | _lock lock; | ^~~~ CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_ap.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_xmit.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_p2p.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_tdls.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_br_ext.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_iol.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_sreset.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_btcoex.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_beamforming.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/rtw_odm.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/core/efuse/rtw_efuse.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/osdep_service.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/os_intfs.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/usb_intf.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/usb_ops_linux.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_linux.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/xmit_linux.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/mlme_linux.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/recv_linux.o CC [M] /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.o /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_indicate_connect’: /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:828:26: error: ‘struct cfg80211_roam_info’ has no member named ‘links’ 828 | roam_info.links[0].bssid = cur_network->network.MacAddress; | ^ /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_scan’: /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:2454:32: warning: the comparison will always evaluate as ‘true’ for the address of ‘ssid’ will never be NULL [-Waddress] 2454 | if(ssids->ssid != NULL | ^~ In file included from /var/lib/dkms/8188fu/r126.f56edce/build/include/osdep_service_linux.h:87, from /var/lib/dkms/8188fu/r126.f56edce/build/include/osdep_service.h:45, from /var/lib/dkms/8188fu/r126.f56edce/build/include/drv_types.h:32, from /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:22: ./include/net/cfg80211.h:2172:12: note: ‘ssid’ declared here 2172 | u8 ssid[IEEE80211_MAX_SSID_LEN]; | ^~~~ /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c: At top level: /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:6660:20: error: initialization of ‘int ()(struct wiphy , struct net_device )’ from incompatible pointer type ‘int ()(struct wiphy , struct net_device , unsigned int)’ [-Werror=incompatible-pointer-types] 6660 | .stop_ap = cfg80211_rtw_stop_ap, | ^~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:6660:20: note: (near initialization for ‘rtw_cfg80211_ops.stop_ap’) /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_unregister’: /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.c:6859:19: error: ‘struct wireless_dev’ has no member named ‘connected’; did you mean ‘connect_keys’? 6859 | if (wdev->connected) { | ^~~~~~~~~ | connect_keys cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:289: /var/lib/dkms/8188fu/r126.f56edce/build/os_dep/linux/ioctl_cfg80211.o] Error 1 make[1]: [Makefile:1902: /var/lib/dkms/8188fu/r126.f56edce/build] Error 2 make[1]: Leaving directory '/usr/lib/modules/5.15.86-1-lts/build' make: *** [Makefile:1147: modules] Error 2
Pinned Comments
codebling commented on 2023-02-25 02:23 (UTC)
For versions >= 6.2, in-kernel drivers are available.
codebling commented on 2023-02-01 16:41 (UTC)
Reminder: I am only the packager, not the driver developer. Please report driver issues to the developer at the upstream URL.