Guest User

make

a guest
Dec 10th, 2013
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 33.91 KB | None | 0 0
  1. alex@Alex:~/DPO_RT3290_LinuxSTA_V2600_20120508$ make
  2. make -C tools
  3. make[1]: Entering directory `/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
  4. gcc -g bin2h.c -o bin2h
  5. make[1]: Leaving directory `/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
  6. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
  7. cp -f os/linux/Makefile.6 /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
  8. make -C /lib/modules/3.11.0-12-generic/build SUBDIRS=/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
  9. make[1]: Entering directory `/usr/src/linux-headers-3.11.0-12-generic'
  10.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_md5.o
  11.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_sha2.o
  12.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_hmac.o
  13.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.o
  14. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
  15. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  16.      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
  17.      ^
  18. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
  19. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  20.      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
  21.      ^
  22.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_arc4.o
  23.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.o
  24. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
  25.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  26.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
  27.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:30:
  28. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
  29. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:529:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  30.       (UINT32)&pAd->RalinkCounters.OneSecEnd -
  31.       ^
  32. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
  33. #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
  34.                                                                            ^
  35. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:530:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  36.       (UINT32)&pAd->RalinkCounters.OneSecStart);
  37.       ^
  38. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
  39. #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
  40.                                                                            ^
  41.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wep.o
  42.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/action.o
  43.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data.o
  44.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init.o
  45.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.o
  46. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
  47. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  48.   DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
  49.   ^
  50. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:178:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  51.          AUTO_WAKEUP_STRUC AutoWakeupCfg;
  52.          ^
  53.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_tkip.o
  54.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_aes.o
  55.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sync.o
  56.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/eeprom.o
  57.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sanity.o
  58.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.o
  59.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cfg.o
  60.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.o
  61. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
  62. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  63.  BOOLEAN    Cancelled;
  64.             ^
  65.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_radar.o
  66.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.o
  67. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
  68. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:1972:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  69.   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
  70.   ^
  71.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_timer.o
  72.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_channel.o
  73.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_profile.o
  74.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_asic.o
  75.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cmd.o
  76.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ps.o
  77.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/uapsd.o
  78.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/ra_ctrl.o
  79.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_legacy.o
  80.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_ags.o
  81.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.o
  82. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
  83. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
  84.         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
  85.         ^
  86.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rtmp_chip.o
  87.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/assoc.o
  88.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth.o
  89.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth_rsp.o
  90.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sync.o
  91.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sanity.o
  92.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.o
  93. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
  94. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
  95.  FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
  96.                 ^
  97. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
  98.  UCHAR OldPwrMgmt = PWR_ACTIVE;
  99.        ^
  100. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
  101. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  102.     UCHAR uRSSI2;
  103.     ^
  104.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/connect.o
  105.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/wpa.o
  106.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o
  107. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
  108. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
  109.    DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
  110.    ^
  111. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
  112. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:7220:1: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC’ [-Wformat=]
  113. sprintf(extra+strlen(extra), "pAd->NicConfig3.field.CoexAnt == 0x%x\n\n",pAd->NicConfig3);
  114. ^
  115.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_os_util.o
  116.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.o
  117. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:40:0,
  118.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  119.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  120.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c:33:
  121. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
  122. include/net/iw_handler.h:554:9: warning: array subscript is below array bounds [-Warray-bounds]
  123.   memcpy(stream + point_len, extra, iwe->u.data.length);
  124.         ^
  125.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.o
  126. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
  127. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:508:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
  128.   NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
  129.   ^
  130. In file included from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string.h:4:0,
  131.                 from include/linux/string.h:17,
  132.                 from include/linux/bitmap.h:8,
  133.                 from include/linux/cpumask.h:11,
  134.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/cpumask.h:4,
  135.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/msr.h:10,
  136.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/processor.h:20,
  137.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/thread_info.h:22,
  138.                 from include/linux/thread_info.h:54,
  139.                 from include/linux/preempt.h:9,
  140.                 from include/linux/spinlock.h:50,
  141.                 from include/linux/seqlock.h:29,
  142.                 from include/linux/time.h:5,
  143.                 from include/linux/stat.h:18,
  144.                 from include/linux/module.h:10,
  145.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
  146.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  147.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  148.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  149. /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
  150. void *memmove(void *dest, const void *src, size_t count);
  151.       ^
  152. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:510:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
  153.   NdisMoveMemory(skb->tail, pData, DataSize);
  154.   ^
  155. In file included from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string.h:4:0,
  156.                 from include/linux/string.h:17,
  157.                 from include/linux/bitmap.h:8,
  158.                 from include/linux/cpumask.h:11,
  159.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/cpumask.h:4,
  160.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/msr.h:10,
  161.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/processor.h:20,
  162.                 from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/thread_info.h:22,
  163.                 from include/linux/thread_info.h:54,
  164.                 from include/linux/preempt.h:9,
  165.                 from include/linux/spinlock.h:50,
  166.                 from include/linux/seqlock.h:29,
  167.                 from include/linux/time.h:5,
  168.                 from include/linux/stat.h:18,
  169.                 from include/linux/module.h:10,
  170.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
  171.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  172.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  173.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  174. /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
  175. void *memmove(void *dest, const void *src, size_t count);
  176.       ^
  177. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
  178. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:662:20: warning: assignment makes integer from pointer without a cast [enabled by default]
  179.   pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
  180.                    ^
  181. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
  182.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  183.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  184. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
  185. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
  186.   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
  187.                                  ^
  188. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:681:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  189.  SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
  190.  ^
  191. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
  192. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:708:15: warning: assignment makes integer from pointer without a cast [enabled by default]
  193.  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
  194.               ^
  195.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
  196.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
  197. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
  198.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  199.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
  200.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:3:
  201. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
  202. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
  203.   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
  204.                                  ^
  205. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:1035:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  206.  SET_OS_PKT_DATATAIL(__pRxPkt, __pData, __DataSize);      \
  207.  ^
  208. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:1550:2: note: in expansion of macro ‘RTMP_OS_PKT_INIT’
  209.  RTMP_OS_PKT_INIT(pRxBlk->pRxPacket,
  210.  ^
  211.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
  212.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
  213. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
  214. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  215.  BOOLEAN    Cancelled;
  216.             ^
  217.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
  218. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
  219. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  220.  UINT8 TXWISize = pAd->chipCap.TXWISize;
  221.        ^
  222. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
  223. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  224.  UINT8 TXWISize = pAd->chipCap.TXWISize;
  225.        ^
  226.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
  227. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
  228. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
  229.  UINT32 MacCsr0 = 0, Index= 0;
  230.                      ^
  231.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
  232. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
  233. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
  234.  ULONG offset;
  235.        ^
  236. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
  237.  ULONG Configuration;
  238.        ^
  239.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
  240.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
  241.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
  242.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
  243.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
  244. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
  245. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
  246.     pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
  247.                         ^
  248. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
  249. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  250.    DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
  251.    ^
  252. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  253. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
  254. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  255.     DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
  256.     ^
  257. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  258.     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
  259.     ^
  260. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  261. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  262.     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  263.     ^
  264. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  265. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  266.     DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
  267.     ^
  268. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  269. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  270.     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
  271.     ^
  272. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  273. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  274.     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  275.     ^
  276. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  277. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  278.      DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
  279.      ^
  280. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  281. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
  282. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  283.         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor)));
  284.         ^
  285. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  286.         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor)));
  287.         ^
  288. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  289.        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor)));
  290.        ^
  291. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  292.        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor)));
  293.        ^
  294. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  295.       DBGPRINT(RT_DEBUG_TRACE,("AntS: Delta Packet = %d,%d, diffRssi = %d, diffPER = %d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor),(diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor),diffRssi, diffPER));
  296.       ^
  297. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  298. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  299.      DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
  300.      ^
  301. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  302. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  303.      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
  304.      ^
  305. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  306. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
  307.      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  308.      ^
  309. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  310. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
  311. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
  312.    DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n",
  313.    ^
  314. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
  315. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat=]
  316.  printk("cmbCtrl = %x\n",cmbCtrl);
  317.  ^
  318.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
  319.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
  320.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
  321. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
  322. static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
  323.                       ^
  324. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
  325. static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
  326.                      ^
  327. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
  328. static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
  329.                                              ^
  330. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:85:17: error: ‘rt2860_pci_tbl’ undeclared here (not in a function)
  331.     id_table:   rt2860_pci_tbl,
  332.                 ^
  333. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
  334.     probe:      rt2860_probe,
  335.                 ^
  336. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
  337.     remove:     __devexit_p(rt2860_remove_one),
  338.     ^
  339. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:88:29: error: ‘rt2860_remove_one’ undeclared here (not in a function)
  340.     remove:     __devexit_p(rt2860_remove_one),
  341.                             ^
  342. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
  343. static INT __devinit   rt2860_probe(
  344.                        ^
  345. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
  346. static VOID __devexit rt2860_remove_one(
  347.                       ^
  348. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
  349.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  350.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  351.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
  352. include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
  353. extern const struct gtype##_id __mod_##gtype##_table  \
  354.                                ^
  355. include/linux/module.h:145:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
  356.   MODULE_GENERIC_TABLE(type##_device,name)
  357.   ^
  358. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
  359. MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
  360. ^
  361. cc1: some warnings being treated as errors
  362. make[2]: *** [/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Ошибка 1
  363. make[1]: *** [_module_/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Ошибка 2
  364. make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-12-generic'
  365. make: *** [LINUX] Ошибка 2
Advertisement
Add Comment
Please, Sign In to add comment