. Но не помогло.
sergio@sergio-MS-7996 ~/mediatek_mt7610u_sta_driver_linux-64bit $ make clean
cp -f os/linux/Makefile.clean os/linux/Makefile
make -C os/linux clean
make[1]: вход в каталог «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux»
rm -f ../../common/*.o
rm -f ../../common/.*.cmd .*.flags .*.d
rm -f ../../os/linux/*.o *.ko *.mod.o *.mod.c
rm -f ../../os/linux/.*.cmd .*.flags .*.d
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Modules.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.cmd .*.flags .*.d
rm -f ../../rate_ctrl/*.o
rm -f ../../rate_ctrl/.*.cmd .*.flags .*.d
rm -f ../../ate/common/*.o
rm -f ../../ate/common/.*.cmd .*.flags .*.d
rm -f ../../ate/chips/*.o
rm -f ../../ate/chips/.*.cmd .*.flags .*.d
rm -f ../../phy/*.o
rm -f ../../phy/.*.cmd .*.flags .*.d
rm -f ../../mac/*.o
rm -f ../../mac/.*.cmd .*.flags .*.d
rm -f ../../mcu/*.o
rm -f ../../mcu/.*.cmd .*.flags .*.d
rm -f ../../mgmt/*.o
rm -f ../../mgmt/.*.cmd .*.flags .*.d
rm -f ../../naf/*.o
rm -f ../../naf/.*.cmd .*.flags .*.d
rm -f ../../sta/*.o
rm -f ../../sta/.*.cmd .*.flags .*.d
make[1]: выход из каталога «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux»
rm -rf os/linux/Makefile
sergio@sergio-MS-7996 ~/mediatek_mt7610u_sta_driver_linux-64bit $ make
make -C tools
make[1]: вход в каталог «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/tools»
gcc -g bin2h.c -o bin2h
make[1]: выход из каталога «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/tools»
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/tools/bin2h
chipset = mt7610u
cp -f os/linux/Makefile.6 /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/Makefile
make -C /lib/modules/4.13.0-26-generic/build SUBDIRS=/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux modules
make[1]: вход в каталог «/usr/src/linux-headers-4.13.0-26-generic»
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.o
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:334:16: warning: unused variable ‘pAd’ [-Wunused-variable]
RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
^
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/sergio/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_
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/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_
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/assoc.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/auth_rsp.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sync.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sanity.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/rtmp_data.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/connect.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/wpa.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../sta/sta_cfg.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../mgmt/mgmt_vht.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/vht.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_md5.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_sha2.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_hmac.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.o
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/crypt_aes.h:31,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failur
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failur
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/crypt_arc4.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/mlme.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wep.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/action.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_data.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.o
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 9 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 10 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:1061:9: warning: unused variable ‘i’ [-Wunused-variable]
USHORT i;
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:1684:1: warning: the frame size of 2056 bytes is larger than 1024 bytes [-Wframe-larger-than=]
}
^
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c: In function ‘NICReadEEPROMParameters’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:9: warning: array subscript is above array bounds [-Warray-bounds]
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:664:33: note: in expansion of macro ‘DBGPRINT_RAW’
#define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:9: warning: array subscript is above array bounds [-Warray-bounds]
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:664:33: note: in expansion of macro ‘DBGPRINT_RAW’
#define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:9: warning: array subscript is above array bounds [-Warray-bounds]
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:664:33: note: in expansion of macro ‘DBGPRINT_RAW’
#define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:9: warning: array subscript is above array bounds [-Warray-bounds]
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:664:33: note: in expansion of macro ‘DBGPRINT_RAW’
#define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init.c:716:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE,("E2PROM: A Tssi[-4 .. +4] = %d %d %d %d - %d -%d %d
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_tkip.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_aes.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_sync.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/eeprom.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_sanity.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.o
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:1084:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n", RTDebugFunc));
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:675:9: note: in definition of macro ‘DBGPRINT_S’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_info.c:5960:20: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR * {aka unsigned char *}’ [-Wformat=]
rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.o
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.c: In function ‘RTMP_COM_IoctlHandle’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cfg.c:705:32: warning: unused variable ‘ppINTF’ [-Wunused-variable]
VOID **ppINTF = (VOID **)pData;
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_wpa.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_radar.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.o
In file included from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_os.h:44:0,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rtmp_comm.h:75,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/rt_config.h:33,
from /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:28:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/include/os/rt_linux.h:660:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffe
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rtmp_timer.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/rt_channel.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_profile.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.o
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c: In function ‘AsicUpdateProtect’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c:330:21: warning: large integer implicitly truncated to unsigned type [-Woverflow]
UCHAR i, PhyMode = 0x4000;
^
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_asic.c:384:12: warning: large integer implicitly truncated to unsigned type [-Woverflow]
PhyMode = 0x2000; /* Bit 15:13, 0:Legacy CCK, 1: Legacy OFDM, 2: HT mix mode,
^
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/scan.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/cmm_cmd.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/uapsd.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../common/ps.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.o
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.c: In function ‘RtmpChipOpsHook’:
/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.c:910:30: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
pChipOps->ChipSwitchChannel = Default_ChipSwitchChannel;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: ошибка выполнения рецепта для цели «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.o»
make[2]: *** [/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux/../../chips/rtmp_chip.o] Ошибка 1
Makefile:1550: ошибка выполнения рецепта для цели «_module_/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux»
make[1]: *** [_module_/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-headers-4.13.0-26-generic»
Makefile:393: ошибка выполнения рецепта для цели «LINUX»
make: *** [LINUX] Ошибка 2
sergio@sergio-MS-7996 ~/mediatek_mt7610u_sta_driver_linux-64bit $ sudo make install
[sudo] пароль для sergio:
make -C /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux -f Makefile.6 install
make[1]: вход в каталог «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux»
rm -rf /etc/Wireless/RT2870STA
mkdir /etc/Wireless/RT2870STA
cp /home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/conf/RT2870STA.dat /etc/Wireless/RT2870STA/.
install -d /lib/modules/4.13.0-26-generic/kernel/drivers/net/wireless/
install -m 644 -c mt7610u_sta.ko /lib/modules/4.13.0-26-generic/kernel/drivers/net/wireless/
install: не удалось выполнить stat для 'mt7610u_sta.ko': Нет такого файла или каталога
Makefile.6:454: ошибка выполнения рецепта для цели «install»
make[1]: *** [install] Ошибка 1
make[1]: выход из каталога «/home/sergio/mediatek_mt7610u_sta_driver_linux-64bit/os/linux»
Makefile:489: ошибка выполнения рецепта для цели «install»
make: *** [install] Ошибка 2