I'm surprised you don't have permissions to modify config.log...  A
fresh pull of IoTivity shouldn't include it, and I believe scons creates
it on its first run, so it should be writable.

Perhaps try deleting it?


On Wed, 2015-06-03 at 05:46 +0000, Naga Ashok Babu Jampani wrote:
> Hi,
> 
> I just realized, not just Android, even for linux I get the similar
> issue issue. Checking for POSIX Thread Support...(cached) no
> 
> While buidling using 'sudo scons' has resolved the issue dramatically.
> This gives permissions to modify config.log file. 
> 
> But this is not the case with everyone. If someone has come across,
> please let me know the soltuion. 
> 
> Best Regards,
> 
> Ashok. 
> 
>  
> 
> ------- Original Message -------
> 
> Sender : Naga Ashok Babu Jampani<jn.ashok at samsung.com> Senior
> Engineer/IoT Solution Lab./Samsung Electronics
> 
> Date : Jun 03, 2015 09:28 (GMT+09:00)
> 
> Title : Re: [dev] Android build is broken
> 
>  
> 
> Attached the config.log.
> 
> ------- Original Message -------
> 
> Sender : Naga Ashok Babu Jampani<jn.ashok at samsung.com> Senior
> Engineer/IoT Solution Lab./Samsung Electronics
> 
> Date : Jun 03, 2015 09:24 (GMT+09:00)
> 
> Title : Re: [dev] Android build is broken
> 
>  
> 
> Hi Erich, 
> 
> I have done both the steps,  rm -rf out as well as scons -c. My build
> is for Android. 
> 
> I still have the problem, Seems others have no issues. I am attaching
> my config.log file. 
> 
> Please suggest how to fix the issue.
> 
> Best Regards,
> 
> Ashok JN
> 
> ------- Original Message -------
> 
> Sender : Keane, Erich<erich.keane at intel.com>
> 
> Date : Jun 03, 2015 08:21 (GMT+09:00)
> 
> Title : Re: [dev] Android build is broken
> 
>  
> 
> It doesn't seem to do this on master for me... I wonder if the
> 'cached'
> component on your version is the reason for this?
> 
> Can you try doing an rm -rf on the out directory and a scons -c and
> trying again?  
> 
> If it still does this, check out your config.log in the root
> directory,
> it'll tell you what it did the test on (often the failure is not for
> the
> reason being tested sadly).
> 
> Attach it if you'd like, and I can take a look.
> 
> On Tue, 2015-06-02 at 23:17 +0000, Naga Ashok Babu Jampani wrote:
> > Hi,
> > 
> > I have taken the latest code and trying to build android. Currently
> > the build is broken. I tried to identify the issue, myself.
> > 
> > I get the following print, in the SConscript :
> > 
> > Checking for POSIX Thread Support...(cached) no
> > 
> > Can someone point me what is causing this?
> > 
> > if POSIX_SUPPORTED is false,  cathreadpool_pthreads.c and
> > camutex_pthread.c are not inlcuded. 
> > 
> > I have temporarily fixed it in my local SConscript at
> > resource/csdk/connectivity/common/SConscript, to always include
> these
> > files in the build.
> > 
> >  
> > 
> > Best Regards,
> > 
> > Ashok JN
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > iotivity-dev mailing list
> > iotivity-dev at lists.iotivity.org
> > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
> 
> 
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 
> 

Reply via email to