драйвер хочу «левый поставить» (MT7601U_LinuxAP_3.0.0.1_20130802.tar.gz для usb wifi чтобы AP получить) не пойму в чем ошибка
CC [M] /root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.o
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:183:8: warning: unused variable ‘i’ [-Wunused-variable]
ULONG i;
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:924:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
pOSFSInfo->fsuid = current_fsuid();
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:925:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
pOSFSInfo->fsgid = current_fsgid();
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:1886:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [ena bled by default]
file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:1886:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:1871:22: warning: unused variable ‘macValue’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:1871:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
UINT32 macAddr = 0, macValue = 0;
^
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.c:2007:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
struct net_device *net_dev = (struct net_device *)pNetDev;
^
make[2]: *** [/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux/../../os/linux/rt_linux.o] Ошибка 1
make[1]: *** [_module_/root/MT7601U_LinuxAP_3.0.0.1_20130802/os/linux] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.13.0-83-generic'
make: *** [LINUX] Ошибка 2