<div dir="ltr">Hi Teng<div><br></div><div>This is a known issue <a href="https://redmine.named-data.net/issues/3903#note-12">https://redmine.named-data.net/issues/3903#note-12</a></div><div>It's caused by a change in ndn-cxx's ndn::nfd::RouteFlags type.</div><div>We are waiting for Davide to submit a patch, but others are welcome to contribute as well.</div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 3, 2017 at 12:11 PM, Teng Liang <span dir="ltr"><<a href="mailto:philoliang2011@gmail.com" target="_blank">philoliang2011@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><br></div><div>2. Then I tried to install everything on mario. While I am building the new version of NFD, here is the error:</div><div><div>[234/283] Compiling tools/nfdc/strategy-choice-<wbr>module.cpp</div><div>[235/283] Compiling tools/nfdc/main.cpp</div><div>[236/283] Compiling tests/main.cpp</div><div>[237/283] Compiling tests/core/logger.t.cpp</div><div>[238/283] Compiling tests/core/network-interface.<wbr>t.cpp</div><div>[239/283] Compiling tests/core/version.t.cpp</div><div>../tools/nfdc/rib-module.cpp: In static member function ‘static void nfd::tools::nfdc::RibModule::<wbr>add(nfd::tools::nfdc::<wbr>ExecuteContext&)’:</div><div>../tools/nfdc/rib-module.cpp:<wbr>89:33: error: enumeral and non-enumeral type in conditional expression [-Werror=extra]</div><div>     .setFlags((wantChildInherit ? ndn::nfd::ROUTE_FLAG_CHILD_<wbr>INHERIT : 0) |</div><div>                                 ^</div><div>../tools/nfdc/rib-module.cpp:<wbr>90:28: error: enumeral and non-enumeral type in conditional expression [-Werror=extra]</div><div>               (wantCapture ? ndn::nfd::ROUTE_FLAG_CAPTURE : 0));</div><div>                            ^</div><div>cc1plus: all warnings being treated as errors</div><div><br></div><div>Waf: Leaving directory `/home/philo/Gerrit/NFD/build'</div><div>Build failed</div><div> -> task in 'tools-nfdc-objects' failed (exit status 1): </div><div><span class="gmail-m_-5634212303558288489gmail-Apple-tab-span" style="white-space:pre-wrap">     </span>{task 139629158217296: cxx rib-module.cpp -> rib-module.cpp.5.o}</div><div>['/usr/bin/g++', '-O0', '-g3', '-pedantic', '-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter', '-Wno-error=maybe-<wbr>uninitialized', '-Wno-error=deprecated-<wbr>declarations', '-Og', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-pthread', '-include', '/home/philo/Gerrit/NFD/build/<wbr>core-objects.2', '-I/home/philo/Gerrit/NFD/<wbr>build/tools/nfdc', '-I/home/philo/Gerrit/NFD/<wbr>tools/nfdc', '-I/home/philo/Gerrit/NFD/<wbr>build', '-I/home/philo/Gerrit/NFD', '-I/usr/local/include', '-I/usr/include', '-D_DEBUG', '-DHAVE_NDN_CXX=1', '-DBOOST_LOG_DYN_LINK', '../tools/nfdc/rib-module.cpp'<wbr>, '-c', '-o', '/home/philo/Gerrit/NFD/build/<wbr>tools/nfdc/rib-module.cpp.5.o'<wbr>]</div></div><div><br></div></div></blockquote></div></div></div></div>