In file included from /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:28:
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:443:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^~~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:443:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^~~~~~~~
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/assoc.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth_rsp.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sync.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sanity.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/rtmp_data.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/connect.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/wpa.o
CC [M] /home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.o
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘Set_EncrypType_Proc’:
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:789:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:792:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
if (pAd->StaCfg.BssType == BSS_ADHOC)
^~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwfreq’:
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:5647:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
else
^~~~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:5650:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘else’
return NDIS_STATUS_SUCCESS;
^~~~~~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_giwrate’:
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:7518:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (rate_index >= rate_count)
^~
/home/java/Downloads/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.c:7521:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
网上搜了很多帖子和介绍,也下载了很多驱动,但是在编译环节全部都报错,是不是还需要再安装什么编译环境?
期待高手的解惑。