<div dir="ltr"><div><div><div>Hello All,<br><br></div>Greetings. I am trying to port an application to NDNx platform. Till now I have only injected code to check whether ndnd is running or not. However, I am greeted with the following error:<br><br>application.o: In function `main':<br>/home/iiitd/master/src/application.cpp:1788: undefined reference to `ndn_create()'<br>/home/iiitd/master/src/coordinator.cpp:1796: undefined reference to `ndn_connect(ndn*, char const*)'<br><br></div>To give a background reference, I am including ndn header files using #include<ndn/___>. The problem is that the application only works with shared dynamic libraries (.so) files whereas NDN has only generated libndn.a (static library). However, I have compiled the shared library for NDN in following manner:<br><pre><code><span>ar </span><span>-</span><span>x libndn</span><span>.</span><span>a
gcc </span><span>-</span><span>shared </span><span>*.</span><span>o </span><span>-</span><span>o libndn</span><span>.</span><span>so</span></code></pre>This has generated a .so file which I have placed in usr/local/lib. Running the program again, I am getting the same error.<br><br></div>Is there any other way I can have the shared library for NDNx?<br><div><div><div><br clear="all"><div><div><div><div><div><div class="gmail_signature"><div dir="ltr">Thanks and Regards<div><br></div><div>Nitinder Mohan</div><div>MTech (CE) IIIT Delhi</div><div><a href="http://home.iiitd.edu.in/~nitinder1369/" target="_blank">http://home.iiitd.edu.in/~nitinder1369/</a><br></div></div></div></div>
</div></div></div></div></div></div></div></div>