Hi Manas, can you check the mails from June, regarding boost_thread build issues. http://lists.iotivity.org/pipermail/iotivity-dev/2015-June/thread.html Please ensure to have the right version of the library installed and also other dependent libraries. Please also have a look on this solution: http://lists.iotivity.org/pipermail/iotivity-dev/2015-June/001719.html Best regards Markus
------- Original Message ------- Sender : Manas Marwah<manas.marwah at gmail.com> Date : Dec 01, 2015 19:16 (GMT+09:00) Title : [dev] Facing Build Issue in iotivity-1.0.0 ?? Hello, I downloaded Iotivity SDK from the web and did the setup (Boost libraries) as per the guidelines mentioned in (https://www.iotivity.org/documentation/linux/getting-started). While building the SDK on Ubuntu 12.04, I am facing few build errors and probably causing due to linking issue. ********************************************************* Compiling out/linux/x86/debug/service/resource-container/src/RemoteResourceUnit.os Linking out/linux/x86/debug/service/resource-container/librcs_container.so out/linux/x86/debug/service/resource-container/src/ResourceContainerImpl.os: In function `boost::thread::start_thread()': /usr/local/include/boost/thread/detail/thread.hpp:180: undefined reference to `boost::thread::start_thread_noexcept()' out/linux/x86/debug/service/resource-container/src/ResourceContainerImpl.os: In function `boost::thread::do_try_join_until(timespec const&)': /usr/local/include/boost/thread/detail/thread.hpp:768: undefined reference to `boost::thread::do_try_join_until_noexcept(timespec const&, bool&)' collect2: ld returned 1 exit status scons: *** [out/linux/x86/debug/service/resource-container/librcs_container.so] Error 1 scons: building terminated because of errors. *********************************************************** I did the boost setup using "./bootstrap.sh --with-libraries=system,filesystem,date_time,thread,regex,log,iostreams,program_options --prefix=/usr/local" and afterwards I did "sudo apt-get install libboost-dev libboost-program-options-dev libexpat1-dev libboost-thread-dev uuid-dev libssl-dev" reffered from Readme.scons.txt. I would appreciate if someone can help me resolving this issue so that I can move forward ! -- Thanks & Regards, Manas Marwah Best Regards, Dr.techn. Markus Jung IoT, IoTivity, OIC | IoT Lab Software R&D Center | Samsung Electronics Co., Ltd Mobile +82 10 3304 8502 markus.jung at samsung.com
