[Nfd-dev] Issue while Strategy compilation

Steve DiBenedetto dibenede at cs.colostate.edu
Mon Jul 27 08:15:29 PDT 2015


Are you using the GEC 21 tutorial's weighted load balancer strategy
unmodified? If so, there are compilation issues in the strategy due to API
changes between the target NFD (v0.2.0) and the newer releases. I'm trying
to fix these issues now.

On Mon, Jul 27, 2015 at 6:40 AM, Navdeep Uniyal <navdeep.uniyal at neclab.eu>
wrote:

>  Hello all,
>
>
>
> I am trying to compile my custom forwarding strategy using ./waf for nfd.
> I am getting the below error:
>
> Build failed
>
> -> task in 'daemon-objects' failed (exit status 1):
>
>                 {task 140581136360336: cxx
> weighted-load-balancer-strategy.cpp ->
> weighted-load-balancer-strategy.cpp.3.o}
>
> ['/usr/bin/g++', '-pedantic', '-Wall', '-O2', '-g', '-std=c++11',
> '-include', '/home/mininet/mini-ndn/NFD/build/core-objects.2',
> '-I/home/mininet/mini-ndn/NFD/build/daemon',
> '-I/home/mininet/mini-ndn/NFD/daemon',
> '-I/home/mininet/mini-ndn/NFD/build', '-I/home/mininet/mini-ndn/NFD',
> '-I/home/mininet/mini-ndn/NFD/build/core',
> '-I/home/mininet/mini-ndn/NFD/core', '-I/usr/include',
> '-I/usr/local/include', '-I/home/mininet/mini-ndn/NFD/websocketpp',
> '-DNDEBUG', '-DHAVE_NDN_CXX=1',
> '../daemon/fw/weighted-load-balancer-strategy.cpp', '-c', '-o',
> '/home/mininet/mini-ndn/NFD/build/daemon/fw/weighted-load-balancer-strategy.cpp.3.o']
>
>
>
>
>
> Then I tried compiling the file directly using g++ -std=c++11
> weighted-load-balancer-strategy.cpp, I am getting the following error:
>
> forwarder.hpp:29:22: fatal error: common.hpp: No such file or directory
>
> #include "common.hpp"
>
>
>
> Please if someone can help if this is a known issue or how can I correct
> it.
>
>
>
>
>
> Best Regards,
>
> Navdeep Uniyal
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20150727/fe1d862f/attachment.html>


More information about the Nfd-dev mailing list