[ndnSIM] Linking to an external library

Carl Zu carlzu8 at gmail.com
Tue Oct 25 03:01:21 PDT 2016


Just to provide more information, please also find the errors below:

./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_obj_dir'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_col_bnds'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_create_prob'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_load_matrix'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_simplex'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_add_cols'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_prob_name'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_delete_prob'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_get_obj_val'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_obj_coef'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_get_col_prim'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_add_rows'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_set_row_bnds'
./libns3-dev-ndnSIM-debug.so: undefined reference to `glp_term_out'
collect2: error: ld returned 1 exit status

Thanks,
C


On Mon, Oct 24, 2016 at 7:30 PM, Carl Zu <carlzu8 at gmail.com> wrote:

> *Sorry...One correction:*
>
> I am going to use the API of this external library in the consumer and
> producer applications, not in the code I run.
>
> Looking forward to your advise.
> Thanks,
> C
>
> On Mon, Oct 24, 2016 at 6:51 PM, Carl Zu <carlzu8 at gmail.com> wrote:
>
>> Dear all,
>>
>> 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:
>>
>> https://garfield001.wordpress.com/2013/04/16/compile-and-lin
>> k-ns3-program-with-external-library/
>>
>> How to do that in ndnSIM?
>>
>> Thanks and regards,
>> C
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20161025/ed1cdd64/attachment.html>


More information about the ndnSIM mailing list