<p>Hi antil</p>
<p>This looks similar to Bug 2651 <a href="http://redmine.named-data.net/issues/2651">http://redmine.named-data.net/issues/2651</a><br>
Please delete all versions of Boost libraries, and reinstall only one version of Boost libraries.</p>
<p>Yours, Junxiao</p>
<div class="gmail_quote">On Apr 26, 2015 1:07 PM, "antil janu" <<a href="mailto:antil.janu@gmail.com">antil.janu@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am hitting this compilation error after upgrading the NFD source. <div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>[ 40/121] Compiling daemon/mgmt/face-query-status-publisher.cpp</div></div><div><div>[ 44/121] Compiling daemon/fw/retx-suppression-fixed.cpp</div></div><div><div>[109/121] Compiling core/logger.cpp</div></div><div><div>[110/121] Compiling daemon/mgmt/channel-status-publisher.cpp</div></div><div><div>../core/logger.cpp: In static member function ‘static const char* nfd::Logger::now()’:</div></div><div><div>../core/logger.cpp:61:3: error: static assertion failed: "PRIdLEAST64 is incompatible with microseconds::rep"</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat]</div></div><div><div>../core/logger.cpp:67:47: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘boost::chrono::duration<long long int, boost::ratio<1ll, 1000000ll> >::rep {aka long long int}’ [-Wformat]</div></div></blockquote><div><div><br></div></div><div>I am using below g++ compiler.</div><div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>/usr/bin/g++ -v</div></div><div><div>Using built-in specs.</div></div><div><div>COLLECT_GCC=/usr/bin/g++</div></div><div><div>COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper</div></div><div><div>Target: x86_64-linux-gnu</div></div><div><div>Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.4-6ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --disable-libmudflap --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu</div></div><div><div>Thread model: posix</div></div><div><div>gcc version 4.6.4 (Ubuntu/Linaro 4.6.4-6ubuntu2) </div></div></blockquote><div><br></div><div>configure log contained this three 'no' instances.</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>Checking for program 'tar'               : /bin/tar </div></div><div><div>Checking for program 'sphinx-build'      : /usr/bin/sphinx-build </div></div><div><div><font color="#ff0000">Checking for std::is_default_constructible : no </font></div></div><div><div><font color="#ff0000">Checking for std::is_move_constructible    : no </font></div></div><div><div><font color="#ff0000">Checking for override specifier            : no </font></div></div><div><div>Checking for std::to_string                : yes </div></div><div><div>Checking for program 'bash'                : /bin/bash </div></div></blockquote><div><br></div></div>
<br>_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
<br></blockquote></div>