[Nfd-dev] need volunteer to test EthernetFace on OSX and Boost 1.57

Junxiao Shi shijunxiao at email.arizona.edu
Thu Dec 18 10:10:40 PST 2014


Hi Josh

It seems that the branch is outdated. I have rebased it. Please try again
with the new procedure:


On hostA (OSX with Boost 1.57):

   - recompile and install ndn-cxx, latest version from GitHub
   - recompile and install NFD
      - after git clone, use the following command to checkout a branch
      under review:
      git fetch http://gerrit.named-data.net/NFD refs/changes/44/1444/6 &&
      git checkout FETCH_HEAD
      - then compile and install as usual
   - recompile and install ndn-tlv-ping, latest version from GitHub

On hostB (either another OSX with Boost 1.57, or any Ubuntu version):

   - recompile and install ndn-cxx, latest version from GitHub
   - recompile and install NFD
      - after git clone, use the following command to checkout a branch
      under review:
      git fetch http://gerrit.named-data.net/NFD refs/changes/44/1444/6 &&
      git checkout FETCH_HEAD
      - then compile and install as usual
   - recompile and install ndn-tlv-ping, latest version from GitHub


   1. on both hosts: execute `nfd-start`
   2. on hostA: execute `nfd-status -f | grep 'dev'`, find the number after
   "faceid="
   3. on hostA: execute `nfdc register /A 8888`, substitute 8888 with the
   number found in step 2
   4. on hostB: run `ndnpingserver /A`
   5. on hostA: run `ndnping /A`, and press CTRL+C after about 20 seconds

Report back with the output from step 3~5.


Yours, Junxiao

On Wed, Dec 17, 2014 at 5:20 PM, Josh Polterock <josh at caida.org> wrote:
>
> During the compile I get the following error:
>
> [ 51/105] Compiling daemon/mgmt/face-manager.cpp
> ../daemon/mgmt/status-server.cpp:66:25: error: reference to type 'const
> std::string' (aka 'const basic_string<char, char_traits<char>,
> allocator<char> >') could not bind to an rvalue of type 'int'
>   status->setNfdVersion(NFD_VERSION);
>                         ^~~~~~~~~~~
> /Users/josh/Downloads/NFD/build/version.hpp:41:21: note: expanded from
> macro 'NFD_VERSION'
> #define NFD_VERSION 2000
>                     ^~~~
> /opt/local/include/ndn-cxx/management/nfd-forwarder-status.hpp:84:36:
> note: passing argument to parameter 'nfdVersion' here
>   setNfdVersion(const std::string& nfdVersion);
>                                    ^
> 1 error generated.
>
> Waf: Leaving directory `/Users/josh/Downloads/NFD/build'
> Build failed
>  -> task in 'daemon-objects' failed (exit status 1):
>     {task 4550484496: cxx status-server.cpp -> status-server.cpp.3.o}
> ['/usr/bin/clang++', '-std=c++0x', '-std=c++11', '-stdlib=libc++',
> '-pedantic', '-Wall', '-O2', '-g', '-fPIC', '-include',
> '/Users/josh/Downloads/NFD/build/core-objects.2',
> '-I/Users/josh/Downloads/NFD/build/daemon',
> '-I/Users/josh/Downloads/NFD/daemon',
> '-I/Users/josh/Downloads/NFD/build', '-I/Users/josh/Downloads/NFD',
> '-I/Users/josh/Downloads/NFD/build/core',
> '-I/Users/josh/Downloads/NFD/core', '-I/opt/local/include',
> '-I/Users/josh/Downloads/NFD/websocketpp', '-DHAVE_NDN_CXX=1',
> '../daemon/mgmt/status-server.cpp', '-c', '-o',
> '/Users/josh/Downloads/NFD/build/daemon/mgmt/status-server.cpp.3.o']
> tao:~/Downloads/NFD $
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20141218/c5d62420/attachment.html>


More information about the Nfd-dev mailing list