Guest User

make

a guest
Dec 10th, 2013
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 33.50 KB | None | 0 0
  1. root@Alex:/home/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-2-amd64/build SUBDIRS=/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
  9. make[1]: Entering directory `/usr/src/linux-headers-3.11-2-amd64'
  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. /usr/src/linux-headers-3.11-2-common/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-2-common/arch/x86/include/asm/string.h:4:0,
  131.                 from /usr/src/linux-headers-3.11-2-common/include/linux/string.h:17,
  132.                 from /usr/src/linux-headers-3.11-2-common/include/linux/dynamic_debug.h:111,
  133.                 from /usr/src/linux-headers-3.11-2-common/include/linux/kernel.h:14,
  134.                 from /usr/src/linux-headers-3.11-2-common/include/linux/cache.h:4,
  135.                 from /usr/src/linux-headers-3.11-2-common/include/linux/time.h:4,
  136.                 from /usr/src/linux-headers-3.11-2-common/include/linux/stat.h:18,
  137.                 from /usr/src/linux-headers-3.11-2-common/include/linux/module.h:10,
  138.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
  139.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  140.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  141.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  142. /usr/src/linux-headers-3.11-2-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
  143. void *memmove(void *dest, const void *src, size_t count);
  144.       ^
  145. /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]
  146.   NdisMoveMemory(skb->tail, pData, DataSize);
  147.   ^
  148. In file included from /usr/src/linux-headers-3.11-2-common/arch/x86/include/asm/string.h:4:0,
  149.                 from /usr/src/linux-headers-3.11-2-common/include/linux/string.h:17,
  150.                 from /usr/src/linux-headers-3.11-2-common/include/linux/dynamic_debug.h:111,
  151.                 from /usr/src/linux-headers-3.11-2-common/include/linux/kernel.h:14,
  152.                 from /usr/src/linux-headers-3.11-2-common/include/linux/cache.h:4,
  153.                 from /usr/src/linux-headers-3.11-2-common/include/linux/time.h:4,
  154.                 from /usr/src/linux-headers-3.11-2-common/include/linux/stat.h:18,
  155.                 from /usr/src/linux-headers-3.11-2-common/include/linux/module.h:10,
  156.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
  157.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  158.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  159.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  160. /usr/src/linux-headers-3.11-2-common/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
  161. void *memmove(void *dest, const void *src, size_t count);
  162.       ^
  163. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
  164. /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]
  165.   pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
  166.                    ^
  167. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
  168.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  169.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c:35:
  170. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
  171. /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]
  172.   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
  173.                                  ^
  174. /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’
  175.  SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
  176.  ^
  177. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
  178. /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]
  179.  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
  180.               ^
  181.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
  182.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
  183. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
  184.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  185.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
  186.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:3:
  187. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
  188. /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]
  189.   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
  190.                                  ^
  191. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:1035:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  192.  SET_OS_PKT_DATATAIL(__pRxPkt, __pData, __DataSize);      \
  193.  ^
  194. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.c:1550:2: note: in expansion of macro ‘RTMP_OS_PKT_INIT’
  195.  RTMP_OS_PKT_INIT(pRxBlk->pRxPacket,
  196.  ^
  197.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
  198.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
  199. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
  200. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  201.  BOOLEAN    Cancelled;
  202.             ^
  203.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
  204. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
  205. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  206.  UINT8 TXWISize = pAd->chipCap.TXWISize;
  207.        ^
  208. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
  209. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  210.  UINT8 TXWISize = pAd->chipCap.TXWISize;
  211.        ^
  212.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
  213. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
  214. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
  215.  UINT32 MacCsr0 = 0, Index= 0;
  216.                      ^
  217.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
  218. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
  219. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
  220.  ULONG offset;
  221.        ^
  222. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
  223.  ULONG Configuration;
  224.        ^
  225.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
  226.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
  227.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
  228.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
  229.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
  230. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
  231. /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]
  232.     pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
  233.                         ^
  234. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
  235. /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=]
  236.    DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
  237.    ^
  238. /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=]
  239. /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=]
  240. /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=]
  241.     DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
  242.     ^
  243. /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=]
  244.     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
  245.     ^
  246. /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=]
  247. /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=]
  248.     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  249.     ^
  250. /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=]
  251. /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=]
  252.     DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
  253.     ^
  254. /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=]
  255. /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=]
  256.     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
  257.     ^
  258. /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=]
  259. /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=]
  260.     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  261.     ^
  262. /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=]
  263. /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=]
  264.      DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
  265.      ^
  266. /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=]
  267. /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=]
  268. /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=]
  269.         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor)));
  270.         ^
  271. /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=]
  272.         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor)));
  273.         ^
  274. /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=]
  275.        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor)));
  276.        ^
  277. /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=]
  278.        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor)));
  279.        ^
  280. /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=]
  281.       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));
  282.       ^
  283. /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=]
  284. /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=]
  285.      DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
  286.      ^
  287. /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=]
  288. /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=]
  289.      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
  290.      ^
  291. /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=]
  292. /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=]
  293.      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
  294.      ^
  295. /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=]
  296. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
  297. /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=]
  298.    DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n",
  299.    ^
  300. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
  301. /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=]
  302.  printk("cmbCtrl = %x\n",cmbCtrl);
  303.  ^
  304.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
  305.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
  306.  CC [M]  /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
  307. /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’
  308. static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
  309.                       ^
  310. /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’
  311. static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
  312.                      ^
  313. /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
  314. static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
  315.                                              ^
  316. /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)
  317.     id_table:   rt2860_pci_tbl,
  318.                 ^
  319. /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)
  320.     probe:      rt2860_probe,
  321.                 ^
  322. /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]
  323.     remove:     __devexit_p(rt2860_remove_one),
  324.     ^
  325. /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)
  326.     remove:     __devexit_p(rt2860_remove_one),
  327.                             ^
  328. /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’
  329. static INT __devinit   rt2860_probe(
  330.                        ^
  331. /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’
  332. static VOID __devexit rt2860_remove_one(
  333.                       ^
  334. In file included from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
  335.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
  336.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
  337.                 from /home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
  338. /usr/src/linux-headers-3.11-2-common/include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
  339. extern const struct gtype##_id __mod_##gtype##_table  \
  340.                                ^
  341. /usr/src/linux-headers-3.11-2-common/include/linux/module.h:140:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
  342.   MODULE_GENERIC_TABLE(type##_device,name)
  343.   ^
  344. /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’
  345. MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
  346. ^
  347. cc1: some warnings being treated as errors
  348. make[4]: *** [/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Ошибка 1
  349. make[3]: *** [_module_/home/alex/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Ошибка 2
  350. make[2]: *** [sub-make] Ошибка 2
  351. make[1]: *** [all] Ошибка 2
  352. make[1]: Leaving directory `/usr/src/linux-headers-3.11-2-amd64'
  353. make: *** [LINUX] Ошибка 2
Advertisement
Add Comment
Please, Sign In to add comment