aircrack-ng / rtl8188eus

RealTek RTL8188eus WiFi driver with monitor mode & frame injection support
955 stars 405 forks source link

Issue while installing rtl8188fu drivers #250

Open abdullah5411 opened 1 year ago

abdullah5411 commented 1 year ago

I am not able to make my rtl8188fu driver, as this error occurs, please help


┌──(root㉿windows)-[/home/abdullah/rtl8188fu]
└─# make      
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.1.0-kali9-amd64/build M=/home/abdullah/rtl8188fu  modules
make[1]: Entering directory '/usr/src/linux-headers-6.1.0-kali9-amd64'
  CC [M]  /home/abdullah/rtl8188fu/os_dep/osdep_service.o
/home/abdullah/rtl8188fu/os_dep/osdep_service.c: In function ‘rtw_random32’:
/home/abdullah/rtl8188fu/os_dep/osdep_service.c:2350:16: error: implicit declaration of function ‘prandom_u32’; did you mean ‘prandom_u32_max’? [-Werror=implicit-function-declaration]
 2350 |         return prandom_u32();
      |                ^~~~~~~~~~~
      |                prandom_u32_max
cc1: some warnings being treated as errors
make[2]: *** [/usr/src/linux-headers-6.1.0-kali9-common/scripts/Makefile.build:255: /home/abdullah/rtl8188fu/os_dep/osdep_service.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-kali9-common/Makefile:2037: /home/abdullah/rtl8188fu] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-kali9-amd64'
make: *** [Makefile:470: modules] Error 2
AbhiJohnv commented 1 year ago

Try this bro : https://github.com/varkmarker/Tp-linkWN722NV2.git

kechaw commented 1 year ago

hi @abdullah5411 , did it work for you ? I am also facing the same problem.

Ahmedzero800 commented 1 year ago

hi @abdullah5411 , did it work for you ? I am also facing the same problem.

use this https://github.com/gglluukk/rtl8188eus worked for me for newer kernal verison like 6.1