ubuntu16.04安装DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.bz2报错

一剑飘飘一生笑傲 2017-03-28 09:32:29
make -C tools
make[1]: Entering directory '/home/vito/git/DPO_MT7601U_LinuxSTA/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/vito/git/DPO_MT7601U_LinuxSTA/tools'
/home/vito/git/DPO_MT7601U_LinuxSTA/tools/bin2h
cp -f os/linux/Makefile.6 /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/Makefile
make -C /lib/modules/4.8.0-41-generic/build SUBDIRS=/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-4.8.0-41-generic'
CC [M] /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.o
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c:331:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
In file included from /home/vito/git/DPO_MT7601U_LinuxSTA/include/rtmp_os.h:44:0,
from /home/vito/git/DPO_MT7601U_LinuxSTA/include/rtmp_comm.h:75,
from /home/vito/git/DPO_MT7601U_LinuxSTA/include/rt_config.h:33,
from /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c:28:
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c:399:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned in’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBl
^
/home/vito/git/DPO_MT7601U_LinuxSTA/include/os/rt_linux.h:661:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../os/linux/rt_profile.c:399:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBl
^
CC [M] /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/assoc.o
CC [M] /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/auth.o
CC [M] /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/auth_rsp.o
CC [M] /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/sync.o
/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
/home/vito/git/DPO_MT7601U_LinuxSTA/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/vito/git/DPO_MT7601U_LinuxSTA/include/rt_config.h:59:0,
from /home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/sync.c:28:
/home/vito/git/DPO_MT7601U_LinuxSTA/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
scripts/Makefile.build:289: recipe for target '/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/sync.o' failed
make[2]: *** [/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux/../../sta/sync.o] Error 1
Makefile:1491: recipe for target '_module_/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux' failed
make[1]: *** [_module_/home/vito/git/DPO_MT7601U_LinuxSTA/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-41-generic'
Makefile:394: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
...全文
819 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
weixin_37940203 2018-12-22
  • 打赏
  • 举报
回复
楼主这个问题解决了么? 我的只报了下面的错误,想问一下怎么解决啊 make -C tools make[1]: 进入目录“/root/mt7601/src/tools” gcc -g bin2h.c -o bin2h make[1]: 离开目录“/root/mt7601/src/tools” /root/mt7601/src/tools/bin2h cp -f os/linux/Makefile.6 /root/mt7601/src/os/linux/Makefile make -C /lib/modules/4.18.0-kali3-amd64/build SUBDIRS=/root/mt7601/src/os/linux modules make[1]: 进入目录“/usr/src/linux-rpi-4.18.y” CC [M] /root/mt7601/src/os/linux/../../sta/sync.o /root/mt7601/src/os/linux/../../sta/sync.c: In function ‘PeerBeacon’: /root/mt7601/src/os/linux/../../sta/sync.c:2182:12: error: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [-Werror=incompatible-pointer-types] &ie_list, ^~~~~~~~ In file included from /root/mt7601/src/include/rt_config.h:59, from /root/mt7601/src/os/linux/../../sta/sync.c:28: /root/mt7601/src/include/rtmp.h:7900:15: note: expected ‘IE_LISTS *’ {aka ‘struct _IE_lists *’} but argument is of type ‘BCN_IE_LIST **’ {aka ‘struct _bcn_ie_list **’} IN IE_LISTS *ie_list, ~~~~~~~~~~^~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:318:/root/mt7601/src/os/linux/../../sta/sync.o] 错误 1 make[1]: *** [Makefile:1505:_module_/root/mt7601/src/os/linux] 错误 2 make[1]: 离开目录“/usr/src/linux-rpi-4.18.y” make: *** [Makefile:395:LINUX] 错误 2
CrazyCoder1992 2017-11-12
  • 打赏
  • 举报
回复
楼主解决了吗?我也遇到这个问题

21,595

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 驱动开发/核心开发
社区管理员
  • 驱动开发/核心开发社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧