Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@xaelah:/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master# sudo make RT_CFLAGS="-Wno-error=date-time" -i
- make -C tools
- make[1]: Entering directory '/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/tools'
- gcc -g bin2h.c -o bin2h
- make[1]: Leaving directory '/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/tools'
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/tools/bin2h
- cp -f os/linux/Makefile.6 /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/Makefile
- make -C /lib/modules/4.2.0-18-generic/build SUBDIRS=/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux modules
- make[1]: Entering directory '/usr/src/linux-headers-4.2.0-18-generic'
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_md5.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_sha2.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_hmac.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.o
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/crypt_aes.h:31,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c:1459:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainT
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c:1459:6: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainT
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c:1554:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*Plai
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_aes.c:1554:6: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*Plai
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/crypt_arc4.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.o
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:527:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- (UINT32)&pAd->RalinkCounters.OneSecEnd -
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:472:76: note: in definition of macro ‘NdisZeroMemory’
- #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:528:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- (UINT32)&pAd->RalinkCounters.OneSecStart);
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:472:76: note: in definition of macro ‘NdisZeroMemory’
- #define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/mac_pci.h:33:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_chip.h:37,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:38,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c: In function ‘RTMPAdjustFrequencyOffset’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:583:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘FreqOffset’ will never be NULL [-Waddress]
- if (_pVal1 != NULL) \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:4990:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:585:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘HighCurrentBit’ will never be NULL [-Waddress]
- if (_pVal2 != NULL) \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/mlme.c:4990:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(pAd, RF_R17, &FreqOffset, &HighCurrentBit, 0x7F);
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_wep.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/action.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_init.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_init_inf.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_tkip.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_aes.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_sync.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/eeprom.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_sanity.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_info.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_cfg.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_wpa.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_wpa.c:1031:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
- BOOLEAN Cancelled;
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_radar.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/spectrum.o
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/spectrum.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/spectrum.c:1972:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
- DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTI
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/spectrum.c:1972:3: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTI
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_timer.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rt_channel.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_profile.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_asic.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffsetForTemperatureSensor’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_asic.c:1178:28: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- TxPowerTuningTableEntry0 = &TxPowerTuningTable[TuningTableIndex0 + TX_POWER_TUNING_ENTRY_OFFSET];
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_asic.c:1191:28: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- TxPowerTuningTableEntry1 = &TxPowerTuningTable[TuningTableIndex1 + TX_POWER_TUNING_ENTRY_OFFSET];
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_cmd.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/ps.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/uapsd.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../rate_ctrl/ra_ctrl.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../rate_ctrl/alg_legacy.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../rate_ctrl/alg_ags.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rtmp_chip.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/assoc.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/auth.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/auth_rsp.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sync.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sanity.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/rtmp_data.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
- FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
- UCHAR OldPwrMgmt = PWR_ACTIVE;
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/connect.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/wpa.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.o
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c:3953:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c:3953:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c:4896:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
- snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ )
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.c:4896:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
- snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
- ^
- cc1: some warnings being treated as errors
- scripts/Makefile.build:258: recipe for target '/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.o' failed
- make[2]: [/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.o] Error 1 (ignored)
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rt_os_util.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/ba_action.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/dls.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rt_led.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_mac_pci.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data_pci.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data_pci.c:540:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
- UINT8 TXWISize = pAd->chipCap.TXWISize;
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/cmm_data_pci.c:735:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
- UINT8 TXWISize = pAd->chipCap.TXWISize;
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/ee_prom.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.o
- In file included from include/linux/list.h:8:0,
- from include/linux/module.h:9,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:31,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.c: In function ‘FrequencyCalibrationMode’:
- include/linux/kernel.h:722:17: warning: comparison of distinct pointer types lacks a cast
- (void) (&_min1 == &_min2); \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.c:128:13: note: in expansion of macro ‘min’
- RFValue = min(RFValue, 0x5F);
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/mac_pci.h:33:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_chip.h:37,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:38,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:585:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘RfReg’ will never be NULL [-Waddress]
- if (_pVal2 != NULL) \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:592:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(_pAd, _RegId, NULL, &RfReg, _BitMask); \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/frq_cal.c:141:3: note: in expansion of macro ‘RF_M_WRITE8’
- RF_M_WRITE8(pAd, RF_R03, 0x80, 0x80);
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/ee_efuse.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:558:72: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Wincompatible-pointer-types]
- pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:41:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:28:
- include/linux/pci.h:887:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
- static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:564:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:564:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:564:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:564:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("Write 70f; offset = %x, Configuration = %x. \n", offset, Configuration));
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:578:72: warning: passing argument 3 of ‘pci_read_config_word’ from incompatible pointer type [-Wincompatible-pointer-types]
- pci_read_config_word(((POS_COOKIE)pAd->OS_Cookie)->pci_dev, offset, &Configuration);
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:41:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:28:
- include/linux/pci.h:887:19: note: expected ‘u16 * {aka short unsigned int *}’ but argument is of type ‘ULONG * {aka long unsigned int *}’
- static inline int pci_read_config_word(const struct pci_dev *dev, int where, u16 *val)
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_os.h:44:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_comm.h:69,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:33,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:587:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Con
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:587:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Con
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:587:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Con
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/os/rt_linux.h:665:16: note: in definition of macro ‘DBGPRINT_RAW’
- printk Fmt; \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rtmp_mcu.c:587:4: note: in expansion of macro ‘DBGPRINT’
- DBGPRINT(RT_DEBUG_TRACE, ("RadioOnExec restore 70f; offset = %x, Configuration = %x. \n", offset, Con
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../common/rt_rf.o
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt30xx.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt30xx.c: In function ‘RT30xxLoadRFSleepModeSetup’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt30xx.c:477:9: warning: unused variable ‘MACValue’ [-Wunused-variable]
- UINT32 MACValue;
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt30xx.c: In function ‘RT30xxReverseRFSleepModeSetup’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt30xx.c:515:9: warning: unused variable ‘MACValue’ [-Wunused-variable]
- UINT32 MACValue;
- ^
- CC [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.o
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:120:26: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- REG_PAIR *RF5592Reg_5G = RF5592Reg_5G_Default;
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:179:42: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- REG_PAIR_CHANNEL *RF5592Reg_Channel_5G = RF5592Reg_Channel_5G_Default;
- ^
- In file included from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/mac_pci.h:33:0,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rtmp_chip.h:37,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/rt_config.h:38,
- from /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:28:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c: In function ‘RT5592_ChipSwitchChannel’:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:585:13: warning: the comparison will always evaluate as ‘true’ for the address of ‘RfReg’ will never be NULL [-Waddress]
- if (_pVal2 != NULL) \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/include/chip/rtmp_phy.h:592:2: note: in expansion of macro ‘RF_M_READ8’
- RF_M_READ8(_pAd, _RegId, NULL, &RfReg, _BitMask); \
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:1985:4: note: in expansion of macro ‘RF_M_WRITE8’
- RF_M_WRITE8(pAd, RF_R03, 0x80, 0x80);
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c: At top level:
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:2223:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
- .pRFRegTable = RF5592Reg_2G_5G,
- ^
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../chips/rt5592.c:857:13: warning: ‘RT5592FilterCalibration’ defined but not used [-Wunused-function]
- static VOID RT5592FilterCalibration(IN PRTMP_ADAPTER pAd)
- ^
- LD [M] /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.o
- ld: cannot find /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/../../sta/sta_cfg.o: No such file or directory
- scripts/Makefile.build:391: recipe for target '/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.o' failed
- make[2]: [/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.o] Error 1 (ignored)
- Building modules, stage 2.
- MODPOST 0 modules
- /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.o: No such file or directory
- scripts/Makefile.modpost:90: recipe for target '__modpost' failed
- make[2]: [__modpost] Error 1 (ignored)
- make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-18-generic'
- cp -f /home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.ko /tftpboot
- cp: cannot stat ‘/home/dylan/Downloads/patched-Asus-PCE-N53-linux-driver-master/os/linux/rt5592sta.ko’: No such file or directory
- Makefile:388: recipe for target 'LINUX' failed
- make: [LINUX] Error 1 (ignored)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement