[ndnSIM] Using openssl with ndnSIM

Cesar Ghali cghali at uci.edu
Thu May 9 10:20:00 PDT 2013


Thanks Alex,

I will try it and will let you know.

Cesar


On 05/08/2013 07:19 PM, Alex Afanasyev wrote:
> Hi Cesar,
>
> In waf, adding external dependencies is a little bit simpler, though not as obvious.
> I pushed a small change to ndnSIM repo to the feature/with-openssl branch, which added a dependency (necessary compiler and linker flags) for ndnSIM.
>
> Can you try this branch?
>
> ---
> Alex
>
>
> On May 8, 2013, at 7:03 PM, cghali at uci.edu wrote:
>
>> Hi all,
>>
>> I am trying to use openssl with ndnSIM. I spend the last several hours
>> trying to link the crypto library with waf and I finally managed to do it.
>> Apparently, adding the libray to LINKFLAGS_EXTRA did not help, although
>> -lcrypto is added to the g++ build command (which can be verified using
>> the verbose mode when running waf). The way how I fixed it is by adding
>> this line at the beginning of the build function in wscript
>>
>> bld.env['LIB_PYEMBED'] = bld.env['LIB_PYEMBED'] + ["crypto"]
>>
>> For some reason the crypto library should be linked at the end, that's why
>> I appended it to LIB_PYEMBED which is being evaluated at the end. Is there
>> a clean way to do this?
>>
>> Thanks for the help,
>> Cesar
>




More information about the ndnSIM mailing list