Hi all, I am trying to build an app as simple as just register an OIC device. I put the source code and copy all the libs into the same folder. When I run "scons", there are errors shows as attached. But I should put c_common library in the folder.
Could your offer some suggestion how I can build the application or how to understand the SCon scripts in IoTivity project? Thanks, scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... test... Linking test ./liboctbstack.a(ocstack.o): In function `FormCanonicalPresenceUri': ocstack.c:(.text+0x1a7): undefined reference to `OICStrcpy' ./liboctbstack.a(ocstack.o): In function `CopyEndpointToDevAddr': ocstack.c:(.text+0x255): undefined reference to `OICStrcpy' ./liboctbstack.a(ocstack.o): In function `CopyDevAddrToEndpoint': ocstack.c:(.text+0x2b7): undefined reference to `OICStrcpy' ./liboctbstack.a(ocstack.o): In function `HandlePresenceResponse': ocstack.c:(.text+0x4c1): undefined reference to `OICFree' ocstack.c:(.text+0x4ca): undefined reference to `OICFree' ocstack.c:(.text+0x4ec): undefined reference to `OICMalloc' ocstack.c:(.text+0x514): undefined reference to `OICMalloc' ocstack.c:(.text+0x52d): undefined reference to `OICFree' ocstack.c:(.text+0x595): undefined reference to `OICStrdup' ocstack.c:(.text+0x5c0): undefined reference to `OICFree' -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160110/33661325/attachment.html>
