Thanks for filing Harish & the comment Mats, I?ll have it fixed today. Harish, you can build without MULTIPLE_OWNER=1 if this is blocking you.
From: iotivity-dev-bounces at lists.iotivity.org [mailto:[email protected]] On Behalf Of Harish Kumara Marappa Sent: Monday, May 8, 2017 9:15 AM To: Mats Wichmann <mats at wichmann.us>; iotivity-dev at lists.iotivity.org Subject: Re: [dev] Facing build error in ocfframework.cpp Hi Mats, I have created a Jira ticket for this issue https://jira.iotivity.org/browse/IOT-2223<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fjira.iotivity.org%2Fbrowse%2FIOT-2223&data=02%7C01%7Cstjong%40exchange.microsoft.com%7Cd2dc7f4f5802445c0d1708d4962d5979%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636298568894878299&sdata=Han9e89%2Fk%2B975rkfT2L5ENW1t8tLKaYFpxOmZS0Fww0%3D&reserved=0>. Regards, Harish Kumara M --------- Original Message --------- Sender : Mats Wichmann <mats at wichmann.us<mailto:mats at wichmann.us>> Date : 2017-05-08 20:00 (GMT+5:30) Title : Re: [dev] Facing build error in ocfframework.cpp On 05/08/2017 03:12 AM, Harish Kumara Marappa wrote: > Hi, > > I am getting following build error while building 1.3-rel branch. > > resource/IPCA/src/ocfframework.cpp:1725:85: error: 'strnlen_s' was not > declared > in this scope > strnlen_s(passwordBuffer, > passwordBufferSize)); > > ^ > scons: *** [out/linux/x86/release/resource/IPCA/src/ocfframework.os] Error 1 > scons: building terminated because of errors. > > *Build command: *scons SECURED=1 MULTIPLE_OWNER=1 WITH_CLOUD=1 WITH_TCP=1 > TARGET_ARCH=x86 TARGET_TRANSPORT=IP > > *Commit hash: *e3726f55bea75e3e303745885fcfdfe0450203e7 > > Please let me know if anybody faced the same and found patch for it. Normally the answer to one of these is "someone forgot to include <string.h>", that's happened several times in the past. However this function is one of the bounds-checked functions from the optional ISO C 11 annex, and is not widely supported. Should not be used, since at least the GCC/Clang implementations on Linux do not provide these.
