Codice: Seleziona tutto
root@vincenzo-X550LD:/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508# make
make -C tools
make[1]: ingresso nella directory "/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/tools"
gcc -g bin2h.c -o bin2h
make[1]: uscita dalla directory "/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/tools"
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/tools/bin2h
cp -f os/linux/Makefile.6 /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/Makefile
make -C /lib/modules/4.4.0-47-generic/build SUBDIRS=/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux modules
make[1]: ingresso nella directory "/usr/src/linux-headers-4.4.0-47-generic"
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_md5.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_sha2.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_hmac.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/crypt_aes.h:38,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:35:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466: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",
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1466:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n",
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561: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
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_aes.c:1561:6: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n
^
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/crypt_arc4.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c:30:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/home/vincenzo/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]
(UINT32)&pAd->RalinkCounters.OneSecEnd -
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
/home/vincenzo/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]
(UINT32)&pAd->RalinkCounters.OneSecStart);
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
#define NdisZeroMemory(Destination, Length) memset(Destination, 0, Length)
^
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wep.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/action.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_data.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:28:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:26: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG {aka long unsigned int}’ [-Wformat=]
DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_init_inf.c:162:3: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
^
/home/vincenzo/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/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_tkip.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_aes.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sync.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/eeprom.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_sanity.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_info.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cfg.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.o
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
BOOLEAN Cancelled;
^
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_radar.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c:28:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/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 (s
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/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 (s
^
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rtmp_timer.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/rt_channel.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_profile.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_asic.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/cmm_cmd.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/ps.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../common/uapsd.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/ra_ctrl.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_legacy.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../rate_ctrl/alg_ags.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:26:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:35: 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__, p
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../os/linux/rt_profile.c:409:9: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, p
^
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../chips/rtmp_chip.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/assoc.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/auth_rsp.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sync.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sanity.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.o
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/home/vincenzo/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/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
UCHAR OldPwrMgmt = PWR_ACTIVE;
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/home/vincenzo/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/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/connect.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/wpa.o
CC [M] /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o
In file included from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_os.h:42:0,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rtmp_comm.h:56,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/rt_config.h:36,
from /home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:31:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956: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->
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/include/os/rt_linux.h:656:16: note: in definition of macro ‘DBGPRINT_RAW’
printk Fmt; \
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:3956:4: note: in expansion of macro ‘DBGPRINT’
DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RTMPIoctlShow’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:4899:85: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
snprintf(extra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, _
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:4899:95: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
xtra, size, "Driver version-%s, %s %s\n", STA_DRIVER_VERSION, __DATE__, __TIME__ );
^
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.c:7220:30: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC {aka union _EEPROM_NIC_CINFIG3_STRUC}’ [-Wformat=]
sprintf(extra+strlen(extra), "pAd->NicConfig3.field.CoexAnt == 0x%x\n\n",pAd->NicCo
^
cc1: some warnings being treated as errors
scripts/Makefile.build:258: set di istruzioni per l'obiettivo "/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o" non riuscito
make[2]: *** [/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux/../../sta/sta_cfg.o] Errore 1
Makefile:1418: set di istruzioni per l'obiettivo "_module_/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux" non riuscito
make[1]: *** [_module_/home/vincenzo/DPO_RT3290_LinuxSTA_V2600_20120508/os/linux] Errore 2
make[1]: uscita dalla directory "/usr/src/linux-headers-4.4.0-47-generic"
Makefile:380: set di istruzioni per l'obiettivo "LINUX" non riuscito
make: *** [LINUX] Errore 2