PelionIoT / simple-mbed-cloud-client

Simple interface for Mbed Cloud Client - deprecated
Apache License 2.0
7 stars 21 forks source link

Compile failure on sn_nsdl.c #50

Closed andrewc-arm closed 5 years ago

andrewc-arm commented 5 years ago

Hi,

I am using the fresh 'mbed new' test space with simple-mbed-cloud-client v2.0.1. This is the result of my 'mbed ls'.

mbed@mbedVB:~/code/SPDMC_test$ mbed ls
SPDMC_test ( revision in the current branch)
|- mbed-os (#bf6f2c3c6434, tags: latest, mbed-os-5.10.3)
`- simple-mbed-cloud-client (#907d5098a148, tag: v2.0.1)
   `- mbed-cloud-client (#62de4b89d235, tag: 2.0.1.1)

I am having this compile failure.

Compile [ 87.3%]: sn_nsdl.c
[Error] sn_nsdl.c@1962,91: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1962,91: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1962,91: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1962,91: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1962,91: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Warning] ns_list.h@204,75: left-hand operand of comma expression has no effect [-Wunused-value]
[Warning] ns_list.h@504,51: left-hand operand of comma expression has no effect [-Wunused-value]
[Error] sn_nsdl.c@1963,42: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1963,42: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Error] sn_nsdl.c@1963,42: 'struct coap_s' has no member named 'linked_list_blockwise_received_payloads'
[Warning] ns_list.h@204,75: left-hand operand of comma expression has no effect [-Wunused-value]
Failed to build library

Am I missing something? I am going to dig down on why we are having this compile error, but I would really appreciate if I get some hints on how to avoid this.

Thanks,

screamerbg commented 5 years ago

@andrewc-arm Is this still relevant?

andrewc-arm commented 5 years ago

Ah. Sorry. The reference issue case #51 fixed this as well as far as I remember.