collect2: fatal error: ld terminated with signal 9 [Killed]

Posted 王万林 Ben

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了collect2: fatal error: ld terminated with signal 9 [Killed]相关的知识,希望对你有一定的参考价值。

  • Q. What is this kind of build error representative of?
 collect2: ld terminated with signal 9 [Killed]

  • A. There is not enough virtual memory for the linker (ld). This type of error is most typically experienced when linking a static build with every ns-3 module enabled. Try to either reduce the scope of the build (by enabling only the modules that you care about) or increase your machine's swap size or physical memory.

Source: Troubleshooting - Nsnam

以上是关于collect2: fatal error: ld terminated with signal 9 [Killed]的主要内容,如果未能解决你的问题,请参考以下文章

collect2:fatal error: ld terminated with signal 11 [Segmentation fault] 问题的解决

collect2:fatal error: ld terminated with signal 11 [Segmentation fault] 问题的解决

collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped

多重定义错误(collect2: error: ld returned 1 exit status)

完美解决:/usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status问题

完美解决:/usr/bin/ld: cannot find -lc collect2: error: ld returned 1 exit status问题