On 02/03/17 17:41, Bryan Trilck wrote:
> Hi all,
>
> I have an issue with Iotivity cloud client compilation on openwrt.
> I used Iotivity 1.2.1 :
>
> Archiving out/linux/mipsel/release/extlibs/tinydtls/libtinydtls.a
> Indexing Archive out/linux/mipsel/release/extlibs/tinydtls/libtinydtls.a
> Install file: 
> "out/linux/mipsel/release/extlibs/tinydtls/libtinydtls.a" as 
> "out/linux/mipsel/release/libtinydtls.a"
> Linking out/linux/mipsel/release/resource/csdk/liboctbstack.so
> out/linux/mipsel/release/resource/csdk/stack/src/ocstack.os: In 
> function `OCInit1':
> ocstack.c:(.text+0x328c): undefined reference to 
> `CARegisterKeepAliveHandler'

This look like a bug to fix in scons files,
I've observed order issues in some files and patched some of them, if 
you want to review:
https://gerrit.iotivity.org/gerrit/#/q/status:open+project:iotivity+branch:master+topic:build

>
> How can I fix this error ?

First report the bug, to track the problem,

note that SECURED is by default 0 in 1.2 branch
but it's enabled on tizen and probably other downstream projects,
so it's supposed to work.

try to rebuild master branch,
and patch sconscipts and eventually submit patches to gerrit
then try again on 1.2-rel branch
then incorporate them in openwrt repo.

Ask me if blocked, I use openwrt and LEDE on a couple of routers.

Thanks for your report, feel free to share notes for community at:
https://wiki.iotivity.org/os#openwrt


-- 

mailto:philippe.coval at osg.samsung.com gpg:0x467094BC
https://blogs.s-osg.org/author/pcoval/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170302/18de1e03/attachment.html>

Reply via email to