From cyborg4, 4 Years ago, written in Plain Text.
  1. root@Curtis-PC:~/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913# make
  2. make -C tools
  3. make[1]: Entering directory `/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
  4. gcc -g bin2h.c -o bin2h
  5. make[1]: Leaving directory `/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools'
  6. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/tools/bin2h
  7. cp -f os/linux/Makefile.6 /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/Makefile
  8. make -C /lib/modules/3.13.0-24-generic/build SUBDIRS=/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux modules
  9. make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
  10.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_profile.o
  11. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_profile.c: In function ‘announce_802_3_packet’:
  12. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_profile.c:331:16: warning: unused variable ‘pAd’ [-Wunused-variable]
  13.   RTMP_ADAPTER *pAd = (RTMP_ADAPTER *)pAdSrc;
  14.                 ^
  15.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/assoc.o
  16.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/auth.o
  17.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/auth_rsp.o
  18.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.o
  19. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c: In function ‘PeerBeacon’:
  20. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c:2181:12: warning: passing argument 8 of ‘StaAddMacTableEntry’ from incompatible pointer type [enabled by default]
  21.             ie_list->CapabilityInfo) == FALSE)
  22.             ^
  23. In file included from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rt_config.h:59:0,
  24.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sync.c:28:
  25. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp.h:7892:9: note: expected ‘struct IE_LISTS *’ but argument is of type ‘struct BCN_IE_LIST *’
  26.  BOOLEAN StaAddMacTableEntry(
  27.          ^
  28.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sanity.o
  29.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/rtmp_data.o
  30. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
  31. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/rtmp_data.c:523:4: warning: passing argument 2 of ‘MacTableLookup’ from incompatible pointer type [enabled by default]
  32.     pEntry = MacTableLookup(pAd, &pHeader->Addr2);
  33.     ^
  34. In file included from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rt_config.h:59:0,
  35.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/rtmp_data.c:28:
  36. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp.h:8429:18: note: expected ‘UCHAR *’ but argument is of type ‘UCHAR (*)[6]’
  37.  MAC_TABLE_ENTRY *MacTableLookup(RTMP_ADAPTER *pAd, UCHAR *pAddr);
  38.                   ^
  39.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/connect.o
  40.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/wpa.o
  41.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.o
  42. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlRF’:
  43. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:5306:7: warning: format ‘%X’ expects argument of type ‘unsigned int’, but argument 5 has type ‘LONG’ [-Wformat=]
  44.        sprintf(msg+strlen(msg), "BANK%d_R%02d:%02X  ", bank_Id, rfId, rfValue);
  45.        ^
  46. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:5359:3: warning: passing argument 2 of ‘RtmpDrvAllRFPrint’ from incompatible pointer type [enabled by default]
  47.    RtmpDrvAllRFPrint(NULL, msg, strlen(msg));
  48.    ^
  49. In file included from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rt_config.h:64:0,
  50.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:28:
  51. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rt_os_util.h:668:6: note: expected ‘UINT32 *’ but argument is of type ‘PSTRING’
  52.  VOID RtmpDrvAllRFPrint(
  53.       ^
  54. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:5209:22: warning: unused variable ‘rf_bank’ [-Wunused-variable]
  55.   UCHAR    regRF = 0, rf_bank = 0;
  56.                       ^
  57. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_ioctl_siwgenie’:
  58. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../sta/sta_cfg.c:7610:13: warning: assignment from incompatible pointer type [enabled by default]
  59.      eid_ptr = pAd->StaCfg.pWpaAssocIe;
  60.              ^
  61.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/crypt_md5.o
  62.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/crypt_sha2.o
  63.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/crypt_hmac.o
  64.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/crypt_aes.o
  65.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/crypt_arc4.o
  66.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/mlme.o
  67. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/mlme.c: In function ‘AsicRxAntEvalTimeout’:
  68. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/mlme.c:5201:45: warning: unused variable ‘rssi_diff’ [-Wunused-variable]
  69.   CHAR   larger = -127, rssi0, rssi1, rssi2, rssi_diff;
  70.                                              ^
  71.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_wep.o
  72.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/action.o
  73.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.o
  74. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.c: In function ‘CmdRspEventCallbackHandle’:
  75. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.c:2509:8: warning: unused variable ‘Ret’ [-Wunused-variable]
  76.   INT32 Ret;
  77.         ^
  78. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.c: In function ‘StopDmaTx’:
  79. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.c:2684:8: warning: unused variable ‘IdleNums’ [-Wunused-variable]
  80.   UINT8 IdleNums = 0;
  81.         ^
  82. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_data.c:2682:20: warning: unused variable ‘UsbCfg’ [-Wunused-variable]
  83.   USB_DMA_CFG_STRUC UsbCfg;
  84.                     ^
  85.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.o
  86. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c: In function ‘NICInitAsicFromEEPROM’:
  87. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c:981:9: warning: unused variable ‘i’ [-Wunused-variable]
  88.   USHORT i;
  89.          ^
  90. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAdapter’:
  91. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c:1292:22: warning: unused variable ‘GloCfg’ [-Wunused-variable]
  92.   WPDMA_GLO_CFG_STRUC GloCfg;
  93.                       ^
  94. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c: In function ‘NICInitializeAsic’:
  95. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c:1367:11: warning: unused variable ‘KeyIdx’ [-Wunused-variable]
  96.   USHORT   KeyIdx;
  97.            ^
  98. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init.c:1656:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]
  99.  }
  100.  ^
  101.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_init_inf.o
  102.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_tkip.o
  103.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_aes.o
  104.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_sync.o
  105.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/eeprom.o
  106. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/eeprom.c: In function ‘RtmpChipOpsEepromHook’:
  107. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/eeprom.c:34:9: warning: unused variable ‘e2p_csr’ [-Wunused-variable]
  108.   UINT32 e2p_csr;
  109.          ^
  110.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_sanity.o
  111.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.o
  112. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.c: In function ‘Set_DebugFunc_Proc’:
  113. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.c:1084:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘const char *’ [-Wformat=]
  114.   DBGPRINT_S(RT_DEBUG_TRACE, ("Set RTDebugFunc = 0x%x\n",__FUNCTION__, RTDebugFunc));
  115.   ^
  116. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.c:1084:2: warning: too many arguments for format [-Wformat-extra-args]
  117. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.c: In function ‘set_rf’:
  118. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_info.c:5730:3: warning: format ‘%x’ expects argument of type ‘unsigned int *’, but argument 5 has type ‘UCHAR *’ [-Wformat=]
  119.    rv = sscanf(arg, "%d-%d-%x", &(bank_id), &(rf_id), &(rf_val));
  120.    ^
  121.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cfg.o
  122. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cfg.c: In function ‘wmode_valid_and_correct’:
  123. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cfg.c:279:8: warning: unused variable ‘mode’ [-Wunused-variable]
  124.   UCHAR mode = *wmode;
  125.         ^
  126. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cfg.c: At top level:
  127. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cfg.c:264:16: warning: ‘wmode_valid’ defined but not used [-Wunused-function]
  128.  static BOOLEAN wmode_valid(RTMP_ADAPTER *pAd, enum WIFI_MODE wmode)
  129.                 ^
  130.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_wpa.o
  131.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_radar.o
  132.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/spectrum.o
  133.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rtmp_timer.o
  134.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rt_channel.o
  135.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_profile.o
  136. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_profile.c: In function ‘rtmp_read_multest_from_file’:
  137. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_profile.c:2671:23: warning: unused variable ‘pWdsEntry’ [-Wunused-variable]
  138.   PRT_802_11_WDS_ENTRY pWdsEntry;
  139.                        ^
  140.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_asic.o
  141.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/scan.o
  142.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/cmm_cmd.o
  143.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/uapsd.o
  144.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/ps.o
  145.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../rate_ctrl/ra_ctrl.o
  146.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../rate_ctrl/alg_legacy.o
  147.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../rate_ctrl/alg_ags.o
  148.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../chips/rtmp_chip.o
  149.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/txpower.o
  150.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../mac/rtmp_mac.o
  151.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../mgmt/mgmt_hw.o
  152.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../mgmt/mgmt_entrytb.o
  153.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../phy/rtmp_phy.o
  154. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../phy/rtmp_phy.c: In function ‘NICInitBBP’:
  155. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../phy/rtmp_phy.c:61:8: warning: unused variable ‘R0’ [-Wunused-variable]
  156.   UCHAR R0 = 0xff;
  157.         ^
  158.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../phy/rlt_phy.o
  159.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../phy/rlt_rf.o
  160.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/ba_action.o
  161.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../mgmt/mgmt_ht.o
  162.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../common/rt_os_util.o
  163.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.o
  164. In file included from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/string.h:2:0,
  165.                  from include/linux/string.h:17,
  166.                  from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/page_32.h:38,
  167.                  from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/page.h:13,
  168.                  from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/thread_info.h:11,
  169.                  from include/linux/thread_info.h:54,
  170.                  from /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/preempt.h:6,
  171.                  from include/linux/preempt.h:18,
  172.                  from include/linux/spinlock.h:50,
  173.                  from include/linux/seqlock.h:35,
  174.                  from include/linux/time.h:5,
  175.                  from include/linux/stat.h:18,
  176.                  from include/linux/module.h:10,
  177.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/os/rt_linux.h:31,
  178.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_os.h:44,
  179.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/include/rtmp_comm.h:75,
  180.                  from /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c:30:
  181. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
  182. /usr/src/linux-headers-3.13.0-24-generic/arch/x86/include/asm/string_32.h:182:41: warning: array subscript is below array bounds [-Warray-bounds]
  183.  #define memcpy(t, f, n) __builtin_memcpy(t, f, n)
  184.                                          ^
  185. include/net/iw_handler.h:542:3: note: in expansion of macro ‘memcpy’
  186.    memcpy(stream + point_len, extra, iwe->u.data.length);
  187.    ^
  188.   CC [M]  /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o
  189. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsUsDelay’:
  190. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:179:8: warning: unused variable ‘i’ [-Wunused-variable]
  191.   ULONG i;
  192.         ^
  193. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘__RtmpOSFSInfoChange’:
  194. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1121:20: error: incompatible types when assigning to type ‘int’ from type ‘kuid_t’
  195.    pOSFSInfo->fsuid = current_fsuid();
  196.                     ^
  197. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:1122:20: error: incompatible types when assigning to type ‘int’ from type ‘kgid_t’
  198.    pOSFSInfo->fsgid = current_fsgid();
  199.                     ^
  200. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpDrvAllRFPrint’:
  201. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: warning: passing argument 2 of ‘file_w->f_op->write’ from incompatible pointer type [enabled by default]
  202.     file_w->f_op->write(file_w, pBuf, BufLen, &file_w->f_pos);
  203.     ^
  204. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2052:4: note: expected ‘const char *’ but argument is of type ‘UINT32 *’
  205. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:22: warning: unused variable ‘macValue’ [-Wunused-variable]
  206.   UINT32 macAddr = 0, macValue = 0;
  207.                       ^
  208. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2037:9: warning: unused variable ‘macAddr’ [-Wunused-variable]
  209.   UINT32 macAddr = 0, macValue = 0;
  210.          ^
  211. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOSIRQRelease’:
  212. /root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.c:2173:21: warning: unused variable ‘net_dev’ [-Wunused-variable]
  213.   struct net_device *net_dev = (struct net_device *)pNetDev;
  214.                      ^
  215. make[2]: *** [/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux/../../os/linux/rt_linux.o] Error 1
  216. make[1]: *** [_module_/root/Downloads/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913/os/linux] Error 2
  217. make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
  218. make: *** [LINUX] Error 2
  219.  
captcha