<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 19, 2016, at 4:55 AM, Aniket Yeole <<a href="mailto:anikety97@gmail.com" class="">anikety97@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Greetings all,<div class=""><br class=""></div><div class="">I am trying to install ndnsim as mentioned on the website (<a href="http://ndnsim.net/2.2/" class="">http://ndnsim.net/2.2/</a>). But while doing so I am facing some problems like there are error while installation. </div><div class=""><br class=""></div><div class="">when I executed "./waf configure --enable-examples" i got following errors </div><div class=""><br class=""></div><div class=""><div class=""><span style="background-color:rgb(255,255,255)" class=""><br class=""></span></div><div class=""><font color="#ff0000" style="background-color:rgb(255,255,255)" class="">PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))</font></div><div class=""><font color="#ff0000" style="background-color:rgb(255,255,255)" class="">Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))</font></div><div class=""><font color="#ff0000" style="background-color:rgb(255,255,255)" class="">MPI Support : not enabled (option --enable-mpi not selected)</font></div><div class=""><font color="#ff0000" style="background-color:rgb(255,255,255)" class="">ndnSIM : enabled</font></div><div class=""><font color="#ff0000" style="background-color:rgb(255,255,255)" class="">NS-3 OpenFlow Integration : not enabled (OpenFlow not enabled (see option --with-openflow))</font></div><div class="">SQlite stats data output : enabled</div><div class="">Tap Bridge : enabled</div><div class=""><font color="#ff0000" class="">PyViz visualizer : not enabled (Python Bindings are needed but not enabled)</font></div><div class=""><font color="#ff0000" class="">Use sudo to set suid bit : not enabled (option --enable-sudo not selected)</font></div><div class=""><font color="#ff0000" class="">Build tests : not enabled (defaults to disabled)</font></div><div class="">Build examples : enabled</div><div class="">GNU Scientific Library (GSL) : not enabled (GSL not found)</div><div class="">'configure' finished successfully (16.575s)</div></div><div class=""><br class=""></div><div class="">Should I ignore them ? </div></div></div></blockquote><div><br class=""></div><div>Hi Aniket,</div><div><br class=""></div><div>If you see that "ndnSIM" is enabled and 'configure' finished successfully, there is no reason to panic :) Everything got configured correctly and the script just reporting what has been found and what has not.</div><div><br class=""></div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class="">I continued the installation process ignoring the error and while compiling the program ndn-simple.cpp I got following error</div><div class=""><br class=""></div><div class=""><div class=""><font color="#ff0000" class="">/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':</font></div><div class=""><font color="#ff0000" class="">(.text+0x20): undefined reference to `main'</font></div><div class=""><font color="#ff0000" class="">collect2: error: ld returned 1 exit status</font></div><div class=""><font color="#ff0000" class=""><br class=""></font></div><div class=""><font color="#ff0000" class="">Waf: Leaving directory `/home/a/KL/ndnsim/ns-3/build'</font></div><div class=""><font color="#ff0000" class="">Build failed</font></div><div class=""><font color="#ff0000" class=""> -> task in 'RemoteSystemsTempFiles' failed (exit status 1): </font></div><div class=""><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>{task 140133562240336: cxxprogram -> RemoteSystemsTempFiles}</div><div class="">['/usr/bin/g++', '-pthread', '-pthread', '-o', '/home/a/KL/ndnsim/ns-3/build/scratch/RemoteSystemsTempFiles/RemoteSystemsTempFiles', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-Wl,--no-as-needed', '-L.', '-L/usr/lib/x86_64-linux-gnu', '-L/usr/lib', '-lns3-dev-lr-wpan-debug', '-lns3-dev-netanim-debug', '-lns3-dev-lte-debug', '-lns3-dev-spectrum-debug', '-lns3-dev-antenna-debug', '-lns3-dev-aodv-debug', '-lns3-dev-dsr-debug', '-lns3-dev-mesh-debug', '-lns3-dev-ndnSIM-debug', '-lns3-dev-test-debug', '-lns3-dev-wave-debug', '-lns3-dev-wifi-debug', '-lns3-dev-applications-debug', '-lns3-dev-csma-layout-debug', '-lns3-dev-dsdv-debug', '-lns3-dev-flow-monitor-debug', '-lns3-dev-point-to-point-layout-debug', '-lns3-dev-wimax-debug', '-lns3-dev-nix-vector-routing-debug', '-lns3-dev-olsr-debug', '-lns3-dev-sixlowpan-debug', '-lns3-dev-tap-bridge-debug', '-lns3-dev-internet-debug', '-lns3-dev-bridge-debug', '-lns3-dev-point-to-point-debug', '-lns3-dev-mpi-debug', '-lns3-dev-buildings-debug', '-lns3-dev-config-store-debug', '-lns3-dev-propagation-debug', '-lns3-dev-uan-debug', '-lns3-dev-mobility-debug', '-lns3-dev-energy-debug', '-lns3-dev-csma-debug', '-lns3-dev-fd-net-device-debug', '-lns3-dev-virtual-net-device-debug', '-lns3-dev-topology-read-debug', '-lns3-dev-network-debug', '-lns3-dev-stats-debug', '-lns3-dev-core-debug', '-lrt', '-lpthread', '-lsqlite3', '-lgtk-x11-2.0', '-lgdk-x11-2.0', '-lpangocairo-1.0', '-latk-1.0', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lpangoft2-1.0', '-lpango-1.0', '-lgobject-2.0', '-lglib-2.0', '-lfontconfig', '-lfreetype', '-lxml2', '-lboost_graph', '-lboost_thread', '-lboost_unit_test_framework', '-lboost_system', '-lboost_random', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono', '-lboost_filesystem', '-lboost_system', '-lboost_signals', '-lboost_filesystem', '-lcryptopp']</div></div><div class=""><br class=""></div><div class=""> </div><div class="">what should I do to eliminate this errors. <br class=""></div><div class=""><br class=""></div><div class="">Please help.</div></div></div></blockquote><br class=""></div><div>The error is not related to ndn-simple.cpp, but to RemoteSystemTempFiles "scenario" that you have in your NS-3's scratch folder. The scratch folder assumptions about how it handles .cpp files directly placed in the scratch folder (those assumed to be complete scenarios and must include main() function) and files places in a subdirectory in the scratch folder (those will be compiled into a single scenario and one of the files must have main() function). From the error, I see that you haven't defined main() function in any of the scenario files in /home/a/KL/ndnsim/ns-3/build/scratch/RemoteSystemsTempFiles/RemoteSystemsTempFiles/ folder</div><div><br class=""></div><div>--</div><div>Alex</div><div><br class=""></div><br class=""></body></html>