fastoe / RTL8812BU_for_Raspbian

RTL8812BU Driver for Raspbian
70 stars 18 forks source link

Cannot compile #25

Open Cyn7kaL opened 1 year ago

Cyn7kaL commented 1 year ago

I followed the guide, updating the kernel headers and running the rpi-source command, but when I go to make, I get this

make ARCH=arm CROSS_COMPILE= -C /lib/modules/6.1.21-v8+/build M=/home/oreemm/RTL8812BU_for_Raspbian modules make[1]: Entering directory '/home/oreemm/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed' CC [M] /home/oreemm/RTL8812BU_for_Raspbian/core/rtw_cmd.o In file included from ./include/asm-generic/int-ll64.h:11, from ./arch/arm/include/uapi/asm/types.h:5, from ./include/uapi/linux/types.h:5, from ./include/linux/types.h:6, from /home/oreemm/RTL8812BU_for_Raspbian/include/basic_types.h:75, from /home/oreemm/RTL8812BU_for_Raspbian/include/drv_types.h:26, from /home/oreemm/RTL8812BU_for_Raspbian/core/rtw_cmd.c:17: ./include/uapi/asm-generic/int-ll64.h:12:10: fatal error: asm/bitsperlong.h: No such file or directory 12 | #include <asm/bitsperlong.h> | ^~~~~~~ compilation terminated. make[2]: [scripts/Makefile.build:250: /home/oreemm/RTL8812BU_for_Raspbian/core/rtw_cmd.o] Error 1 make[1]: [Makefile:2012: /home/oreemm/RTL8812BU_for_Raspbian] Error 2 make[1]: Leaving directory '/home/oreemm/linux-0afb5e98488aed7017b9bf321b575d0177feb7ed' make: *** [Makefile:2284: modules] Error 2