Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot compile #25

Open
Cyn7kaL opened this issue Oct 16, 2023 · 0 comments
Open

Cannot compile #25

Cyn7kaL opened this issue Oct 16, 2023 · 0 comments

Comments

@Cyn7kaL
Copy link

Cyn7kaL commented Oct 16, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant