<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Anil,</div><div class=""><br class=""></div><div class="">Thanks for the report.  This is something I haven’t yet seen.  I have created a bug report and we’ll try to fix this in the library.  In the meantime, you can just use the cited workaround:</div><div class=""><br class=""></div><div class="">CXXFLAGS="-pedantic -Wall -O2 -g -D_GLIBCXX_USE_NANOSLEEP” ./waf configure</div><div class=""><br class=""></div><div class="">—</div><div class="">Alex</div><br class=""><div><blockquote type="cite" class=""><div class="">On Feb 9, 2015, at 4:52 PM, Anil Jangam <<a href="mailto:anilj.mailing@gmail.com" class="">anilj.mailing@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi,<div class=""><br class=""></div><div class="">With new version of ndnSIM (2.0), I am consistently getting the below compilation error while building ndn-cxx code base. </div><div class=""><br class=""></div><div class="">I am using g++ version - gcc version 4.6.4 (Ubuntu/Linaro 4.6.4-6ubuntu2). I am not sure if this is something to do with compiler version. I found a suggestion to a workaround here: <a href="https://bugs.archlinux.org/task/27751" class="">https://bugs.archlinux.org/task/27751</a></div><div class=""><br class=""></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px" class=""><div class=""><div class="">[105/114] Compiling src/util/in-memory-storage-lfu.cpp</div></div><div class=""><div class="">[106/114] Compiling src/security/sec-rule-relative.cpp</div></div><div class=""><div class="">[107/114] Compiling src/util/time-unit-test-clock.cpp</div></div><div class=""><div class="">[108/114] Compiling src/name.cpp</div></div><div class=""><div class="">../src/util/time-unit-test-clock.cpp: In member function ‘void ndn::time::UnitTestClock<BaseClock>::advance(const nanoseconds&)’:</div></div><div class=""><div class="">../src/util/time-unit-test-clock.cpp:83:3: error: ‘sleep_for’ is not a member of ‘std::this_thread’</div></div><div class=""><div class="">../src/util/time-unit-test-clock.cpp: In member function ‘void ndn::time::UnitTestClock<BaseClock>::setNow(const nanoseconds&)’:</div></div><div class=""><div class="">../src/util/time-unit-test-clock.cpp:94:3: error: ‘sleep_for’ is not a member of ‘std::this_thread’</div></div><div class=""><div class=""><br class=""></div></div><div class=""><div class="">Waf: Leaving directory `/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/build'</div></div><div class=""><div class="">Build failed</div></div><div class=""><div class=""> -> task in 'ndn-cxx' failed (exit status 1): </div></div><div class=""><div class=""><span class="" style="white-space:pre">       </span>{task 139666346622352: cxx time-unit-test-clock.cpp -> time-unit-test-clock.cpp.2.o}</div></div><div class=""><div class="">['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++0x', '-fPIC', '-include', '/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/build/ndn-cxx.2', '-I/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/build', '-I/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx', '-I/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/build/src', '-I/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/src', '-I/usr/include', '-DNDEBUG', '../src/util/time-unit-test-clock.cpp', '-c', '-o', '/home/anilj1/sandbox/nlsrPorting/ndnSIM20/ndn-cxx/build/src/util/time-unit-test-clock.cpp.2.o']</div></div></blockquote><br class=""><div class="">Has anyone encountered this error before? </div><div class=""><br class=""></div><div class="">/anil.</div></div></div></blockquote></div><br class=""></body></html>