-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error while running the make command on Arch Linux Kernel version 5.18.10 #32
Comments
I think that i have the same error:
|
i'm using |
I have the same error but i am using |
It didn't work for me. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when i try to run the make command i get this back
Xavier% make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.10-arch1-1/build M=/home/xavier/RTL8812BU modules
make[1]: Entering directory '/usr/lib/modules/5.18.10-arch1-1/build'
CC [M] /home/xavier/RTL8812BU/os_dep/osdep_service.o
/home/xavier/RTL8812BU/os_dep/osdep_service.c: In function ‘thread_exit’:
/home/xavier/RTL8812BU/os_dep/osdep_service.c:1302:9: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
1302 | complete_and_exit(comp, 0);
| ^~~~~~~~~~~~~~~~~
/home/xavier/RTL8812BU/os_dep/osdep_service.c: In function ‘isFileReadable’:
/home/xavier/RTL8812BU/os_dep/osdep_service.c:2224:9: error: unknown type name ‘mm_segment_t’
2224 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/xavier/RTL8812BU/os_dep/osdep_service.c: In function ‘retriveFromFile’:
/home/xavier/RTL8812BU/os_dep/osdep_service.c:2269:9: error: unknown type name ‘mm_segment_t’
2269 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/xavier/RTL8812BU/os_dep/osdep_service.c: In function ‘storeToFile’:
/home/xavier/RTL8812BU/os_dep/osdep_service.c:2312:9: error: unknown type name ‘mm_segment_t’
2312 | mm_segment_t oldfs;
| ^~~~~~~~~~~~
/home/xavier/RTL8812BU/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/home/xavier/RTL8812BU/os_dep/osdep_service.c:2564:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2564 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/home/xavier/RTL8812BU/os_dep/osdep_service.c:922:24: note: expected ‘void *’ but argument is of type ‘const unsigned char *’
922 | void _rtw_memcpy(void *dst, const void *src, u32 sz)
| ~~~~~~^~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:288: /home/xavier/RTL8812BU/os_dep/osdep_service.o] Error 1
make[1]: *** [Makefile:1838: /home/xavier/RTL8812BU] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.18.10-arch1-1/build'
make: *** [Makefile:2390: modules] Error 2
ive tried to fix this by installing the correct linux headers but that did not fix it and i did clone the v5.8.7 branch
Thanks for taking a look at this.
The text was updated successfully, but these errors were encountered: