ARMmbed / mbed-os-example-client

DEPRECATED: This is the mbed Client example application for mbed OS.
https://cloud.mbed.com/docs/current/welcome/index.html
Other
20 stars 58 forks source link

Test failure of example with k64 + Ethernet arm compiler #310

Closed vijhar01 closed 7 years ago

vijhar01 commented 7 years ago

This is the OOB testing results for k64 + Ethernet compiled with arm compiler Test failed. Here are details:

PS C:> mbed import https://github.com/ARMmbed/mbed-os-example-client [mbed] Importing program "bed-os-example-client" from "https://github.com/ARMmbed/mbed-os-example-client" at latest revision in the current b ranch [mbed] Adding library "easy-connect" from "https://github.com/ARMmbed/easy-connect" at rev #bf821b0695cc [mbed] Adding library "easy-connect\atmel-rf-driver" from "https://github.com/ARMmbed/atmel-rf-driver" at rev #3cc6010188c0 [mbed] Adding library "easy-connect\esp8266-driver" from "https://github.com/ARMmbed/esp8266-driver" at rev #fdb44a4bedbb [mbed] Adding library "easy-connect\esp8266-driver\ESP8266\ATParser" from "https://github.com/ARMmbed/ATParser" at rev #a2cb09990f11 [mbed] Adding library "easy-connect\mcr20a-rf-driver" from "https://github.com/ARMmbed/mcr20a-rf-driver" at rev #9aac10474702 [mbed] Adding library "easy-connect\stm-spirit1-rf-driver" from "https://github.com/ARMmbed/stm-spirit1-rf-driver" at rev #bee61bbe6807 [mbed] Adding library "mbed-client" from "https://github.com/ARMmbed/mbed-client" at rev #31e5ce203cc0 [mbed] Adding library "mbed-client\mbed-client-c" from "https://github.com/ARMmbed/mbed-client-c" at rev #ecfa619e42b2 [mbed] Adding library "mbed-client\mbed-client-classic" from "https://github.com/ARMmbed/mbed-client-classic" at rev #4e66929607c3 [mbed] Adding library "mbed-client\mbed-client-mbed-tls" from "https://github.com/ARMmbed/mbed-client-mbed-tls" at rev #7e1b6d815038 [mbed] Adding library "mbed-os" from "https://github.com/ARMmbed/mbed-os" at rev #98ba8acb83cf [mbed] Adding library "pal" from "https://github.com/ARMmbed/pal" at rev #60ce64d5ec35 PS C:> PS C:> cd mbed-os-example-client PS C:\mbed-os-example-client> mbed update mbed-os-5.6-oob [mbed] Updating program "mbed-os-example-client" to branch mbed-os-5.6-oob [mbed] Updating library "easy-connect" to rev #d6b91d22a6e9 [mbed] Updating library "easy-connect\atmel-rf-driver" to rev #3cc6010188c0 [mbed] Updating library "easy-connect\esp8266-driver" to rev #fdb44a4bedbb [mbed] Updating library "easy-connect\esp8266-driver\ESP8266\ATParser" to rev #a2cb09990f11 [mbed] Updating library "easy-connect\mcr20a-rf-driver" to rev #9aac10474702 [mbed] Updating library "easy-connect\stm-spirit1-rf-driver" to rev #bee61bbe6807 [mbed] Updating library "mbed-client" to rev #31e5ce203cc0 [mbed] Updating library "mbed-client\mbed-client-c" to rev #ecfa619e42b2 [mbed] Updating library "mbed-client\mbed-client-classic" to rev #4e66929607c3 [mbed] Updating library "mbed-client\mbed-client-mbed-tls" to rev #7e1b6d815038 [mbed] Updating library "mbed-os" to rev #a4056fb8bf3e [mbed] Updating library "pal" to rev #60ce64d5ec35 PS C:\mbed-os-example-client> pwd

Path

C:\mbed-os-example-client

PS C:\mbed-os-example-client> ls

Directory: C:\mbed-os-example-client

Mode LastWriteTime Length Name


d----- 9/18/2017 10:44 PM .github d----- 9/18/2017 10:44 PM configs d----- 9/18/2017 10:44 PM docs d----- 9/18/2017 10:48 PM easy-connect d----- 9/18/2017 10:44 PM GW_Binary d----- 9/18/2017 10:44 PM mbed-client d----- 9/18/2017 10:48 PM mbed-os d----- 9/18/2017 10:47 PM pal -a---- 9/18/2017 10:44 PM 319 .gitignore -a---- 9/18/2017 10:48 PM 8 .mbed -a---- 9/18/2017 10:44 PM 9215 apache-2.0.txt -a---- 9/18/2017 10:44 PM 2547 build_all.sh -a---- 9/18/2017 10:44 PM 124269 clicks.png -a---- 9/18/2017 10:48 PM 83 easy-connect.lib -a---- 9/18/2017 10:44 PM 4369 Jenkinsfile -a---- 9/18/2017 10:44 PM 135 LICENSE -a---- 9/18/2017 10:44 PM 15414 main.cpp -a---- 9/18/2017 10:44 PM 82 mbed-client.lib -a---- 9/18/2017 10:48 PM 78 mbed-os.lib -a---- 9/18/2017 10:44 PM 3464 mbedtls_mbed_client_config.h -a---- 9/18/2017 10:44 PM 1590 mbed_app.json -a---- 9/18/2017 10:44 PM 2291 mbed_client_config.h -a---- 9/18/2017 10:47 PM 1374 mbed_settings.py -a---- 9/18/2017 10:44 PM 74 pal.lib -a---- 9/18/2017 10:44 PM 20035 README.md -a---- 9/18/2017 10:44 PM 1258 security.h -a---- 9/18/2017 10:44 PM 13707 simpleclient.h

PS C:\mbed-os-example-client> cd configs PS C:\mbed-os-example-client\configs> ls

Directory: C:\mbed-os-example-client\configs

Mode LastWriteTime Length Name


-a---- 9/18/2017 10:44 PM 103 eth-wifi-mbedignore -a---- 9/18/2017 10:44 PM 722 eth_v4.json -a---- 9/18/2017 10:44 PM 722 eth_v6.json -a---- 9/18/2017 10:44 PM 31 mesh-mbedignore -a---- 9/18/2017 10:44 PM 796 mesh_6lowpan.json -a---- 9/18/2017 10:44 PM 1012 mesh_6lowpan_subg.json -a---- 9/18/2017 10:44 PM 806 mesh_thread.json -a---- 9/18/2017 10:44 PM 1233 wifi_esp8266_v4.json -a---- 9/18/2017 10:44 PM 1318 wifi_odin_v4.json -a---- 9/18/2017 10:44 PM 1322 wifi_v4.json

PS C:\mbed-os-example-client\configs> cp eth_v4.json ../mbed_app.json PS C:\mbed-os-example-client\configs> cp eth-wifi-mbedignore ../.mbedignore PS C:\mbed-os-example-client\configs> mbed detect

[mbed] Detected K64F, port COM5, mounted D: [mbed] Supported toolchains for K64F +--------+-----------+-----------+-----------+-----------+-----------+-----------+ | Target | mbed OS 2 | mbed OS 5 | ARM | GCC_ARM | IAR | ARMC6 | +--------+-----------+-----------+-----------+-----------+-----------+-----------+ | K64F | Supported | Supported | Supported | Supported | Supported | Supported | +--------+-----------+-----------+-----------+-----------+-----------+-----------+ Supported targets: 1 Supported toolchains: 4 PS C:\mbed-os-example-client\configs> mbed compile -m K64F -t ARM -c Building project mbed-os-example-client (K64F, ARM) Scan: .. Scan: env Scan: mbed Scan: FEATURE_LWIP Scan: FEATURE_COMMON_PAL Scan: FEATURE_STORAGE Compile [ 0.2%]: BufferedPrint.c Compile [ 0.5%]: MyBuffer.cpp Compile [ 0.7%]: ESP8266Interface.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 1.0%]: ATParser.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 1.2%]: BufferedSerial.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 1.4%]: ESP8266.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 1.7%]: sn_grs.c Compile [ 1.9%]: m2mconnectionhandler.cpp Compile [ 2.2%]: sn_nsdl.c Compile [ 2.4%]: m2mconnectionhandlerpimpl.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual [Warning] m2mconnectionhandlerpimpl.cpp@740,0: #550-D: variable "status" was set but never used Compile [ 2.6%]: m2mtimer.cpp Compile [ 2.9%]: m2mtimerpimpl.cpp Compile [ 3.1%]: m2mconnectionsecurity.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 3.3%]: m2mconnectionsecuritypimpl.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 3.6%]: m2mblockmessage.cpp Compile [ 3.8%]: m2mbase.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual [Warning] m2mbase.cpp@84,0: #191-D: type qualifier is meaningless on cast type Compile [ 4.1%]: m2mcallbackstorage.cpp Compile [ 4.3%]: m2mdevice.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 4.5%]: m2mfirmware.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 4.8%]: main.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual [Warning] security.h@55,0: #1-D: last line of file ends without a newline [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] simpleclient.h@228,0: #1300-D: bootstrap_done inherits implicit virtual [Warning] simpleclient.h@239,0: #1300-D: object_registered inherits implicit virtual [Warning] simpleclient.h@248,0: #1300-D: object_unregistered inherits implicit virtual [Warning] simpleclient.h@257,0: #1300-D: registration_updated inherits implicit virtual [Warning] simpleclient.h@268,0: #1300-D: error inherits implicit virtual [Warning] simpleclient.h@319,0: #1300-D: value_updated inherits implicit virtual [Warning] main.cpp@363,0: #174-D: expression has no effect Compile [ 5.0%]: m2minterfacefactory.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 5.3%]: m2mobject.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 5.5%]: m2minterfaceimpl.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 5.7%]: m2mobjectinstance.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 6.0%]: m2mnsdlinterface.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 6.2%]: m2mreporthandler.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 6.5%]: m2mresource.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 6.7%]: m2mresourceinstance.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 6.9%]: m2mresourcebase.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 7.2%]: m2msecurity.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 7.4%]: m2mserver.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 7.7%]: m2mstringbufferbase.cpp Compile [ 7.9%]: m2mstring.cpp Compile [ 8.1%]: m2mtlvdeserializer.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 8.4%]: m2mtlvserializer.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 8.6%]: nsdlaccesshelper.cpp [Warning] m2mresourceinstance.h@131,0: #1300-D: object_instance_id inherits implicit virtual Compile [ 8.9%]: AnalogIn.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 9.1%]: BusIn.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 9.3%]: BusInOut.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 9.6%]: BusOut.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 9.8%]: CAN.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 10.0%]: Ethernet.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 10.3%]: FlashIAP.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 10.5%]: I2C.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 10.8%]: I2CSlave.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 11.0%]: InterruptIn.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 11.2%]: InterruptManager.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 11.5%]: RawSerial.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 11.7%]: SPI.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 12.0%]: SPISlave.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 12.2%]: Serial.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 12.4%]: SerialBase.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 12.7%]: Ticker.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 12.9%]: Timeout.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 13.2%]: Timer.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 13.4%]: TimerEvent.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 13.6%]: UARTSerial.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 13.9%]: EventQueue.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 14.1%]: equeue.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 14.4%]: equeue_mbed.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 14.6%]: randLIB.c Compile [ 14.8%]: sn_coap_builder.c Compile [ 15.1%]: sn_coap_header_check.c Compile [ 15.3%]: sn_coap_parser.c Compile [ 15.6%]: sn_coap_protocol.c Compile [ 15.8%]: equeue_posix.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 16.0%]: mbed_trace.c Compile [ 16.3%]: arm_hal_random.c Compile [ 16.5%]: mbed_shared_queues.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 16.7%]: cs_nvm.c Compile [ 17.0%]: ns_hal_init.c Compile [ 17.2%]: arm_hal_interrupt.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 17.5%]: nvm_ram.c Compile [ 17.7%]: arm_hal_timer.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 17.9%]: ip_fsc.c Compile [ 18.2%]: common_functions.c Compile [ 18.4%]: ns_event_loop.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 18.7%]: ns_list.c Compile [ 18.9%]: ip6tos.c Compile [ 19.1%]: stoip6.c Compile [ 19.4%]: nsdynmemLIB.c [Warning] nsdynmemLIB.c@212,0: #546-D: transfer of control bypasses initialization of: [Warning] nsdynmemLIB.c@236,0: #546-D: transfer of control bypasses initialization of: Compile [ 19.6%]: ns_nvm_helper.c Compile [ 19.9%]: event.c Compile [ 20.1%]: minar_hal_timer.cpp Compile [ 20.3%]: ns_timeout.c [Warning] ns_timeout.c@69,0: #546-D: transfer of control bypasses initialization of: Compile [ 20.6%]: ns_timer.c Compile [ 20.8%]: system_timer.c [Warning] system_timer.c@313,0: #546-D: transfer of control bypasses initialization of: Compile [ 21.1%]: emac_lwip.c Compile [ 21.3%]: emac_stack_lwip.cpp Compile [ 21.5%]: EthernetInterface.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 21.8%]: hardware_init_MK64F12.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 22.0%]: hardware_init_MK66F18.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 22.2%]: lwip_checksum.c Compile [ 22.5%]: lwip_memcpy.c Compile [ 22.7%]: k64f_emac.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] fsl_dspi.h@67,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@74,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@81,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@87,0: #66-D: enumeration value is out of "int" range [Warning] fsl_edma.h@145,0: #66-D: enumeration value is out of "int" range [Warning] fsl_uart.h@159,0: #66-D: enumeration value is out of "int" range [Warning] fsl_flash.h@497,0: #66-D: enumeration value is out of "int" range Compile [ 23.0%]: lwip_random.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 23.2%]: lwip_sys_arch.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] fsl_dspi.h@67,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@74,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@81,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@87,0: #66-D: enumeration value is out of "int" range [Warning] fsl_edma.h@145,0: #66-D: enumeration value is out of "int" range [Warning] fsl_uart.h@159,0: #66-D: enumeration value is out of "int" range [Warning] fsl_flash.h@497,0: #66-D: enumeration value is out of "int" range [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 23.4%]: lwip_tcp_isn.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 23.7%]: lwip_api_lib.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 23.9%]: lwip_err.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 24.2%]: lwip_api_msg.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 24.4%]: lwip_netdb.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 24.6%]: lwip_netbuf.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 24.9%]: lwip_netifapi.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 25.1%]: lwip_sockets.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 25.4%]: lwip_autoip.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 25.6%]: lwip_tcpip.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 25.8%]: lwip_dhcp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 26.1%]: lwip_etharp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 26.3%]: lwip_icmp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 26.6%]: lwip_igmp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 26.8%]: lwip_ip4_addr.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 27.0%]: lwip_ip4.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 27.3%]: lwip_dhcp6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 27.5%]: lwip_ip4_frag.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 27.8%]: lwip_ethip6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 28.0%]: lwip_icmp6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 28.2%]: lwip_inet6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 28.5%]: lwip_ip6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 28.7%]: lwip_ip6_addr.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 28.9%]: lwip_ip6_frag.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 29.2%]: lwip_nd6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 29.4%]: lwip_mld6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 29.7%]: lwip_def.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 29.9%]: lwip_dns.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 30.1%]: lwip_inet_chksum.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 30.4%]: lwip_init.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 30.6%]: lwip_ip.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 30.9%]: lwip_mem.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 31.1%]: lwip_memp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 31.3%]: lwip_netif.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 31.6%]: lwip_raw.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 31.8%]: lwip_pbuf.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 32.1%]: lwip_stats.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 32.3%]: lwip_sys.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 32.5%]: lwip_tcp_in.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 32.8%]: lwip_tcp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] lwip_tcp.c@361,0: #111-D: statement is unreachable Compile [ 33.0%]: lwip_tcp_out.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 33.3%]: lwip_timeouts.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 33.5%]: lwip_udp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 33.7%]: lwip_ethernet.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 34.0%]: lwip_ethernetif.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 34.2%]: lwip_lowpan6.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 34.4%]: lwip_ccp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 34.7%]: lwip_auth.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 34.9%]: lwip_chap-md5.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 35.2%]: lwip_chap-new.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 35.4%]: lwip_chap_ms.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 35.6%]: lwip_demand.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 35.9%]: lwip_eap.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 36.1%]: lwip_ecp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 36.4%]: lwip_eui64.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 36.6%]: lwip_fsm.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 36.8%]: lwip_ipcp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 37.1%]: lwip_ipv6cp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 37.3%]: lwip_lcp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 37.6%]: lwip_magic.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 37.8%]: lwip_mppe.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 38.0%]: lwip_multilink.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 38.3%]: lwip_ppp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 38.5%]: lwip_pppapi.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 38.8%]: lwip_pppcrypt.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 39.0%]: lwip_pppoe.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 39.2%]: lwip_pppol2tp.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 39.5%]: lwip_pppos.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 39.7%]: lwip_upap.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 40.0%]: lwip_utils.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 40.2%]: lwip_vj.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 40.4%]: lwip_arc4.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 40.7%]: lwip_des.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 40.9%]: lwip_md4.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 41.1%]: lwip_sha1.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 41.4%]: lwip_md5.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 41.6%]: lwip_stack.c [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] fsl_dspi.h@67,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@74,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@81,0: #66-D: enumeration value is out of "int" range [Warning] fsl_dspi.h@87,0: #66-D: enumeration value is out of "int" range [Warning] fsl_edma.h@145,0: #66-D: enumeration value is out of "int" range [Warning] fsl_uart.h@159,0: #66-D: enumeration value is out of "int" range [Warning] fsl_flash.h@497,0: #66-D: enumeration value is out of "int" range [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] lwip_stack.c@296,0: #111-D: statement is unreachable [Warning] lwip_stack.c@661,0: #174-D: expression has no effect [Warning] lwip_stack.c@689,0: #174-D: expression has no effect Compile [ 41.9%]: ppp_lwip.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 42.1%]: Dir.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 42.3%]: File.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 42.6%]: FileSystem.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 42.8%]: ChainingBlockDevice.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 43.1%]: HeapBlockDevice.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 43.3%]: MBRBlockDevice.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 43.5%]: ProfilingBlockDevice.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 43.8%]: SlicingBlockDevice.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 44.0%]: ccsbcs.cpp Compile [ 44.3%]: ff.cpp Compile [ 44.5%]: greentea_serial.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 44.7%]: greentea_metrics.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 45.0%]: FATFileSystem.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 45.2%]: unity.c Compile [ 45.5%]: greentea_test_env.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 45.7%]: mbed-utest-shim.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 45.9%]: unity_handler.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 46.2%]: utest_case.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 46.4%]: utest_default_handlers.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 46.7%]: utest_stack_trace.cpp Compile [ 46.9%]: utest_greentea_handlers.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 47.1%]: utest_harness.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 47.4%]: utest_shim.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 47.6%]: aes.c Compile [ 47.8%]: aesni.c Compile [ 48.1%]: utest_types.cpp [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma [Warning] core_cm4.h@28,0: #161-D: unrecognized #pragma Compile [ 48.3%]: arc4.c Compile [ 48.6%]: asn1parse.c Compile [ 48.8%]: base64.c Compile [ 49.0%]: asn1write.c Compile [ 49.3%]: bignum.c [Error] bignum.c@1140,0: #18: expected a ")" [Error] bignum.c@1151,0: #18: expected a ")" [Error] bignum.c@1158,0: #18: expected a ")" [ERROR] "..\mbed-os\features\mbedtls\src\bignum.c", line 1140: Error: #18: expected a ")" "..\mbed-os\features\mbedtls\src\bignum.c", line 1151: Error: #18: expected a ")" "..\mbed-os\features\mbedtls\src\bignum.c", line 1158: Error: #18: expected a ")" ..\mbed-os\features\mbedtls\src\bignum.c: 0 warnings, 3 errors

[mbed] ERROR: "C:\Python27\python.exe" returned error code 1. [mbed] ERROR: Command "C:\Python27\python.exe -u C:\mbed-os-example-client\mbed-os\tools\make.py -t ARM -m K64F --source .. --build ..\BUILD\ K64F\ARM -c" in "C:\mbed-os-example-client\configs"

PS C:\mbed-os-example-client\configs>

teetak01 commented 7 years ago

Hi @vijhar01, please move this issue to Mbed OS as the error originates from Mbed OS component.

ciarmcom commented 7 years ago

ARM Internal Ref: IOTCLT-1998

ashok-rao commented 7 years ago

@adbridge .. FYI..

teetak01 commented 7 years ago

Also, you should highlight that this was tested with mbed OS 5.6. It was not immediately appearant.

teetak01 commented 7 years ago

Application compiles fine for mbed OS 5.5.7 with GCC, ARM and IAR, so not an application issue.

ashok-rao commented 7 years ago

@vijhar01 .. I can't seem to reproduce this.. following the exact same steps you mentioned, the application builds fine on my environment.

Total Static RAM memory (data + bss): 75477 bytes
Total Flash memory (text + data): 277513 bytes

Image: ..\BUILD\K64F\ARM\mbed-os-example-client.bin

C:\Ashok\mbed_CLI\OoB_5_6\Client\mbed-os-example-client\configs>

@adbridge @teetak01 @MarceloSalazar

teetak01 commented 7 years ago

did you do some local changes to mbedtls config? That error seems to point to MbedTLS.

teetak01 commented 7 years ago

Not a bug.

MarceloSalazar commented 7 years ago

@vijhar01 are you still seeing this problem? If so, could you please confirm your toolchain version?

teetak01 commented 7 years ago

@vijhar01 is this still an issue?

teetak01 commented 7 years ago

Closing due to inactivity.