root@calvink-HP-ENVY-m6-Notebook-PC:/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508# make
make -C tools
make[1]: Вход в каталог `/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
gcc -g bin2h.c -o bin2h
make[1]: Выход из каталога `/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/tools'
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
cp -f os/linux/Makefile.6 /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
make -C /lib/modules/3.11.0-12-generic/build SUBDIRS=/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
make[1]: Вход в каталог `/usr/src/linux-headers-3.11.0-12-generic'
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_md5.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_sha2.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_hmac.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_arc4.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wep.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/action.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/home/calvink/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=]
DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
^
/home/calvink/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]
AUTO_WAKEUP_STRUC AutoWakeupCfg;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_tkip.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_aes.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sync.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/eeprom.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sanity.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cfg.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
BOOLEAN Cancelled;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_radar.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_timer.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_channel.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_profile.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_asic.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cmd.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ps.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/uapsd.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rtmp_chip.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/assoc.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth_rsp.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sync.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sanity.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
UCHAR OldPwrMgmt = PWR_ACTIVE;
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
UCHAR uRSSI2;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/connect.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/wpa.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/calvink/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=]
sprintf(extra+strlen(extra), "pAd->NicConfig3.field.CoexAnt == 0x%x\n\n",pAd->NicConfig3);
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_os_util.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.o
In file included from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string.h:2:0,
from include/linux/string.h:17,
from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/page_32.h:38,
from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/page.h:13,
from /usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/thread_info.h:11,
from include/linux/thread_info.h:54,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/seqlock.h:29,
from include/linux/time.h:5,
from include/linux/stat.h:18,
from include/linux/module.h:10,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c:33:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
/usr/src/linux-headers-3.11.0-12-generic/arch/x86/include/asm/string_32.h:182:41: warning: array subscript is below array bounds [-Warray-bounds]
#define memcpy(t, f, n) __builtin_memcpy(t, f, n)
^
include/net/iw_handler.h:554:3: note: in expansion of macro ‘memcpy’
memcpy(stream + point_len, extra, iwe->u.data.length);
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_linux.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_main_dev.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ba_action.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_led.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
BOOLEAN Cancelled;
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c: In function ‘RtmpDrvPciMapSingle’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_mac_pci.c:2511:60: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
pTxBlk->pSrcBufData, pTxBlk->SrcBufLen, 0, direction):(ra_dma_addr_t)NULL;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
UINT8 TXWISize = pAd->chipCap.TXWISize;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
UINT32 MacCsr0 = 0, Index= 0;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
ULONG offset;
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
ULONG Configuration;
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_prom.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ee_efuse.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_rf.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt30xx.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
^
/home/calvink/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=]
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
^
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
^
/home/calvink/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=]
/home/calvink/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=]
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor)));
^
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor)));
^
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
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));
^
/home/calvink/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 ‘long unsigned int’ [-Wformat=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1]));
^
/home/calvink/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=]
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
^
/home/calvink/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=]
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/home/calvink/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=]
DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n",
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/home/calvink/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=]
printk("cmbCtrl = %x\n",cmbCtrl);
^
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_pci_rbus.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_rbus_pci_util.o
CC [M] /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id *ent);
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
^
/home/calvink/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)
id_table: rt2860_pci_tbl,
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
probe: rt2860_probe,
^
/home/calvink/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]
remove: __devexit_p(rt2860_remove_one),
^
/home/calvink/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)
remove: __devexit_p(rt2860_remove_one),
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
static INT __devinit rt2860_probe(
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
static VOID __devexit rt2860_remove_one(
^
In file included from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:18:0,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
extern const struct gtype##_id __mod_##gtype##_table \
^
include/linux/module.h:145:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
MODULE_GENERIC_TABLE(type##_device,name)
^
/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/pci_main_dev.o] Ошибка 1
make[1]: *** [_module_/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Ошибка 2
make[1]: Выход из каталога `/usr/src/linux-headers-3.11.0-12-generic'
make: *** [LINUX] Ошибка 2
root@calvink-HP-ENVY-m6-Notebook-PC:/home/calvink/DPO_RT3290_LinuxSTA_V2600_20120508#