ARMmbed / mbed-os-example-blinky

Blinky example for Mbed OS 6.0
Apache License 2.0
42 stars 157 forks source link

Error building this example for DISCO_L475VG_IOT01A #252

Closed pablogs9 closed 3 years ago

pablogs9 commented 3 years ago

I follow these steps:

mbed import https://github.com/ARMmbed/mbed-os-example-blinky
cd mbed-os-example-blinky/
mbed compile -m DISCO_L475VG_IOT01A -t GCC_ARM

With version:

vscode@pgarrido:/workspaces/develop_mbed/mbed-os-example-blinky$ mbed --version
1.10.5

And I get:

[mbed] Working path "/workspaces/develop_mbed/mbed-os-example-blinky" (program)
[mbed] WARNING: Missing Python modules were not auto-installed.
       The Mbed OS tools in this program require the following Python modules: cryptography
       You can install all missing modules by running "pip install -r requirements.txt" in "/workspaces/develop_mbed/mbed-os-example-blinky/mbed-os"
       On Posix systems (Linux, etc) you might have to switch to superuser account or use "sudo"
---
Building project mbed-os-example-blinky (DISCO_L475VG_IOT01A, GCC_ARM)
Scan: mbed-os-example-blinky
Compile [  0.1%]: irq_cm4f.S
Compile [  0.2%]: RTX_Config.c
Compile [  0.3%]: rtx_lib.c
Compile [  0.4%]: rtx_evr.c
Compile [  0.5%]: cmsis_os1.c
Compile [  0.6%]: rtx_delay.c
Compile [  0.6%]: rtx_memory.c
Compile [  0.7%]: rtx_system.c
Compile [  0.8%]: mbed_tz_context.c
Compile [  0.9%]: rtx_semaphore.c
Compile [  1.0%]: rtx_evflags.c
Compile [  1.1%]: rtx_mutex.c
Compile [  1.2%]: rtx_timer.c
Compile [  1.3%]: rtx_kernel.c
[Warning] rtx_kernel.c@93,3: 'memset' offset [17, 164] from the object at 'osRtxInfo' is out of the bounds of referenced subobject 'kernel' with type 'struct <anonymous>' at offset 8 [-Warray-bounds]
Compile [  1.4%]: rtx_mempool.c
Compile [  1.5%]: rtx_msgqueue.c
Compile [  1.6%]: os_tick_ptim.c
Compile [  1.7%]: os_systick.c
Compile [  1.7%]: mbed_boot_gcc_arm.c
Compile [  1.8%]: hci_cmd_bis.c
Compile [  1.9%]: hci_core.c
Compile [  2.0%]: hci_cmd_cis.c
Compile [  2.1%]: hci_cmd_ae.c
Compile [  2.2%]: rtx_thread.c
Compile [  2.3%]: mbed_rtos_rtx.c
Compile [  2.4%]: hci_cmd_cte.c
Compile [  2.5%]: mbed_boot.c
Compile [  2.6%]: hci_cmd_phy.c
Compile [  2.7%]: hci_cmd.c
Compile [  2.8%]: mbed_rtx_handlers.c
Compile [  2.8%]: hci_vs_ae.c
Compile [  2.9%]: hci_cmd_iso.c
Compile [  3.0%]: hci_cmd_past.c
Compile [  3.1%]: sec_ecc_debug.c
Compile [  3.2%]: hci_core_ps.c
Compile [  3.3%]: sec_aes.c
Compile [  3.4%]: sec_aes_rev.c
Compile [  3.5%]: att_uuid.c
Compile [  3.6%]: sec_ccm_hci.c
Compile [  3.7%]: sec_ecc_hci.c
Compile [  3.8%]: sec_cmac_hci.c
Compile [  3.9%]: sec_main.c
Compile [  3.9%]: att_main.c
Compile [  4.0%]: att_eatt.c
Compile [  4.1%]: attc_read.c
Compile [  4.2%]: attc_disc.c
Compile [  4.3%]: hci_evt.c
[Warning] hci_evt.c@2330,13: 'hciEvtParseLeBigInfoAdvRpt' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2310,13: 'hciEvtParseLeBigTermSyncCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2290,13: 'hciEvtParseLeBigSyncLost' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2248,13: 'hciEvtParseLeBigSyncEst' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2228,13: 'hciEvtParseLeTerminateBigCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2184,13: 'hciEvtParseLeCreateBigCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2164,13: 'hciEvtParseReadLocalSupCtrDlyCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2119,13: 'hciEvtParseReadLocalSupCodecCapCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2066,13: 'hciEvtParseReadLocalSupCodecsCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2048,13: 'hciEvtParseConfigDataPathCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2028,13: 'hciEvtParseLeRemoveIsoDataPathCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@2008,13: 'hciEvtParseLeSetupIsoDataPathCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@1988,13: 'hciEvtParseLeRemoveCigCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@1955,13: 'hciEvtParseLeSetCigParamsCmdCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@1934,13: 'hciEvtParseLeReqPeerScaCmpl' defined but not used [-Wunused-function]
[Warning] hci_evt.c@1913,13: 'hciEvtParseLeCisReq' defined but not used [-Wunused-function]
[Warning] hci_evt.c@1879,13: 'hciEvtParseLeCisEst' defined but not used [-Wunused-function]
Compile [  4.4%]: attc_sign.c
Compile [  4.5%]: attc_eatt.c
Compile [  4.6%]: attc_write.c
Compile [  4.7%]: attc_main.c
Compile [  4.8%]: atts_ccc.c
Compile [  4.9%]: attc_proc.c
Compile [  5.0%]: atts_csf.c
Compile [  5.1%]: atts_dyn.c
Compile [  5.1%]: atts_eatt.c
Compile [  5.2%]: atts_ind.c
Compile [  5.3%]: atts_proc.c
Compile [  5.4%]: atts_sign.c
Compile [  5.5%]: cfg_stack.c
Compile [  5.6%]: atts_write.c
Compile [  5.7%]: mbed_rtx_idle.cpp
Compile [  5.8%]: atts_read.c
Compile [  5.9%]: atts_main.c
Compile [  6.0%]: dm_adv.c
Compile [  6.1%]: dm_adv_leg.c
Compile [  6.2%]: dm_bis_master.c
Compile [  6.2%]: dm_cis_slave.c
Compile [  6.3%]: dm_conn_master.c
Compile [  6.4%]: dm_cis_sm.c
Compile [  6.5%]: dm_bis_slave.c
Compile [  6.6%]: dm_conn_master_ae.c
Compile [  6.7%]: dm_cis.c
Compile [  6.8%]: main.cpp
Compile [  6.9%]: dm_cis_master.c
Compile [  7.0%]: dm_conn_master_leg.c
Compile [  7.1%]: dm_conn_slave_ae.c
Compile [  7.2%]: dm_conn_slave.c
Compile [  7.3%]: dm_conn_sm.c
Compile [  7.3%]: dm_conn_cte.c
Compile [  7.4%]: dm_conn_slave_leg.c
Compile [  7.5%]: dm_dev.c
Compile [  7.6%]: dm_adv_ae.c
Compile [  7.7%]: dm_phy.c
Compile [  7.8%]: dm_main.c
Compile [  7.9%]: dm_scan.c
Compile [  8.0%]: dm_past.c
Compile [  8.1%]: dm_dev_priv.c
Compile [  8.2%]: dm_scan_ae.c
Compile [  8.3%]: dm_conn.c
Compile [  8.4%]: dm_scan_leg.c
Compile [  8.4%]: dm_sec_slave.c
Compile [  8.5%]: dm_iso.c
[Warning] dm_iso.c@699,13: variable 'hciLen' set but not used [-Wunused-but-set-variable]
Compile [  8.6%]: dm_sec_master.c
Compile [  8.7%]: dm_priv.c
Compile [  8.8%]: hci_main.c
Compile [  8.9%]: dm_sec.c
Compile [  9.0%]: dm_sec_lesc.c
Compile [  9.1%]: l2c_master.c
Compile [  9.2%]: l2c_main.c
Compile [  9.3%]: smp_non.c
Compile [  9.4%]: dm_sync_ae.c
Compile [  9.5%]: l2c_slave.c
Compile [  9.6%]: smp_db.c
Compile [  9.6%]: smpi_sc_sm.c
Compile [  9.7%]: smpi_sm.c
Compile [  9.8%]: smp_act.c
Compile [  9.9%]: smpi_sc_act.c
Compile [ 10.0%]: smp_sc_main.c
Compile [ 10.1%]: smpr_sc_sm.c
Compile [ 10.2%]: smp_main.c
Compile [ 10.3%]: smpi_act.c
Compile [ 10.4%]: wsf_assert.c
Compile [ 10.5%]: smpr_sm.c
Compile [ 10.6%]: smpr_act.c
Compile [ 10.7%]: smp_sc_act.c
Compile [ 10.7%]: wsf_detoken.c
Compile [ 10.8%]: smpr_sc_act.c
Compile [ 10.9%]: wsf_heap.c
Compile [ 11.0%]: wsf_buf.c
Compile [ 11.1%]: wsf_trace.c
Compile [ 11.2%]: wsf_bufio.c
Compile [ 11.3%]: wsf_msg.c
Compile [ 11.4%]: wsf_queue.c
Compile [ 11.5%]: wsf_timer.c
Compile [ 11.6%]: bstream.c
Compile [ 11.7%]: fcs.c
Compile [ 11.8%]: bda.c
Compile [ 11.8%]: crc32.c
Compile [ 11.9%]: calc128.c
Compile [ 12.0%]: prand.c
Compile [ 12.1%]: wsf_efs.c
Compile [ 12.2%]: terminal.c
Compile [ 12.3%]: print.c
Compile [ 12.4%]: wstr.c
Compile [ 12.5%]: l2c_coc.c
Compile [ 12.6%]: BLE.cpp
Compile [ 12.7%]: CordioHCITransportDriver.cpp
Compile [ 12.8%]: GattServer.cpp
Compile [ 12.9%]: GattClient.cpp
Compile [ 12.9%]: CordioHCIDriver.cpp
Compile [ 13.0%]: H4TransportDriver.cpp
Compile [ 13.1%]: PalEventQueueImpl.cpp
Compile [ 13.2%]: hci_vs.c
Compile [ 13.3%]: hci_tr.c
Compile [ 13.4%]: wsf_cs.c
Compile [ 13.5%]: wsf_mbed_os_adaptation.c
Compile [ 13.6%]: SecurityManager.cpp
Compile [ 13.7%]: Gap.cpp
Compile [ 13.8%]: wsf_os.c
Compile [ 13.9%]: pal_mbed_os_adaptation.cpp
Compile [ 14.0%]: PalPrivateAddressControllerImpl.cpp
Compile [ 14.0%]: PalGenericAccessServiceImpl.cpp
Compile [ 14.1%]: PalAttClientImpl.cpp
Compile [ 14.2%]: BLEInstanceBaseImpl.cpp
Compile [ 14.3%]: KVStoreSecurityDb.cpp
Compile [ 14.4%]: AdvertisingParameters.cpp
Compile [ 14.5%]: PalSecurityManagerImpl.cpp
Compile [ 14.6%]: ConnectionParameters.cpp
Compile [ 14.7%]: PalGapImpl.cpp
Compile [ 14.8%]: GattServerImpl.cpp
Compile [ 14.9%]: DiscoveredCharacteristic.cpp
Compile [ 15.0%]: AdvertisingDataBuilder.cpp
Compile [ 15.1%]: AT_CellularSMS.cpp
Compile [ 15.2%]: FileSecurityDb.cpp
Compile [ 15.2%]: APN_db.cpp
Compile [ 15.3%]: PalAttClientToGattClient.cpp
Compile [ 15.4%]: CellularLog.cpp
Compile [ 15.5%]: PrivateAddressController.cpp
Compile [ 15.6%]: CellularUtil.cpp
Compile [ 15.7%]: AT_CellularInformation.cpp
Compile [ 15.8%]: GattClientImpl.cpp
Compile [ 15.9%]: AT_ControlPlane_netif.cpp
Compile [ 16.0%]: AT_CellularStack.cpp
Compile [ 16.1%]: AT_CellularDevice.cpp
Compile [ 16.2%]: AT_CellularNetwork.cpp
Compile [ 16.3%]: AT_CellularContext.cpp
Compile [ 16.3%]: MCR20Drv.c
Compile [ 16.4%]: SecurityManagerImpl.cpp
Compile [ 16.5%]: rf_configuration.c
Compile [ 16.6%]: GapImpl.cpp
[Warning] GapImpl.cpp@3395,29: unused variable 'err' [-Wunused-variable]
[Warning] GapImpl.cpp@89,6: 'bool ble::impl::{anonymous}::is_preferred_connection_params_valid(const PreferredConnectionParams_t*)' defined but not used [-Wunused-function]
Compile [ 16.7%]: CellularContext.cpp
Compile [ 16.8%]: CellularDevice.cpp
Compile [ 16.9%]: at24mac.cpp
Compile [ 17.0%]: ATHandler.cpp
Compile [ 17.1%]: CellularStateMachine.cpp
Compile [ 17.2%]: at24mac_s2lp.cpp
Compile [ 17.3%]: NanostackRfPhyMcr20a.cpp
Compile [ 17.4%]: NanostackRfPhyAT86RF215.cpp
Compile [ 17.4%]: NanostackRfPhyAtmel.cpp
Compile [ 17.5%]: NanostackRfPhys2lp.cpp
Compile [ 17.6%]: ALT1250_PPP.cpp
Compile [ 17.7%]: BlueNrgMsHCIDriver.cpp
Compile [ 17.8%]: ALT1250_PPP_CellularNetwork.cpp
Compile [ 17.9%]: ALT1250_PPP_CellularContext.cpp
Compile [ 18.0%]: GEMALTO_CINTERION.cpp
Compile [ 18.1%]: GEMALTO_CINTERION_CellularInformation.cpp
Compile [ 18.2%]: GEMALTO_CINTERION_CellularContext.cpp
Compile [ 18.3%]: GENERIC_AT3GPP.cpp
Compile [ 18.4%]: SARA4_PPP.cpp
Compile [ 18.5%]: GEMALTO_CINTERION_CellularStack.cpp
Compile [ 18.5%]: SARA4_PPP_CellularNetwork.cpp
Compile [ 18.6%]: QUECTEL_BC95.cpp
Compile [ 18.7%]: QUECTEL_BC95_CellularInformation.cpp
Compile [ 18.8%]: QUECTEL_BC95_CellularContext.cpp
Compile [ 18.9%]: QUECTEL_BC95_CellularNetwork.cpp
Compile [ 19.0%]: QUECTEL_BC95_CellularStack.cpp
Compile [ 19.1%]: QUECTEL_BG96_CellularContext.cpp
Compile [ 19.2%]: QUECTEL_BG96_CellularInformation.cpp
Compile [ 19.3%]: QUECTEL_BG96.cpp
Compile [ 19.4%]: QUECTEL_BG96_CellularNetwork.cpp
Compile [ 19.5%]: QUECTEL_BG96_ControlPlane_netif.cpp
Compile [ 19.6%]: QUECTEL_EC2X.cpp
Compile [ 19.7%]: QUECTEL_BG96_CellularStack.cpp
Compile [ 19.7%]: QUECTEL_M26.cpp
Compile [ 19.8%]: QUECTEL_M26_CellularContext.cpp
Compile [ 19.9%]: QUECTEL_M26_CellularInformation.cpp
Compile [ 20.0%]: QUECTEL_UG96.cpp
Compile [ 20.1%]: RM1000_AT.cpp
Compile [ 20.2%]: QUECTEL_M26_CellularStack.cpp
Compile [ 20.3%]: QUECTEL_UG96_CellularContext.cpp
Compile [ 20.4%]: RM1000_AT_CellularNetwork.cpp
Compile [ 20.5%]: RM1000_AT_CellularContext.cpp
Compile [ 20.6%]: TELIT_HE910.cpp
Compile [ 20.7%]: TELIT_ME310.cpp
Compile [ 20.8%]: RM1000_AT_CellularStack.cpp
Compile [ 20.8%]: TELIT_ME310_CellularContext.cpp
Compile [ 20.9%]: TELIT_ME310_CellularNetwork.cpp
Compile [ 21.0%]: UBLOX_N2XX_CellularSMS.cpp
Compile [ 21.1%]: TELIT_ME910_CellularNetwork.cpp
Compile [ 21.2%]: TELIT_ME910.cpp
Compile [ 21.3%]: TELIT_ME910_CellularContext.cpp
Compile [ 21.4%]: stm32xx_emac.cpp
Compile [ 21.5%]: TELIT_ME310_CellularStack.cpp
Compile [ 21.6%]: aes_alt_stm32l4.c
Compile [ 21.7%]: aes_alt.cpp
Compile [ 21.8%]: ccm_alt.cpp
Compile [ 21.9%]: cryp_stm32.c
Compile [ 21.9%]: UBLOX_AT.cpp
Compile [ 22.0%]: gcm_alt.cpp
Compile [ 22.1%]: hash_stm32.c
Compile [ 22.2%]: md5_alt.cpp
Compile [ 22.3%]: sha1_alt.cpp
Compile [ 22.4%]: sha256_alt.cpp
Compile [ 22.5%]: PN512TransportDriver.cpp
Compile [ 22.6%]: UBLOX_AT_CellularContext.cpp
Compile [ 22.7%]: pn512.c
Compile [ 22.8%]: UBLOX_AT_CellularNetwork.cpp
Compile [ 22.9%]: pn512_cmd.c
Compile [ 23.0%]: UBLOX_AT_CellularStack.cpp
Compile [ 23.0%]: pn512_irq.c
Compile [ 23.1%]: UBLOX_N2XX_CellularContext.cpp
Compile [ 23.2%]: pn512_hw.c
Compile [ 23.3%]: pn512_registers.c
Compile [ 23.4%]: UBLOX_N2XX.cpp
Compile [ 23.5%]: pn512_timer.c
Compile [ 23.6%]: UBLOX_N2XX_CellularNetwork.cpp
Compile [ 23.7%]: pn512_rf.c
Compile [ 23.8%]: sn_coap_header_check.c
Compile [ 23.9%]: pn512_transceive.c
Compile [ 24.0%]: pn512_poll.c
Compile [ 24.1%]: ip_fsc.c
Compile [ 24.2%]: sn_coap_builder.c
Compile [ 24.2%]: sn_coap_protocol.c
Compile [ 24.3%]: common_functions.c
Compile [ 24.4%]: ns_list.c
Compile [ 24.5%]: sn_coap_parser.c
Compile [ 24.6%]: ip4tos.c
Compile [ 24.7%]: UBLOX_N2XX_CellularStack.cpp
Compile [ 24.8%]: PN512Driver.cpp
Compile [ 24.9%]: stoip4.c
Compile [ 25.0%]: ip6tos.c
Compile [ 25.1%]: chap-md5.c
Compile [ 25.2%]: auth.c
Compile [ 25.3%]: stoip6.c
Compile [ 25.3%]: ccp.c
Compile [ 25.4%]: chap-new.c
Compile [ 25.5%]: ns_nvm_helper.c
Compile [ 25.6%]: demand.c
Compile [ 25.7%]: chap_ms.c
Compile [ 25.8%]: eap.c
Compile [ 25.9%]: eui64.c
Compile [ 26.0%]: fsm.c
Compile [ 26.1%]: ipv6cp.c
Compile [ 26.2%]: ipcp.c
Compile [ 26.3%]: lcp.c
Compile [ 26.4%]: magic.c
Compile [ 26.4%]: nsdynmemLIB.c
Compile [ 26.5%]: mppe.c
Compile [ 26.6%]: multilink.c
Compile [ 26.7%]: ppp_des.c
Compile [ 26.8%]: ppp_arc4.c
Compile [ 26.9%]: ppp_md4.c
Compile [ 27.0%]: ppp_sha1.c
Compile [ 27.1%]: ppp.c
Compile [ 27.2%]: ppp_ecp.c
Compile [ 27.3%]: UBLOX_PPP.cpp
Compile [ 27.4%]: pppapi.c
Compile [ 27.5%]: pppcrypt.c
Compile [ 27.5%]: pppoe.c
Compile [ 27.6%]: pppol2tp.c
Compile [ 27.7%]: pppos.cpp
Compile [ 27.8%]: upap.c
Compile [ 27.9%]: ppp_md5.c
Compile [ 28.0%]: utils.c
Compile [ 28.1%]: vj.c
Compile [ 28.2%]: PN512SPITransportDriver.cpp
Compile [ 28.3%]: LoRaMacCrypto.cpp
Compile [ 28.4%]: ESP8266.cpp
Compile [ 28.5%]: LoRaMacCommand.cpp
Compile [ 28.6%]: LoRaMacChannelPlan.cpp
Compile [ 28.7%]: ppp_service.cpp
Compile [ 28.7%]: LoRaPHYAU915.cpp
Compile [ 28.8%]: LoRaPHYAS923.cpp
Compile [ 28.9%]: ppp_service_if.cpp
Compile [ 29.0%]: ESP8266Interface.cpp
Compile [ 29.1%]: LoRaPHY.cpp
Compile [ 29.2%]: LoRaMac.cpp
Compile [ 29.3%]: lwip_checksum.c
Compile [ 29.4%]: lwip_memcpy.c
Compile [ 29.5%]: LoRaPHYCN470.cpp
Compile [ 29.6%]: LoRaPHYCN779.cpp
Compile [ 29.7%]: lwip_random.c
Compile [ 29.8%]: lwip_tcp_isn.c
Compile [ 29.8%]: lwip_sys_arch.c
Compile [ 29.9%]: LoRaPHYEU433.cpp
Compile [ 30.0%]: LoRaPHYEU868.cpp
Compile [ 30.1%]: LoRaWANTimer.cpp
Compile [ 30.2%]: lwip_err.c
Compile [ 30.3%]: lwip_if_api.c
Compile [ 30.4%]: LoRaPHYKR920.cpp
Compile [ 30.5%]: LoRaPHYIN865.cpp
Compile [ 30.6%]: lwip_api_lib.c
Compile [ 30.7%]: lwip_netifapi.c
Compile [ 30.8%]: lwip_netbuf.c
Compile [ 30.9%]: LoRaWANInterface.cpp
Compile [ 30.9%]: LoRaPHYUS915.cpp
Compile [ 31.0%]: lwip_netdb.c
Compile [ 31.1%]: lwip_sockets.c
Compile [ 31.2%]: lwip_api_msg.c
Compile [ 31.3%]: lwip_autoip.c
Compile [ 31.4%]: lwip_tcpip.c
Compile [ 31.5%]: lwip_icmp.c
Compile [ 31.6%]: lwip_dhcp6.c
Compile [ 31.7%]: lwip_ip4_addr.c
Compile [ 31.8%]: lwip_igmp.c
Compile [ 31.9%]: lwip_ip4.c
Compile [ 32.0%]: lwip_ethip6.c
Compile [ 32.0%]: lwip_etharp.c
Compile [ 32.1%]: lwip_icmp6.c
Compile [ 32.2%]: lwip_inet6.c
Compile [ 32.3%]: lwip_ip4_frag.c
Compile [ 32.4%]: lwip_ip6.c
Compile [ 32.5%]: lwip_dhcp.c
Compile [ 32.6%]: lwip_ip6_addr.c
Compile [ 32.7%]: lwip_mld6.c
Compile [ 32.8%]: lwip_ip6_frag.c
Compile [ 32.9%]: lwip_altcp.c
Compile [ 33.0%]: lwip_altcp_alloc.c
Compile [ 33.1%]: LoRaWANStack.cpp
Compile [ 33.1%]: lwip_nd6.c
Compile [ 33.2%]: lwip_altcp_tcp.c
Compile [ 33.3%]: lwip_def.c
Compile [ 33.4%]: lwip_inet_chksum.c
Compile [ 33.5%]: lwip_ip.c
Compile [ 33.6%]: lwip_dns.c
Compile [ 33.7%]: lwip_init.c
Compile [ 33.8%]: lwip_raw.c
Compile [ 33.9%]: lwip_memp.c
Compile [ 34.0%]: lwip_sys.c
Compile [ 34.1%]: lwip_mem.c
Compile [ 34.2%]: lwip_stats.c
Compile [ 34.3%]: lwip_netif.c
Compile [ 34.3%]: lwip_pbuf.c
Compile [ 34.4%]: lwip_timeouts.c
Compile [ 34.5%]: lwip_ethernet.c
Compile [ 34.6%]: lwip_bridgeif_fdb.c
Compile [ 34.7%]: lwip_bridgeif.c
Compile [ 34.8%]: lwip_lowpan6_common.c
Compile [ 34.9%]: lwip_lowpan6_ble.c
Compile [ 35.0%]: lwip_udp.c
Compile [ 35.1%]: lwip_lowpan6.c
Compile [ 35.2%]: lwip_tcp_out.c
Compile [ 35.3%]: lwip_tcp.c
Compile [ 35.4%]: lwip_zepif.c
Compile [ 35.4%]: shared_rng.cpp
Compile [ 35.5%]: lwip_tcp_in.c
Compile [ 35.6%]: platform_alt.cpp
Compile [ 35.7%]: aesni.c
Compile [ 35.8%]: arc4.c
Compile [ 35.9%]: aria.c
Compile [ 36.0%]: base64.c
Compile [ 36.1%]: asn1parse.c
Compile [ 36.2%]: asn1write.c
Compile [ 36.3%]: blowfish.c
Compile [ 36.4%]: camellia.c
Compile [ 36.5%]: aes.c
Compile [ 36.5%]: certs.c
Compile [ 36.6%]: ccm.c
Compile [ 36.7%]: chacha20.c
Compile [ 36.8%]: chachapoly.c
Compile [ 36.9%]: mbed_trng.cpp
Compile [ 37.0%]: cipher_wrap.c
Compile [ 37.1%]: cipher.c
Compile [ 37.2%]: des.c
Compile [ 37.3%]: cmac.c
Compile [ 37.4%]: LWIPInterfaceL3IP.cpp
Compile [ 37.5%]: dhm.c
Compile [ 37.6%]: bignum.c
Compile [ 37.6%]: LWIPInterfaceEMAC.cpp
Compile [ 37.7%]: ctr_drbg.c
Compile [ 37.8%]: LWIPInterfacePPP.cpp
Compile [ 37.9%]: debug.c
Compile [ 38.0%]: ecjpake.c
Compile [ 38.1%]: LWIPInterface.cpp
Compile [ 38.2%]: ecdh.c
Compile [ 38.3%]: entropy_poll.c
Compile [ 38.4%]: hash_wrappers.c
Compile [ 38.5%]: LWIPMemoryManager.cpp
Compile [ 38.6%]: havege.c
Compile [ 38.7%]: lwip_tools.cpp
Compile [ 38.8%]: md4.c
Compile [ 38.8%]: md2.c
Compile [ 38.9%]: ecdsa.c
Compile [ 39.0%]: hkdf.c
Compile [ 39.1%]: md5.c
Compile [ 39.2%]: entropy.c
Compile [ 39.3%]: memory_buffer_alloc.c
Compile [ 39.4%]: net_sockets.c
Compile [ 39.5%]: nist_kw.c
Compile [ 39.6%]: ecp_curves.c
Compile [ 39.7%]: hmac_drbg.c
Compile [ 39.8%]: padlock.c
Compile [ 39.9%]: gcm.c
Compile [ 39.9%]: LWIPStack.cpp
Compile [ 40.0%]: pkcs11.c
Compile [ 40.1%]: pkcs12.c
Compile [ 40.2%]: pkcs5.c
Compile [ 40.3%]: md.c
Compile [ 40.4%]: pem.c
Compile [ 40.5%]: error.c
Compile [ 40.6%]: pk.c
Compile [ 40.7%]: ripemd160.c
Compile [ 40.8%]: platform.c
Compile [ 40.9%]: platform_util.c
Compile [ 41.0%]: oid.c
Compile [ 41.0%]: sha1.c
Compile [ 41.1%]: pk_wrap.c
Compile [ 41.2%]: pkwrite.c
Compile [ 41.3%]: rsa_internal.c
Compile [ 41.4%]: poly1305.c
Compile [ 41.5%]: pkparse.c
Compile [ 41.6%]: ssl_cache.c
Compile [ 41.7%]: ssl_cookie.c
Compile [ 41.8%]: ssl_ciphersuites.c
Compile [ 41.9%]: threading.c
Compile [ 42.0%]: ecp.c
Compile [ 42.1%]: sha256.c
Compile [ 42.1%]: version.c
Compile [ 42.2%]: x509_create.c
Compile [ 42.3%]: ssl_ticket.c
Compile [ 42.4%]: timing.c
Compile [ 42.5%]: version_features.c
Compile [ 42.6%]: sha512.c
Compile [ 42.7%]: x509_csr.c
Compile [ 42.8%]: x509write_crt.c
Compile [ 42.9%]: x509write_csr.c
Compile [ 43.0%]: xtea.c
Compile [ 43.1%]: x509.c
Compile [ 43.2%]: rsa.c
Compile [ 43.3%]: x509_crl.c
Compile [ 43.3%]: coap_message_handler.c
Compile [ 43.4%]: coap_security_handler.c
Compile [ 43.5%]: coap_service_api.c
Compile [ 43.6%]: coap_connection_handler.c
Compile [ 43.7%]: ssl_cli.c
Compile [ 43.8%]: x509_crt.c
Compile [ 43.9%]: ssl_srv.c
Compile [ 44.0%]: ssl_tls.c
Compile [ 44.1%]: ssl_msg.c
Compile [ 44.2%]: mesh_system.c
Compile [ 44.3%]: ethernet_tasklet.c
Compile [ 44.4%]: nd_tasklet.c
Compile [ 44.4%]: thread_tasklet.c
Compile [ 44.5%]: wisun_tasklet.c
Compile [ 44.6%]: CallbackHandler.cpp
Compile [ 44.7%]: MeshInterfaceNanostack.cpp
Compile [ 44.8%]: arm_hal_interrupt.c
Compile [ 44.9%]: LoWPANNDInterface.cpp
Compile [ 45.0%]: NanostackEMACInterface.cpp
Compile [ 45.1%]: arm_hal_random.c
Compile [ 45.2%]: NanostackEthernetInterface.cpp
Compile [ 45.3%]: NanostackMemoryManager.cpp
Compile [ 45.4%]: ns_event_loop.c
Compile [ 45.5%]: ns_file_system_api.cpp
Compile [ 45.5%]: ns_hal_init.c
Compile [ 45.6%]: ns_event_loop_mutex.c
Compile [ 45.7%]: ns_timeout.c
Compile [ 45.8%]: nvm_ram.c
Compile [ 45.9%]: event.c
Compile [ 46.0%]: ThreadInterface.cpp
Compile [ 46.1%]: ns_timer.c
Compile [ 46.2%]: WisunBorderRouter.cpp
Compile [ 46.3%]: NanostackPPPInterface.cpp
Compile [ 46.4%]: system_timer.c
Compile [ 46.5%]: network_lib.c
Compile [ 46.6%]: protocol_6lowpan_interface.c
Compile [ 46.6%]: 6lowpan_iphc.c
Compile [ 46.7%]: lowpan_context.c
Compile [ 46.8%]: WisunInterface.cpp
Compile [ 46.9%]: cipv6_fragmenter.c
Compile [ 47.0%]: protocol_6lowpan.c
Compile [ 47.1%]: iphc_compress.c
Compile [ 47.2%]: iphc_decompress.c
Compile [ 47.3%]: beacon_handler.c
Compile [ 47.4%]: mac_ie_lib.c
Compile [ 47.5%]: mac_pairwise_key.c
Compile [ 47.6%]: mac_data_poll.c
Compile [ 47.7%]: mac_response_handler.c
Compile [ 47.8%]: nwk_nvm.c
Compile [ 47.8%]: arm_hal_fhss_timer.cpp
Compile [ 47.9%]: mesh.c
Compile [ 48.0%]: thread_beacon.c
Compile [ 48.1%]: ns_event_loop_mbed.cpp
Compile [ 48.2%]: mac_helper.c
Compile [ 48.3%]: thread_commissioning_if.c
Compile [ 48.4%]: thread_dhcpv6_server.c
Compile [ 48.5%]: arm_hal_timer.cpp
Compile [ 48.6%]: protocol_6lowpan_bootstrap.c
Compile [ 48.7%]: thread_bbr_api.c
Compile [ 48.8%]: thread_ccm.c
Compile [ 48.9%]: thread_border_router_api.c
Compile [ 48.9%]: thread_diagnostic.c
Compile [ 49.0%]: nd_router_object.c
Compile [ 49.1%]: thread_lowpower_private_api.c
Compile [ 49.2%]: thread_commissioning_api.c
Compile [ 49.3%]: thread_bbr_commercial.c
Compile [ 49.4%]: thread_lowpower_api.c
Compile [ 49.5%]: thread_management_api.c
Compile [ 49.6%]: thread_mdns.c
Compile [ 49.7%]: thread_host_bootstrap.c
Compile [ 49.8%]: thread_management_client.c
Compile [ 49.9%]: thread_discovery.c
Compile [ 50.0%]: thread_common.c
Compile [ 50.0%]: thread_net_config_api.c
Compile [ 50.1%]: thread_meshcop_lib.c
Compile [ 50.2%]: thread_leader_service.c
Compile [ 50.3%]: thread_neighbor_class.c
Compile [ 50.4%]: thread_network_data_lib.c
Compile [ 50.5%]: thread_nd.c
Compile [ 50.6%]: thread_management_if.c
Compile [ 50.7%]: thread_mle_message_handler.c
Compile [ 50.8%]: thread_bootstrap.c
Compile [ 50.9%]: thread_network_synch.c
Compile [ 51.0%]: thread_joiner_application.c
Compile [ 51.1%]: thread_resolution_server.c
Compile [ 51.1%]: thread_resolution_client.c
Compile [ 51.2%]: thread_management_server.c
Compile [ 51.3%]: thread_nvm_store.c
Compile [ 51.4%]: ws_common.c
Compile [ 51.5%]: ws_eapol_auth_relay.c
Compile [ 51.6%]: ws_bbr_api.c
Compile [ 51.7%]: ws_eapol_pdu.c
Compile [ 51.8%]: ws_eapol_relay_lib.c
Compile [ 51.9%]: ws_empty_functions.c
Compile [ 52.0%]: ws_eapol_relay.c
Compile [ 52.1%]: thread_test_api.c
Compile [ 52.2%]: thread_routing.c
Compile [ 52.2%]: ws_cfg_settings.c
Compile [ 52.3%]: adaptation_interface.c
Compile [ 52.4%]: ws_mpx_header.c
Compile [ 52.5%]: ws_ie_lib.c
Compile [ 52.6%]: ws_pae_key_storage.c
[Error] ws_pae_key_storage.c@410,42: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@410,18: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@646,26: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@646,13: format '%s' expects a matching 'char *' argument [-Wformat=]
[Warning] ws_pae_key_storage.c@646,13: format '%s' expects a matching 'char *' argument [-Wformat=]
[Warning] ws_pae_key_storage.c@646,13: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@697,42: expected ')' before 'PRIx64'
[Warning] ws_pae_key_storage.c@697,13: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@771,38: expected ')' before 'PRIx64'
[Warning] ws_pae_key_storage.c@771,13: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@834,51: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@834,22: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@863,40: expected ')' before 'PRIx64'
[Warning] ws_pae_key_storage.c@863,13: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@936,59: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@936,21: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@952,59: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@952,21: spurious trailing '%' in format [-Wformat=]
[Error] ws_pae_key_storage.c@972,46: expected ')' before 'PRIi64'
[Warning] ws_pae_key_storage.c@972,18: spurious trailing '%' in format [-Wformat=]
[ERROR] In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_supp_write':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:410:42: error: expected ')' before 'PRIi64'
  410 |         tr_error("KeyS write time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                                          ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:410:18: warning: spurious trailing '%' in format [-Wformat=]
  410 |         tr_error("KeyS write time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:410:40: note: format string is defined here
  410 |         tr_error("KeyS write time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                                        ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_trace':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:26: error: expected ')' before 'PRIi64'
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |                          ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:13: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |             ^~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:20: note: format string is defined here
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |                   ~^
      |                    |
      |                    char *
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:13: warning: format '%s' expects a matching 'char *' argument [-Wformat=]
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |             ^~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:23: note: format string is defined here
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |                      ~^
      |                       |
      |                       char *
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:13: warning: spurious trailing '%' in format [-Wformat=]
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |             ^~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:646:24: note: format string is defined here
  646 |     tr_info("KeyS %s %s%"PRIi64" %"PRIi64" %s%s%i %s%s%s%s%s %s%s%i %i %s%i %i",
      |                        ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_store':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:697:42: error: expected ')' before 'PRIx64'
  697 |     tr_info("KeyS storage store, bitf: %"PRIx64, store_bitfield);
      |                                          ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:697:13: warning: spurious trailing '%' in format [-Wformat=]
  697 |     tr_info("KeyS storage store, bitf: %"PRIx64, store_bitfield);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:697:40: note: format string is defined here
  697 |     tr_info("KeyS storage store, bitf: %"PRIx64, store_bitfield);
      |                                        ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_read':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:771:38: error: expected ')' before 'PRIx64'
  771 |     tr_info("KeyS init store bitf: %"PRIx64, store_bitfield);
      |                                      ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:771:13: warning: spurious trailing '%' in format [-Wformat=]
  771 |     tr_info("KeyS init store bitf: %"PRIx64, store_bitfield);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:771:36: note: format string is defined here
  771 |     tr_info("KeyS init store bitf: %"PRIx64, store_bitfield);
      |                                    ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:834:51: error: expected ')' before 'PRIi64'
  834 |             tr_error("KeyS read array time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                                                   ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:834:22: warning: spurious trailing '%' in format [-Wformat=]
  834 |             tr_error("KeyS read array time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:834:49: note: format string is defined here
  834 |             tr_error("KeyS read array time err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), key_storage_array->storage_array_handle->reference_time, time_difference);
      |                                                 ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_remove':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:863:40: error: expected ')' before 'PRIx64'
  863 |     tr_info("KeyS remove store bitf: %"PRIx64, store_bitfield);
      |                                        ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:863:13: warning: spurious trailing '%' in format [-Wformat=]
  863 |     tr_info("KeyS remove store bitf: %"PRIx64, store_bitfield);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:863:38: note: format string is defined here
  863 |     tr_info("KeyS remove store bitf: %"PRIx64, store_bitfield);
      |                                      ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_array_time_update_entry':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:936:59: error: expected ')' before 'PRIi64'
  936 |             tr_info("KeyS time update PMK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->pmk_lifetime),  STIME_FORMAT_GET(storage_array_entry->pmk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                                                           ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:936:21: warning: spurious trailing '%' in format [-Wformat=]
  936 |             tr_info("KeyS time update PMK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->pmk_lifetime),  STIME_FORMAT_GET(storage_array_entry->pmk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:936:57: note: format string is defined here
  936 |             tr_info("KeyS time update PMK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->pmk_lifetime),  STIME_FORMAT_GET(storage_array_entry->pmk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                                                         ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:952:59: error: expected ')' before 'PRIi64'
  952 |             tr_info("KeyS time update PTK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->ptk_lifetime), STIME_FORMAT_GET(storage_array_entry->ptk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                                                           ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:952:21: warning: spurious trailing '%' in format [-Wformat=]
  952 |             tr_info("KeyS time update PTK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->ptk_lifetime), STIME_FORMAT_GET(storage_array_entry->ptk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:129:79: note: in definition of macro 'tr_info'
  129 | #define tr_info(...)            mbed_tracef(TRACE_LEVEL_INFO,    TRACE_GROUP, __VA_ARGS__)   //!< Print info message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:952:57: note: format string is defined here
  952 |             tr_info("KeyS time update PTK expired diff: %"PRIi64" t: %i %i eui64: %s", time_difference, STIME_TIME_GET(storage_array_entry->ptk_lifetime), STIME_FORMAT_GET(storage_array_entry->ptk_lifetime), tr_array(storage_array_entry->ptk_eui_64, 8));
      |                                                         ^
In file included from ./mbed-os/connectivity/libraries/nanostack-libservice/mbed-client-libservice/ns_trace.h:32,
                 from ./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:22:
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c: In function 'ws_pae_key_storage_array_time_check_and_update_all':
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:972:46: error: expected ')' before 'PRIi64'
  972 |         tr_error("KeyS array time all err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), reference_time, time_difference);
      |                                              ^~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:972:18: warning: spurious trailing '%' in format [-Wformat=]
  972 |         tr_error("KeyS array time all err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), reference_time, time_difference);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mbed-os/platform/mbed-trace/include/mbed-trace/mbed_trace.h:143:79: note: in definition of macro 'tr_error'
  143 | #define tr_error(...)           mbed_tracef(TRACE_LEVEL_ERROR,   TRACE_GROUP, __VA_ARGS__)   //!< Print Error Message
      |                                                                               ^~~~~~~~~~~
./mbed-os/connectivity/nanostack/sal-stack-nanostack/source/6LoWPAN/ws/ws_pae_key_storage.c:972:44: note: format string is defined here
  972 |         tr_error("KeyS array time all err: %"PRIi64", ref: %"PRIi64", diff: %"PRIi32, ws_pae_current_time_get(), reference_time, time_difference);
      |                                            ^

[mbed] ERROR: "/usr/bin/python3" returned error.
       Code: 1
       Path: "/workspaces/develop_mbed/mbed-os-example-blinky"
       Command: "/usr/bin/python3 -u /workspaces/develop_mbed/mbed-os-example-blinky/mbed-os/tools/make.py -t GCC_ARM -m DISCO_L475VG_IOT01A --source . --build ./BUILD/DISCO_L475VG_IOT01A/GCC_ARM"
       Tip: You could retry the last command with "-v" flag for verbose output
---
ciarmcom commented 3 years ago

@pablogs9 This issue has an incomplete or old issue template.For future reference please use an up to date clone of the repository before raising issues. Many thanks.

ciarmcom commented 3 years ago

Thank you for raising this detailed GitHub issue. I am now notifying our internal issue triagers. Internal Jira reference: https://jira.arm.com/browse/IOTOSM-3285

evedon commented 3 years ago

Hi, I am not able to reproduce the issue. I am also using Mbed CLI 1.10.5 Which versions of the example and mbed-os are you using? You can find out by running mbed ls. You should see:

mbed-os-example-blinky (#19c434027ca5, tag: mbed-os-6.6.0)
`- mbed-os (#d6784c3ee6ad, tags: mbed-os-6.6.0, mbed-os-6.6.0-rc1)
pablogs9 commented 3 years ago

Solved, I have re-ran in a clean environment and it works. Sorry and thanks.

tartavull commented 3 years ago

I'm facing the exact same compilation problem. I deleted the BUILD folder but the problem persists. Have you done any additional cleanup @pablogs9 ?

ccu1tn commented 3 years ago

Hello @pablogs9 ; I am importing the embed from this link: mbed import https://github.com/ARMmbed/mbed-os-example-blinky But it appears this error. image

Do you know how to fix it? Please help me! Many thanks

0xc0170 commented 3 years ago

@ccu1tn This is unrelated to this issue. Create a new issue with more detail information (run -v to get an error, where it comes from).

multiplemonomials commented 2 years ago

I think this issue might be a bug with the Ubuntu package manager version of arm-none-eabi-gcc: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953844