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

Fix compilation for Linux 5.1 #31

Merged
merged 1 commit into from
Apr 11, 2019
Merged

Fix compilation for Linux 5.1 #31

merged 1 commit into from
Apr 11, 2019

Conversation

tomaspinho
Copy link
Owner

replace get_ds() with KERNEL_DS

@Mr-Noob117
Copy link

Mr-Noob117 commented Jun 19, 2022

alguem pode me ajudar por favor a resolver esses erros IRRITANTES do comando "make"??? sou novato no linux!!! quais comandos devo usar??? obrigado...

(root Black)-[-/rtl8188eus]

make && make install make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.17.0-kali3-amd64/build M=/root/r tl8188eus modules make[1]: Entrando no diretório '/usr/src/linux-headers-5.17.0-kali3-amd64',

CC [M] /root/rtl8188eus/os_dep/osdep_service.o /root/rtl8188eus/os_dep/osdep service.c: In function 'thread_exit': /root/rtl8188eus/os_dep/osdep_service.c:1271:9: error: implicit declaration of fun ction 'complete_and_exit' [-Werror=implicit-function-declaration] 1271 |
complete_and_exit(comp, 0);
/root/rtl8188eus/os_dep/osdep_service.c: In function 'rtw_change_ifname': /root/rtl8188eus/os_dep/osdep_service.c:2450:28: warning: passing argument 1 of '. rtw_memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-quali, fiers] 2450 |
_rtw_memcpy(pnetdev-dev_addr, adapter_mac_addr(padapter), ETH_ALE
N);
/root/rtl8188eus/os_dep/osdep_service.c:899:24: note: expected 'void *' but argume int is of type 'const unsigned char *
899 | void _rtw_memcpy(void *dst, const void *src, u32 sz),
cc1: some warnings being treated as errors make[2]: *** [/usr/src/linux-headers-5.17.0-kali3-common/scripts/Makefile.build:29 3: /root/rtl8188eus/os_dep/osdep_service.o] Erro 1 make[1]: *** [/usr/src/linux-headers-5.17.0-kali3-common/Makefile:1855: /root/rtl8188eus] Erro 2 make[1]: Saindo do diretório '/usr/src/linux-headers-5.17.0-kali3-amd64' make: *** [Makefile:2058: modules] Erro 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

Successfully merging this pull request may close these issues.

None yet

4 participants