Project

General

Profile

Bug #1348

Updated by Alex Afanasyev over 10 years ago

Everything got compiled, but I'm getting a runtime error.    I tried to compile with gcc-4.2.1 and clang 3.0 

     [cawka@mavericks NFD (master)]$ sudo NFD_LOG=all    ./build/nfd 
     DEBUG: [NameTree] lookup / 
     DEBUG: [NameTree] insert / 
     DEBUG: [NameTree] Name / hash value = 2654435816    location = 488 
     DEBUG: [NameTree] Did not find /, need to insert it to the table 
     INFO: [StrategyChoice] setDefaultStrategy(/localhost/nfd/strategy/best-route) new entry 
     terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >' 
       what():    resolve: Invalid argument 

 Something wrong with the resolver.    Failed in resolver.hpp after trying 

     typename resolver::iterator remoteEndpoint = resolver.m_resolver.resolve(query); 

 ---- 

 The compilation got also broken since commit:248d6bd6.    `daemon/core/network-interface.cpp` allows only two platforms---Linux and Apple, and emits error for any other platform.    FreeBSD uses the same BSD header files and actually works here. 

Back