Code:
joseph@joseph-ubuntu:~/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched$ make
make -C tools
make[1]: Entering directory '/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory '/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/tools'
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/tools/bin2h
cp -f os/linux/Makefile.6 /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/Makefile
make -C /lib/modules/3.19.0-22-generic/build SUBDIRS=/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux modules
make[1]: Entering directory '/usr/src/linux-headers-3.19.0-22-generic'
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_md5.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_sha2.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_hmac.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_aes.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_aes.c:1459:6: 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)*PlainTextLength));
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_aes.c:1554:6: 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)*PlainLength));
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/crypt_arc4.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.o
In file included from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rtmp_os.h:44:0,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rtmp_comm.h:60,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rt_config.h:33,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c:28:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c:1054:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecEnd -
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/os/rt_linux.h:473:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c:1055:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecStart);
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/os/rt_linux.h:473:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c: In function ‘MlmePeriodicExec’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c:1292:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecEnd -
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/os/rt_linux.h:473:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/mlme.c:1293:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(UINT32)&pAd->RalinkCounters.OneSecStart);
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/os/rt_linux.h:473:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_wep.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/action.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_data.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/rtmp_init.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/rtmp_init_inf.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_tkip.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_aes.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_sync.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/eeprom.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_sanity.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_info.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_cfg.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_wpa.o
In file included from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rtmp_os.h:44:0,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rtmp_comm.h:60,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/rt_config.h:33,
from /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_wpa.c:28:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_wpa.c: In function ‘PeerWpaMessageSanity’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_wpa.c:456:32: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
NdisZeroMemory(KEYDATA, sizeof(KEYDATA));
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/include/os/rt_linux.h:473:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/dfs.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/spectrum.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/spectrum.c:1857:3: 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", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/rtmp_timer.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/rt_channel.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_profile.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c: In function ‘AsicGetAutoAgcOffset’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:882:10: warning: unused variable ‘bTempSuccess’ [-Wunused-variable]
BOOLEAN bTempSuccess = FALSE;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:881:6: warning: unused variable ‘LookupTableIndex’ [-Wunused-variable]
INT LookupTableIndex = pAd->TxPowerCtrl.LookupTableIndex + TEMPERATURE_COMPENSATION_LOOKUP_TABLE_OFFSET;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:880:6: warning: unused variable ‘CurrentTemp’ [-Wunused-variable]
INT CurrentTemp = 0;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:879:8: warning: unused variable ‘BbpValue’ [-Wunused-variable]
UCHAR BbpValue = 0;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:878:32: warning: unused variable ‘pTxPowerTuningEntry2’ [-Wunused-variable]
PTX_POWER_TUNING_ENTRY_STRUCT pTxPowerTuningEntry2 = NULL;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:875:8: warning: unused variable ‘RFValue’ [-Wunused-variable]
UCHAR RFValue = 0;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:874:32: warning: unused variable ‘pTxPowerTuningEntry’ [-Wunused-variable]
PTX_POWER_TUNING_ENTRY_STRUCT pTxPowerTuningEntry = NULL;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c: In function ‘AsicAdjustTxPower’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:1575:16: warning: unused variable ‘flags’ [-Wunused-variable]
unsigned long flags;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:1562:20: warning: unused variable ‘pFinalTxPwr’ [-Wunused-variable]
PTX_PWR_CFG_STRUC pFinalTxPwr = NULL;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_asic.c:1560:11: warning: unused variable ‘bAutoTxAgc’ [-Wunused-variable]
BOOLEAN bAutoTxAgc = FALSE;
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../common/cmm_cmd.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../os/linux/rt_profile.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../os/linux/rt_profile.c:411:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../chips/rtmp_chip.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/assoc.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/auth.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/auth_rsp.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sync.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sanity.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/rtmp_data.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/connect.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/connect.c: In function ‘LinkUp’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/connect.c:1446:35: warning: unused variable ‘pCurrEntry’ [-Wunused-variable]
MAC_TABLE_ENTRY *pEntry = NULL, *pCurrEntry = NULL;
^
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/connect.c:1445:28: warning: unused variable ‘HashIdx’ [-Wunused-variable]
UCHAR Value = 0, idx = 0, HashIdx = 0;
^
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/wpa.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/ags.o
CC [M] /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.o
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.c:4931: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/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.c:4931: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:257: recipe for target '/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.o' failed
make[2]: *** [/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux/../../sta/sta_cfg.o] Error 1
Makefile:1394: recipe for target '_module_/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux' failed
make[1]: *** [_module_/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-22-generic'
Makefile:356: recipe for target 'LINUX' failed
make: *** [LINUX] Error 2
joseph@joseph-ubuntu:~/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched$ sudo make install
make -C /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux -f Makefile.6 install
make[1]: Entering directory '/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux'
mkdir: cannot create directory ‘/etc/Wireless’: File exists
rm -rf /etc/Wireless/RT2860STA
mkdir /etc/Wireless/RT2860STA
cp /home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/RT2860STA.dat /etc/Wireless/RT2860STA/.
install -d /lib/modules/3.19.0-22-generic/kernel/drivers/net/wireless/
install -m 644 -c rt5390sta.ko /lib/modules/3.19.0-22-generic/kernel/drivers/net/wireless/
install: cannot stat ‘rt5390sta.ko’: No such file or directory
Makefile.6:327: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/home/joseph/Downloads/2011_1007_RT5390_RT5392_Linux_STA_V2.5.0.3_DPO/2011_0406_RT5390_RT5392_Linux_STA_V2.5.0.3_patched/os/linux'
Makefile:449: recipe for target 'install' failed
make: *** [install] Error 2
Bookmarks