aircrack-ng / rtl8188eus

RealTek RTL8188eus WiFi driver with monitor mode & frame injection support
925 stars 397 forks source link

Can't compile for Kernel 6.7.3 (Fedora 39) #279

Open lpgasparotto opened 5 months ago

lpgasparotto commented 5 months ago

Hi, I was compiling this module without issues until the last Kernel upgrade. Now I get this error message: /home/luispa/src/8188eu-git/OK/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:9414:26: error: inicialización de ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_ap_update *)’ desde un tipo de puntero ‘int (*)(struct wiphy *, struct net_device *, struct cfg80211_beacon_data *)’ incompatible [-Werror=incompatible-pointer-types] 9414 | .change_beacon = cfg80211_rtw_change_beacon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/luispa/src/8188eu-git/OK/rtl8188eus/os_dep/linux/ioctl_cfg80211.c:9414:26: nota: (cerca de la inicialización de ‘rtw_cfg80211_ops.change_beacon’) cc1: nota: unrecognized command-line option ‘-Wno-sometimes-uninitialized’ may have been intended to silence earlier diagnostics cc1: algunos avisos se tratan como errores make[3]: *** [scripts/Makefile.build:243: /home/luispa/src/8188eu-git/OK/rtl8188eus/os_dep/linux/ioctl_cfg80211.o] Error 1 make[2]: *** [/usr/src/kernels/6.7.3-200.fc39.x86_64/Makefile:1929: /home/luispa/src/8188eu-git/OK/rtl8188eus] Error 2 make[1]: *** [Makefile:246: __sub-make] Error 2 make[1]: se sale del directorio '/usr/src/kernels/6.7.3-200.fc39.x86_64' make: *** [Makefile:2065: modules] Error 2

Is there any kind of work around for this issue?

Thank you very much in advance!

lpgasparotto commented 5 months ago

Solved using this fork: https://github.com/gglluukk/rtl8188eus