I'm actually chasing down a bit of a solution now... there is an immediate issue in that libcoap added a generated config.h. Problem is... the details only apply to the platform it was generated on, not on most platforms. So that really needs to be replaced with some dynamic generation.
On 11/03/2015 11:36 AM, Morrow, Joseph L wrote: > Hi Gabriel, > > Can you confirm that __STDC_VERSION__ is not >= 201112L? It appears that C11 > has been enabled for 1.5.8 by default on Arduino, which would define > __STDC_VERSION__ to 201112L. The if-check you have implemented at line 4 of > 'config.h' will be true in this case and the #define "HAVE_STDASSERT_H" will > be true. Please add a check for "!defined(ARDUINO)" to your check. > > Thanks, > > Joey Morrow > > -----Original Message----- > From: iotivity-dev-bounces at lists.iotivity.org [mailto:iotivity-dev-bounces > at lists.iotivity.org] On Behalf Of Schulhof, Gabriel > Sent: Tuesday, November 3, 2015 2:24 AM > To: iotivity-dev > Subject: Re: [dev] Help with a build failure > > Hey! > > I'm still struggling with this build failure. Could someone with arduino > build experience help me figure out why the change [0] the diff for which is > [1] causes HAVE_STRINGS_H to be defined in > resource/csdk/security/src/doxmresource.c:46 which, in turn, causes it to > attempt to include strings.h, which seems to be absent on arduino? > Nowhere in my change to I define HAVE_STRINGS_H and, in fact, in > ./resource/csdk/security/SConscript:58 HAVE_STRINGS_H is only added if the > platform is /not/ arduino. > > [0] https://gerrit.iotivity.org/gerrit/#/c/3973/6 > [1] > https://gerrit.iotivity.org/gerrit/gitweb?p=iotivity.git;a=commitdiff;h=5fe8130e0f2ad8b6cac833c2ed57840ac2931da6 > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev > -- Jon A. Cruz - Senior Open Source Developer Samsung Open Source Group jonc at osg.samsung.com
