Hi Colleages,
I have a problem building the source code by this tag.

The error I get:

resource/csdk/stack/src/ocpayload.c: In function
'OCLinksPayloadValueCreate':
resource/csdk/stack/src/ocpayload.c:2226:9: error: too many arguments to
function 'BuildCollectionLinksPayloadValue'
         result = BuildCollectionLinksPayloadValue(resourceUri,
linksRepPayloadValue, devAddr, isOCFVer);
         ^
In file included from resource/csdk/stack/src/ocpayload.c:27:0:
resource/csdk/stack/include/internal/occollection.h:32:15: note: declared
here
 OCStackResult BuildCollectionLinksPayloadValue(const char* resourceUri,
               ^
scons: *** [out/android/armeabi/debug/resource/csdk/stack/src/ocpayload.o]
Error 1

Indeed, there is a mismatch between *.c and *.h by number of arguments in
the source tree.

My source tree was built from scracth via:

   - git clone https://gerrit.iotivity.org/gerrit/p/iotivity.git
   - cd iotivity
   - git checkout tags/PF13_PRE

My build:

scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP SECURED=1
ANDROID_HOME=[PATH] ANDROID_NDK=[PATH] RELEASE=0 ANDROID_GRADLE=[PATH]

Did I miss anything?

Thanks,

Max






On Fri, Jul 7, 2017 at 12:49 PM, ??? (Uze Choi) <uzchoi at samsung.com> wrote:

> Dear IoTivity developer,
>
>
>
> We made a tag for Plugfest 13 preparation.
>
> -       Tag name : PF13_PRE
>
> Please use this version as baseline for Plugfest preparation and
> participation.
>
>
>
> Initially this engineering snapshot was intended to resolve CTT gap by
> today.
>
> However there are still some issues to be resolved yet. Most items are
> security issues.
>
> Please update the status for PF participant aware on
> https://wiki.iotivity.org/pf13_engineering_version_tag .
>
>
>
> BR, Uze Choi
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170707/2a5fdb4d/attachment.html>

Reply via email to