-
Notifications
You must be signed in to change notification settings - Fork 397
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
compiling error #187
Comments
There is a solution to the problem. Read the other issues below where the patched driver file is. |
hi sir i have error on compiling please help me |
Copy the output of the make command and paste it here or attach it as a text file. |
It works, but you have to use my driver archive where all the bugs are fixed and you need to install kernel headers. Run the following sequence of commands in an empty directory: wget https://github.com/aircrack-ng/rtl8188eus/files/8977331/rtl8188eus_new.tar.gz |
THANK YOU BRO..... FOR YOUR HELP THANK YOU |
I AM BEGINNER MY AGE IS 17th TO 18th |
You have not installed the driver. You must login and use the root user account to run the "make install" command without error. |
Hi quickreflex please send instagarm id |
|
Maybe it is a feature since kernel 5.19 did not show any error messages stated at my commit: |
Here's a quote from a kernel developer letter: With compilers which follow the C99 standard (like modern versions of "static inline" does the intended behavior in all cases instead. |
So it is really the newer C version that they are implementing. |
does that work on k5.18 on kali linux 2022.2? |
Yes, it works. |
Thank you so much, brother |
|
@MrRezax85 Use this instead. |
thank you bro |
Hi, I have a question. If I can't use wget (because I don't have Ethernet or WiFi connections, obviously...) make [1]: *** /lib/modules/3.4.39-1-lobo/build: no such file or directory. Stop. But build file IS here, I can clearly see it. |
@Lucksinia If you don't have internet connected to your device, get your kernel source code from your phone or a public wifi. Do a |
Okay... I know that will be idiotic question, but I got no Idea how to do it after messing with it for quite a while. Or if just under modules makefile, it writers: The present kernel configuration has modules disabled. Please type 'make config ' and enable loadable modules support. But if I make config: recipe for target config failed. And I am not well versed in kernel building to do it without already precompiled and ready image of a distro. |
The configuration file is under cp -v /boot/config-x.y.z .config Sorry for not being clear of it, as you are not familiar with kernel building. make olddefconfig
make modules
make headers And then install it as root: sudo make install modules_install
sudo make install headers_install
sudo update-initramfs -u If These instructions are for Debian-based or itself. Use this script as reference. |
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.18.0-kali5-amd64/build M=/home/hidden/Desktop/tools/rtl8188eus modules
make[1]: Entering directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
CC [M] /home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.o
/home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.c: In function ‘thread_exit’:
/home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.c:1271:9: error: implicit declaration of function ‘complete_and_exit’ [-Werror=implicit-function-declaration]
1271 | complete_and_exit(comp, 0);
| ^~~~~~~~~~~~~~~~~
/home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.c: In function ‘rtw_change_ifname’:
/home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.c:2450:28: warning: passing argument 1 of ‘_rtw_memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2450 | _rtw_memcpy(pnetdev->dev_addr, adapter_mac_addr(padapter), ETH_ALEN);
| ~~~~~~~^~~~~~~~~~
/home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.c:899:24: note: expected ‘void *’ but argument 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.18.0-kali5-common/scripts/Makefile.build:293: /home/hidden/Desktop/tools/rtl8188eus/os_dep/osdep_service.o] Error 1
make[1]: *** [/usr/src/linux-headers-5.18.0-kali5-common/Makefile:1858: /home/hidden/Desktop/tools/rtl8188eus] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.18.0-kali5-amd64'
make: *** [Makefile:2058: modules] Error 2
The text was updated successfully, but these errors were encountered: