Thanks to Erich?s guidance, the problem was solved.

Installing uuid-dev package solved the problem(boost_thread).

However, I encountered another problem.

See the below errors.



In file included from /usr/local/include/boost/system/error_code.hpp:19:0,

                 from /usr/local/include/boost/system/system_error.hpp:14,

                 from /usr/local/include/boost/thread/exceptions.hpp:22,

                 from 
/usr/local/include/boost/thread/pthread/thread_data.hpp:10,

                 from /usr/local/include/boost/thread/thread_only.hpp:17,

                 from /usr/local/include/boost/thread/thread.hpp:12,

                 from /usr/local/include/boost/thread.hpp:13,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.h:37,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.cpp:25:

/usr/local/include/boost/utility/enable_if.hpp:27:21: note: original definition 
appeared here

   template <bool B, class T = void>

                     ^

In file included from /usr/local/include/boost/thread/detail/move.hpp:12:0,

                 from /usr/local/include/boost/thread/lock_guard.hpp:12,

                 from 
/usr/local/include/boost/thread/pthread/thread_data.hpp:11,

                 from /usr/local/include/boost/thread/thread_only.hpp:17,

                 from /usr/local/include/boost/thread/thread.hpp:12,

                 from /usr/local/include/boost/thread.hpp:13,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.h:37,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.cpp:25:

/usr/local/include/boost/core/enable_if.hpp:33:10: error: redefinition of 
'struct boost::enable_if_c<false, T>'

   struct enable_if_c<false, T> {};

          ^

In file included from /usr/local/include/boost/system/error_code.hpp:19:0,

                 from /usr/local/include/boost/system/system_error.hpp:14,

                 from /usr/local/include/boost/thread/exceptions.hpp:22,

                 from 
/usr/local/include/boost/thread/pthread/thread_data.hpp:10,

                 from /usr/local/include/boost/thread/thread_only.hpp:17,

                 from /usr/local/include/boost/thread/thread.hpp:12,

                 from /usr/local/include/boost/thread.hpp:13,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.h:37,

                 from 
service/protocol-plugin/plugin-manager/src/CpluffAdapter.cpp:25:

/usr/local/include/boost/utility/enable_if.hpp:33:10: error: previous 
definition of 'struct boost::enable_if_c<false, T>'

   struct enable_if_c<false, T> {};

. 

. 

. 



/usr/local/include/boost/core/ref.hpp:291:40: error: 'template<class T> T* 
boost::get_pointer(const boost::reference_wrapper<T>&)' previously declared here

template<class T> BOOST_FORCEINLINE T* get_pointer( reference_wrapper<T> const 
& r )

                                        ^

scons: *** 
[out/linux/x86_64/release/service/protocol-plugin/plugin-manager/src/CpluffAdapter.os]
 Error 1

scons: building terminated because of errors.



Regards,

Jm.


From: Rees, Kevron [mailto:[email protected]]
Sent: Thursday, June 11, 2015 3:46 PM
To: doil.kwon at samsung.com
Cc: Keane, Erich; Kim, Jm; iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Error on boost_thread during scons build

I actually just saw the same thing.  To get around it I commented out "Exit(1)" 
when it can't find boost_thread.  Then scons outputs lots of fun:
Checking for C++ library boost_thread... (cached) no
Did not find boost_thread, exiting!
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes
Checking for C++ library boost_thread... (cached) yes
Checking for C++ library boost_system... (cached) yes

On Wed, Jun 10, 2015 at 11:34 PM, ??? <doil.kwon at 
samsung.com<mailto:doil.kwon at samsung.com>> wrote:

hi all guys.

i also confront this problem.

so tried to install uuid-dev package(sudo apt-get install uuid-dev)

but problem is not missing.



if you have the other solutions,

plz share with me.



Thanks for regards.



------- Original Message -------

Sender : Keane, Erich<erich.keane at intel.com<mailto:erich.keane at intel.com>>

Date : 2015-06-11 01:30 (GMT+09:00)

Title : Re: [dev] Error on boost_thread during scons build


We haven't finished updating the build script (or I at least don't see
what happened to the patch), but this could be related to a missing
uuid-devel package as well.  Can you try doing an apt-get on that one?


On Wed, 2015-06-10 at 12:47 +0000, Kim, Jm wrote:
> Hi.
>
>
>
> I downloaded Iotivity 0.9.1 SDK and tried to build it with scons.
>
> However, I ran into an error that caused unexpected termination of the
> build.
>
> I installed boost 1.55 and 1.58 libraries before the build.
>
>
>
> The message is like below.
>
> ------------------------------------------------
>
> Reading sample application build script
>
> Sample secured flag 0
>
> sample src [?./sample_main.c?]
>
> *** Checking for installation of google unit test 1.7.0 ***
>
> *** Checking for installation of hippomocks ***
>
> Checking for C++ library boost_thread? no
>
> Did not find boost_thread, exiting!
>
> -------------------------------------------------
>
> Any help would be much appreciated.
>
>
>
> Regards,
>
> Jm.
>
>
>
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev

_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev



?????.

SWC IoT Solution Lab ??? ???.



?????.

??? ??.

________________________________

? ? ? (Doil Kwon)

S3 / Assistant Engineer

Advanced Convergence Lab.

Software R&D Center.

Samsung Electronics Co., Ltd.

Tel: +82-31-279-3894<tel:%2B82-31-279-3894>

Mobile : +82-10-5648-2660<tel:%2B82-10-5648-2660>

E-Mail : doil.kwon at samsung.com<mailto:doil.kwon at samsung.com>

________________________________



[cid:image001.gif at 01D0A45E.7241A450]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=a105cd2b36de71f36abaa56030ade64f2f51ce3cbac276f34d5d3aa503a8994afcfabd80c3fe6049141ee34884fd53a813d69ea60670f66ef4bcdeced46ed5ee08cece8541bc14eacf878f9a26ce15a0]
_______________________________________________
iotivity-dev mailing list
iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150611/129c724b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13168 bytes
Desc: image001.gif
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150611/129c724b/attachment.gif>

Reply via email to