iotivity build is failed master branch latest code.

Partial fail log:

ocpayloadparse.c:(.text+0xa6e): undefined reference to `_cbor_value_dup_string'
out/linux/x86_64/release/resource/csdk/stack/src/ocpayloadparse.os:ocpayloadparse.c:(.text+0xab4):
 more undefined references to `_cbor_value_dup_string' follow
collect2: error: ld returned 1 exit status

Then checked with 1.1-rel branch, as it was built succesfully before. But 
surprisingly found same error. After analysis, I found problem was with 
tinycbor library. It library has recently updated. I then build iotivity with 
previous version of tinycbor library and found build is ok.

When a user iotivity is build first time, instruction to download tinycbor 
project is given. 

git clone https://github.com/01org/tinycbor.git extlibs/tinycbor/tinycbor

But user found no instruction about a specific commit id for tinycbor library. 
As tinycbor is development is independant forim iotivity, iotivity's specific 
version needed to use specific version of tinycbor.

Reply via email to