<div dir="ltr"><div><div>Just to provide more information, please also find the errors below:<br><br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_obj_dir'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_col_bnds'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_create_prob'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_load_matrix'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_simplex'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_add_cols'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_prob_name'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_delete_prob'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_get_obj_val'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_obj_coef'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_get_col_prim'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_add_rows'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_row_bnds'<br>./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_term_out'<br>collect2: error: ld returned 1 exit status<br><br></div>Thanks,<br></div>C<br><div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 7:30 PM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><b>Sorry...One correction:</b><br><br></div>I am going to use the API of this external library in the consumer and producer applications, not in the code I run.<br><br></div><div>Looking forward to your advise.<br></div>Thanks,<br></div>C<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 6:51 PM, Carl Zu <span dir="ltr"><<a href="mailto:carlzu8@gmail.com" target="_blank">carlzu8@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear all,<br><br></div>I need to link to an external library (glpk) in order to run my program in ndnSIM. In ns-3, I now how to that as it is described in the link below:<br><div><br><a href="https://garfield001.wordpress.com/2013/04/16/compile-and-link-ns3-program-with-external-library/" target="_blank">https://garfield001.wordpress.<wbr>com/2013/04/16/compile-and-lin<wbr>k-ns3-program-with-external-<wbr>library/</a><br><br></div><div>How to do that in ndnSIM?<br><br></div><div>Thanks and regards,<br></div><div>C<br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>