Dear Mohamed

That is, I have to add my library path like below:
-------------------
LIB     = \
        @V_LIBS@ \
        @V_LIB_X11@ \
        @V_LIB@ \
        -lm @LIBS@ /root/mylibrarypath
#       -L@libdir@ \
----------------------

Am I right? Nothing more?

Yours sincerely

-----Original Message-----
From: Abdelshafy, Mohamed [mailto:ma...@hw.ac.uk] 
Sent: Saturday, June 07, 2014 9:15 PM
To: Reza Karimi
Subject: RE: [ns] Adding libgcrypt library in NS2

Hi

You have to add -lgcrypt next to -lm in makefile.


________________________________________
From: ns-users-boun...@isi.edu [ns-users-boun...@isi.edu] on behalf of Reza
Karimi [rezakarim...@gmail.com]
Sent: 07 June 2014 15:54
To: ns-users@ISI.EDU
Subject: [ns] Adding libgcrypt library in NS2

Hi



I am going to use "libgcrypt" , http://www.gnu.org/software/libgcrypt/, in
NS2 but I don't know how. Any help or example will be so appreciated.



Thanks in advance for your help.



______________________________________________________

Reza Karimi, M.Sc.

Faculty of Electrical and Computer Engineering (ECE)

K.N.Toosi University of Technology

Tehran, IRAN.





-----
Sunday Times Scottish University of the Year 2011-2013 Top in the UK for
student experience Fourth university in the UK and top in Scotland (National
Student Survey 2012)

We invite research leaders and ambitious early career researchers to join us
in leading and driving research in key inter-disciplinary themes. 
Please see www.hw.ac.uk/researchleaders for further information and how to
apply.

Heriot-Watt University is a Scottish charity registered under charity number
SC000278.


Reply via email to