<div dir="ltr">Hi Spyros,<br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 3, 2015 at 10:48 PM, Spyridon (Spyros) Mastorakis <span dir="ltr"><<a href="mailto:mastorakis@cs.ucla.edu" target="_blank">mastorakis@cs.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
>               • 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.<br>
<br>
I feel that you may need something like this:<br>
<br>
<a href="https://github.com/named-data-ndnSIM/ndnSIM/blob/master/wscript#L77-L78" rel="noreferrer" target="_blank">https://github.com/named-data-ndnSIM/ndnSIM/blob/master/wscript#L77-L78</a></blockquote><div>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 invoked. </div><div><pre class=""> 
@@ -76,6 +84,7 @@ def configure(conf):
 
     conf.write_config_header('../../ns3/ndnSIM/ndn-cxx/ndn-cxx-config.hpp', 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)</pre></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
>       • 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.<br>
<span class="">> 3030 [2896/2968] Linking build/src/ndnSIM/examples/ns3-dev-ndn-congestion-topo-plugin-debug<br>> 3037 ./libns3-dev-ndnSIM-debug.so: undefined reference to `google::protobuf::internal::WireFormatLite::WriteUInt64(int, u     nsigned long, google::protobuf::io::CodedOutputStream*)'<br>
><br>
><br>
> Can you suggest any solutions to this?<br>
><br>
<br>
</span>The linking error most probably means that there are some header files missing and you need to include them in your code.</blockquote><div>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. </div><div><br></div><div>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. </div><div><br></div><div>/anil.</div><div><br></div></div><br></div></div>