Open foundation-university opened 4 years ago
apt-get install bc
i execute this command apt-get install bc
and still two errors and response of make all
root@kali:~/Desktop/rtl8188eus# make all
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali2-amd64/build M=/root/Desktop/rtl8188eus modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-kali2-amd64'
CC [M] /root/Desktop/rtl8188eus/core/rtw_cmd.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_security.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_debug.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_io.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ioctl_query.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ioctl_set.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ieee80211.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_mlme.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_mlme_ext.o
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c:1441:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
1441 | if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
| ^
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c:1446:2: note: here
1446 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /root/Desktop/rtl8188eus/core/rtw_mi.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_wlan_util.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_vht.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_pwrctrl.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_rf.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_recv.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_sta_mgt.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ap.o
/root/Desktop/rtl8188eus/core/rtw_ap.c: In function ‘rtw_add_bcn_ie’:
/root/Desktop/rtl8188eus/core/rtw_ap.c:193:9: warning: ‘ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
193 | ielen += 2;
| ~~~~~~^~~~
CC [M] /root/Desktop/rtl8188eus/core/rtw_xmit.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_p2p.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_tdls.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_br_ext.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_iol.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_sreset.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_btcoex_wifionly.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_btcoex.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_beamforming.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_odm.o
CC [M] /root/Desktop/rtl8188eus/core/efuse/rtw_efuse.o
CC [M] /root/Desktop/rtl8188eus/os_dep/osdep_service.o
CC [M] /root/Desktop/rtl8188eus/os_dep/linux/os_intfs.o
/root/Desktop/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,
| ^~~~~~~~~~~~~~~~
/root/Desktop/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[3]: *** [/usr/src/linux-headers-5.3.0-kali2-common/scripts/Makefile.build:286: /root/Desktop/rtl8188eus/os_dep/linux/os_intfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:1639: _module_/root/Desktop/rtl8188eus] Error 2
make[1]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-kali2-amd64'
make: *** [Makefile:1911: modules] Error 2
I'll add a patch for it, just hold on
In the rtl8188eus folder do the below..
make clean wget https://github.com/quickreflex/rtl8188eus/pull/37/commits/0342a5197467a94d60f17cd0c2bf2a7644f51f2c.patch
patch -p1 < . patch rm -rf .patch
make && make install
reboot.. loaded
I tried it, using the patch. The error persists.
/root/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,
| ^~~~
/root/rtl8188eus/os_dep/linux/os_intfs.c:1240:22: note: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’)
Comment out line 1239 - 1241 let me compile, but driver didnt work.
I also tried the patch but not successful.
root@kali:~/Desktop/rtl8188eus# patch -p1 < *.patch
patching file os_dep/linux/os_intfs.c
root@kali:~/Desktop/rtl8188eus# rm -rf *.patch
root@kali:~/Desktop/rtl8188eus# make && make install
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.0-kali2-amd64/build M=/root/Desktop/rtl8188eus modules
make[1]: Entering directory '/usr/src/linux-headers-5.3.0-kali2-amd64'
CC [M] /root/Desktop/rtl8188eus/core/rtw_cmd.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_security.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_debug.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_io.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ioctl_query.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ioctl_set.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ieee80211.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_mlme.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_mlme_ext.o
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c:1441:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
1441 | if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
| ^
/root/Desktop/rtl8188eus/core/rtw_mlme_ext.c:1446:2: note: here
1446 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /root/Desktop/rtl8188eus/core/rtw_mi.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_wlan_util.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_vht.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_pwrctrl.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_rf.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_recv.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_sta_mgt.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_ap.o
/root/Desktop/rtl8188eus/core/rtw_ap.c: In function ‘rtw_add_bcn_ie’:
/root/Desktop/rtl8188eus/core/rtw_ap.c:193:9: warning: ‘ielen’ may be used uninitialized in this function [-Wmaybe-uninitialized]
193 | ielen += 2;
| ~~~~~~^~~~
CC [M] /root/Desktop/rtl8188eus/core/rtw_xmit.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_p2p.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_tdls.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_br_ext.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_iol.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_sreset.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_btcoex_wifionly.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_btcoex.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_beamforming.o
CC [M] /root/Desktop/rtl8188eus/core/rtw_odm.o
CC [M] /root/Desktop/rtl8188eus/core/efuse/rtw_efuse.o
CC [M] /root/Desktop/rtl8188eus/os_dep/osdep_service.o
CC [M] /root/Desktop/rtl8188eus/os_dep/linux/os_intfs.o
/root/Desktop/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,
| ^~~~~~~~~~~~~~~~
/root/Desktop/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[3]: *** [/usr/src/linux-headers-5.3.0-kali2-common/scripts/Makefile.build:286: /root/Desktop/rtl8188eus/os_dep/linux/os_intfs.o] Error 1
make[2]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:1639: _module_/root/Desktop/rtl8188eus] Error 2
make[1]: *** [/usr/src/linux-headers-5.3.0-kali2-common/Makefile:179: sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.3.0-kali2-amd64'
make: *** [Makefile:1911: modules] Error 2
@kimocoder have you find any solution? I am waiting for your answer.
@kimocoder tried this patch method same error
Got same error on kali 2019.4
going to this /lib/modules/5.3.0-kali3-amd64/kernel/drivers/net/wireless and do rmmod 8188eu insmod8188eu.ko
will don
@Qaisser @foundation-university @gu2rks @thewhiteh4t
Use the pull request : https://github.com/quickreflex/rtl8188eus/pull/40 Probably you would be having kernel >= 5.1 ( like myself )
I have run this, works fine .
Also there's a space in
patch -p1 < *. patch
it should be patch -p1 < *.patch
In the rtl8188eus folder do the below..
make clean wget https://github.com/quickreflex/rtl8188eus/pull/37/commits/0342a5197467a94d60f17cd0c2bf2a7644f51f2c.patch
patch -p1 < . patch rm -rf .patch
make && make install
reboot.. loaded
give me your number
On Wed, May 13, 2020 at 5:45 PM Aseem Shrey notifications@github.com wrote:
@Qaisser https://github.com/Qaisser @foundation-university https://github.com/foundation-university @gu2rks https://github.com/gu2rks @thewhiteh4t https://github.com/thewhiteh4t
Use the pull request : #40 https://github.com/quickreflex/rtl8188eus/pull/40 Probably you would be having kernel >= 5.1 ( like myself )
I have run this, works fine . [image: image] https://user-images.githubusercontent.com/17861054/81834539-af602680-955e-11ea-8d13-16e0e1290434.png
Also there's a space in
patch -p1 < *. patch
it should be patch -p1 < *.patch
In the rtl8188eus folder do the below..
make clean wget https://github.com/quickreflex/rtl8188eus/pull/37/commits/0342a5197467a94d60f17cd0c2bf2a7644f51f2c.patch
patch -p1 < . patch rm -rf .patch
make && make install
reboot.. loaded
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quickreflex/rtl8188eus/issues/36#issuecomment-628077499, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOFGOEB35BUUGC4Y7CIUC7DRRK6BZANCNFSM4JOEVKWQ .
Well it got built correctly but still doesn't work. I rebooted but still didn't work.
On Thu, 14 May, 2020, 12:37 pm Qaisser, notifications@github.com wrote:
give me your number
On Wed, May 13, 2020 at 5:45 PM Aseem Shrey notifications@github.com wrote:
@Qaisser https://github.com/Qaisser @foundation-university https://github.com/foundation-university @gu2rks https://github.com/gu2rks @thewhiteh4t <https://github.com/thewhiteh4t
Use the pull request : #40 https://github.com/quickreflex/rtl8188eus/pull/40 Probably you would be having kernel >= 5.1 ( like myself )
I have run this, works fine . [image: image] < https://user-images.githubusercontent.com/17861054/81834539-af602680-955e-11ea-8d13-16e0e1290434.png
Also there's a space in
patch -p1 < *. patch
it should be patch -p1 < *.patch
In the rtl8188eus folder do the below..
make clean wget
patch -p1 < . patch rm -rf .patch
make && make install
reboot.. loaded
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/quickreflex/rtl8188eus/issues/36#issuecomment-628077499 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AOFGOEB35BUUGC4Y7CIUC7DRRK6BZANCNFSM4JOEVKWQ
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/quickreflex/rtl8188eus/issues/36#issuecomment-628434476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIITPRL72ZMG2TVM3YESDDRROKDNANCNFSM4JOEVKWQ .
plz give me solution i too have same issue in kali vmware
I am try to install this driver on kali linux 2019.3 (kernal 5.3.0-kali2-amd64). I followed the instruction and when i execute
commands i and getting this error
commands i and getting this error
Kindly guide main. how to intall the drivers