该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
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