linux安装mt7601网卡固件,MT7601U无线网卡驱动无法安装

在执行make后,出现以下报错

make -C tools

make[1]: Entering directory '/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'

gcc -g bin2h.c -o bin2h

make[1]: Leaving directory '/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'

/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h

cp -f os/linux/Makefile.6 /home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile

make -C /lib/modules/4.9.0-deepin12-amd64/build SUBDIRS=/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules

make[1]: Entering directory '/usr/src/linux-headers-4.9.0-deepin12-amd64'

CC [M]  /home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.o

/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:

/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c:2180:12: error: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [-Werror=incompatible-pointer-types]

ie_list,

^~~~~~~

In file included from /home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rt_config.h:59:0,

from /home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c:28:

/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp.h:7892:9: note: expected ‘IE_LISTS * {aka struct _IE_lists *}’ but argument is of type ‘BCN_IE_LIST * {aka struct _bcn_ie_list *}’

BOOLEAN StaAddMacTableEntry(

^~~~~~~~~~~~~~~~~~~

cc1: some warnings being treated as errors

/usr/src/linux-headers-4.9.0-deepin12-common/scripts/Makefile.build:298: recipe for target '/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.o' failed

make[4]: *** [/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.o] Error 1

/usr/src/linux-headers-4.9.0-deepin12-common/Makefile:1516: recipe for target '_module_/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux' failed

make[3]: *** [_module_/home/zn/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux] Error 2

Makefile:150: recipe for target 'sub-make' failed

make[2]: *** [sub-make] Error 2

Makefile:8: recipe for target 'all' failed

make[1]: *** [all] Error 2

make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-deepin12-amd64'

Makefile:394: recipe for target 'LINUX' failed

make: *** [LINUX] Error 2

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值