-1

Scons error while installing and building iotivity on ubuntu 12.04

While trying to install iotivity on docker image ubuntu 12.04 i followed all instruction from iotivity Documentation for linux and when i use to run scons in root directory from iotivity i am getting following error in last and process failed

Following is my image and other information Docker Image: Ubuntu:12.04 iotivity Documentation followed : documentation/linux/getting-started Iotivity version used : iotivity-1.1.0.zip

Log file after running Scons is attached as .txt file

Any help is most welcomed and thanks in advance for that

Docker-iotivity-error-log-file

i can't use more than 1 link so please forgive me for iotivity version and documentation full link.

1 Answers1

0

It is due to missing file, cborparser_dup_string.c in tinycbor/Sconscript.

If you can add this file in extlibs/tinycbor/SConscript, it should resolve the issue.

cbor_src = [
    os.path.join(cborDir,'src/cborparser.c'),
    os.path.join(cborDir,'src/cborencoder.c'),
    os.path.join(cborDir,'src/cborerrorstrings.c'),
    os.path.join(cborDir,'src/cborparser_dup_stirng.c'),
]
Pang
  • 9,564
  • 146
  • 81
  • 122
Habib
  • 83
  • 1
  • 6