Yes Ashok I added the cpp defines in @master\iotivity\resource\csdk\connectivity\src\SConscript only.
but I get the same issue. Regards, Raghavendra K. ________________________________ From: ASHOKBABU CHANNA <[email protected]> Sent: Tuesday, February 9, 2016 1:51 PM To: Raghavendra Kakarla; iotivity-dev at lists.iotivity.org Subject: Re: Re: [dev] CSDK building without the pthread support Hi Raghavendra , You have to add "SINGLE_THREAD" in preprocessor defines not in SCONS build command. Check how we added CPP define for arduino @master\iotivity\resource\csdk\connectivity\src\SConscript (search with SINGLE_THREAD). Regards, Ashok ------- Original Message ------- Sender : Raghavendra Kakarla<Raghavendra.Kakarla at inedasystems.com> Date : Feb 09, 2016 13:31 (GMT+05:30) Title : Re: [dev] CSDK building without the pthread support Hi Ashok, Thank you very much for your response. When I build with the SINGLE_THREAD=1 with scons I got the following error: mips-sde-elf-gcc: error: unrecognized command line option '-pthread' could please if I did any wrong. Regards, Raghavendra K. ________________________________ From: ASHOKBABU CHANNA <[email protected]> Sent: Tuesday, February 9, 2016 12:30 PM To: Raghavendra Kakarla; iotivity-dev at lists.iotivity.org Subject: Re: [dev] CSDK building without the pthread support Hi, You can build with "SINGLE_THREAD" CPP define flag for without pthread support. For Arduino, IoTivity will build with same flag. Regards, Ashok ------- Original Message ------- Sender : Raghavendra Kakarla<Raghavendra.Kakarla at inedasystems.com> Date : Feb 09, 2016 12:19 (GMT+05:30) Title : [dev] CSDK building without the pthread support Hi All, Could you please give me the information that, Is it possible to build IoTivity CSDK building without the pthread support. Regards, Raghavendra K. [cid:BGFC2LL5XOK0 at namo.co.kr] ______________________________________________________________________ This email has been scanned by the Symantec Email Security.cloud service. For more information please visit http://www.symanteccloud.com ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160209/b0df55fe/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: 201602091351011_Z5JE7EUA.gif Type: image/gif Size: 13168 bytes Desc: 201602091351011_Z5JE7EUA.gif URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160209/b0df55fe/attachment.gif>
