I am having an issue while compiling the wifi driver, I have tried many driver packages but they don't help.
This is the FULL log of what was going on in the terminal while compiling:
Code:
root@kali:~/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1# make && make install
make -C tools
make[1]: Entering directory `/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools'
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/tools/bin2h
cp -f os/linux/Makefile.6 /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/Makefile
make -C /lib/modules/3.12-kali1-686-pae/build SUBDIRS=/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.12-kali1-686-pae'
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_md5.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_sha2.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_hmac.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.o
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c: In function ‘WscEncryptData’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c:1522:1: warning: the frame size of 1364 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c: In function ‘WscDecryptData’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c:1592:1: warning: the frame size of 1364 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c: In function ‘AES_GTK_KEY_WRAP’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_aes.c:2265:1: warning: the frame size of 1092 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/crypt_arc4.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.o
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c: In function ‘BssTableSetEntry’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c:5739:39: warning: operation on ‘Tab->BssOverlapNr’ may be undefined [-Wsequence-point]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c: In function ‘BssTableSortByRssi’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/mlme.c:6100:1: warning: the frame size of 1716 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_wep.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/action.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_data.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_init.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_tkip.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_aes.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_sync.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/eeprom.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_sanity.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_info.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_cfg.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_wpa.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/dfs.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/spectrum.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_timer.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rt_channel.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_profile.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_asic.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/cmm_cmd.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/assoc.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/auth.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/auth_rsp.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.o
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtJoinAction’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c:1094:1: warning: the frame size of 1300 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c: In function ‘PeerBeaconAtScanAction’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c:764:1: warning: the frame size of 1256 bytes is larger than 1024 bytes [-Wframe-larger-than=]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sync.c:1764:1: warning: the frame size of 1296 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sanity.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/rtmp_data.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/connect.o
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/connect.c: In function ‘CntlOidScanProc’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/connect.c:355:1: warning: the frame size of 1744 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/wpa.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/ags.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../sta/sta_cfg.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSFSInfoChange’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1228:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1229:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevDetach’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1694:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSNetDevAttach’:
/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.c:1731:38: warning: initialization discards ‘const’ qualifier from pointer target type [enabled by default]
make[4]: *** [/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux/../../os/linux/rt_linux.o] Error 1
make[3]: *** [_module_/root/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1/os/linux] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.12-kali1-686-pae'
make: *** [LINUX] Error 2
root@kali:~/Desktop/2010_0709_RT2870_Linux_STA_v2.4.0.1#
It is pretty much the same for the others.
I didn't modify the others when it said within a file to do so because I don't know where are the things which I'll need to obtain.
It seems that this one here doesn't support linux by default unlike the other one which works on my Raspberry Pi and Kali Linux which shows that Kali Linux just needs the drivers, I do need the fully supported one for my Raspberry Pi for webserver. FTP, SSH and such use.