-
Notifications
You must be signed in to change notification settings - Fork 73
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
rtl8188eus/os_dep/linux/os_intfs.o] Error 1 #48
Comments
I've run into this problem before, I'm a Linux novice.1Remember your version of the kernel first:
For example, my kernel version is 4.18.0 2Then you need to modify two files: os_dep/linux/os_intfs.c#L1102
os_dep/linux/rtw_android.c#L629
Then it can be compiled successfully. |
@Coolkkmeat arter i did that i tried to compile it again and i got this errors |
@Espinosa123321 I've never studied C, so I don't know. I'll try to search for related issues and here's my guess : |
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)-[-/rt18188eus] 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 | |
uname -r
'5.4.0-29-generic'
Lubuntu 20.04
I have this error message at make
CC [M] /home/user/rtl8188eus/os_dep/linux/os_intfs.o /home/user/rtl8188eus/os_dep/linux/os_intfs.c:1240:22: error: initialization of ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *)’} from incompatible pointer type ‘u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *))’ {aka ‘short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *))’} [-Werror=incompatible-pointer-types] 1240 | .ndo_select_queue = rtw_select_queue, | ^~~~~~~~~~~~~~~~ /home/user/rtl8188eus/os_dep/linux/os_intfs.c:1240:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:275: /home/user/rtl8188eus/os_dep/linux/os_intfs.o] Error 1 make[1]: *** [Makefile:1719: /home/user/rtl8188eus] Error 2 make[1]: se sale del directorio '/usr/src/linux-headers-5.4.0-29-generic' make: *** [Makefile:1911: modules] Error 2
thanks for your work
The text was updated successfully, but these errors were encountered: