[ndnSIM] [EXT] Problem linking when building ndnSIM

Junxiao Shi shijunxiao at email.arizona.edu
Fri Sep 10 12:07:55 PDT 2021


Hi Eric

Most likely your system was out of memory, so that the kernel killed the
linker process.
You can confirm this condition by:

   1. Run dmesg | tail -50 right after the error occurs.
   2. Look for messages containing "oom killer".


To solve this problem, ensure your system has at least 4GB of available RAM
per CPU core.
If you have more CPU cores than available RAM, you can reduce the number of
parallel tasks.
For example, if you have only 8GB RAM but 4 CPU cores, you should limit to
2 parallel tasks: ./waf -j2

Yours, Junxiao

On Fri, Sep 10, 2021 at 2:47 PM Eric Binnendyk via ndnSIM <
ndnsim at lists.cs.ucla.edu> wrote:

> *External Email*
> Hi all,
>
> I'm trying to install ndnSIM on a virtual machine running Ubuntu 20.04.
>
> When I run ./waf configure followed by ./waf build, everything compiles
> fine until I reach stage 2519/3106. Then I get this error:
>
> [2519/3106] Linking build/lib/libns3-dev-ndnSIM-debug.so
>> collect2: fatal error: ld terminated with signal 9 [Killed]
>> compilation terminated.
>>
>
> Does anyone know how to fix this?
>
> Thanks,
>
> Eric Binnendyk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20210910/f77db28c/attachment.html>


More information about the ndnSIM mailing list