[ndnSIM] How python scripts in .waf-tools dir are invoked?

Anil Jangam anilj.mailing at gmail.com
Sun Oct 4 11:18:21 PDT 2015

Hi Spyros,

On Sat, Oct 3, 2015 at 10:48 PM, Spyridon (Spyros) Mastorakis <
mastorakis at cs.ucla.edu> wrote:

> >               • The changes I have made to the ndnSIM/wscript file are
> attached herewith. Can you suggest any clue to fix this? As a workaround, I
> have another NLSR buid, from where I copy the protoc generated files, and
> use them. But that's just a workaround.
> I feel that you may need something like this:
> https://github.com/named-data-ndnSIM/ndnSIM/blob/master/wscript#L77-L78

Actually, if you noticed in the diff, I have already added this line to my
wscript. Its something to do with the way protocol buffer parser is

@@ -76,6 +84,7 @@ def configure(conf):

define_prefix='NDN_CXX_', remove=False)
     conf.write_config_header('../../ns3/ndnSIM/NFD/config.hpp', remove=False)
+    conf.write_config_header('../../ns3/ndnSIM/NLSR/config.hpp', remove=False)

> >       • After workaround, the build again fails end in the end during
> linking phase with the following erros, again related to the protobuf
> library. Not sure how to configure this library during the configure time.
> > 3030 [2896/2968] Linking
> build/src/ndnSIM/examples/ns3-dev-ndn-congestion-topo-plugin-debug
> > 3037 ./libns3-dev-ndnSIM-debug.so: undefined reference to
> `google::protobuf::internal::WireFormatLite::WriteUInt64(int, u     nsigned
> long, google::protobuf::io::CodedOutputStream*)'
> >
> >
> > Can you suggest any solutions to this?
> >
> The linking error most probably means that there are some header files
> missing and you need to include them in your code.

I don't quite agree. It would have been a compile error in that case. I
believe these are because it is not finding the lprotobuf due to something
missing during configuration stage? I have verified that this library in
present my environment.

Right now, I am not adding any new code. I am just trying to update the
wscript build file to accommodate NLSR as integral part of ndnSIM just like
NFD and ndn-cxx.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20151004/618d87cb/attachment.html>

More information about the ndnSIM mailing list