I get Linking out/linux/x86_64/debug/examples/OICMiddle/OICMiddle out/linux/x86_64/debug/libconnectivity_abstraction.a(caprotocolmessage.o): In function `CAParsePDU': /home/john/oic/iotivity/resource/csdk/connectivity/src/caprotocolmessage.c:201: undefined reference to `coap_new_pdu' out/linux/x86_64/debug/libconnectivity_abstraction.a(caprotocolmessage.o): In function `CAGeneratePDUImpl': /home/john/oic/iotivity/resource/csdk/connectivity/src/caprotocolmessage.c:229: undefined reference to `coap_new_pdu' collect2: error: ld returned 1 exit status scons: *** [out/linux/x86_64/debug/examples/OICMiddle/OICMiddle] Error 1 scons: building terminated because of errors.
The problem appears to be this line in its SConstruct: OIC_LIBS_PATH = '../../out/linux/x86_64/release' since I am building the debug version. How do I get it to use the appropriate libraries instead of the release libraries? New to scons. Even though I wrote OICMiddle, somebody else wrote the SConstruct and SConstruct files in the directory. Why both? John Light -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150429/4ae41b59/attachment.html>
