Gem5模拟器安装错误

Gem5模拟器安装错误

使用 VirtualBox 在 ubuntu 20.04 上编译 Gem5 模拟器(从 Gem5.org 下载)后出现以下错误。

这些错误是什么?我该如何修复它们?

命令是:build/X86/gem5.opt configs/learning_gem5/part1/simple.py

collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
scons: *** [build/X86/gem5.opt] Error 1
scons: building terminated because of errors.
*** Summary of Warnings ***
Warning: Deprecated namespaces are not supported by this compiler.
         Please make sure to check the mailing list for deprecation
         announcements.

答案1

该命令看起来不错。但问题是该进程占用了太多 RAM,系统已将其中止。纠正此问题的最佳方法是重新启动系统或关闭在后台运行的不必要的应用程序,然后尝试再次运行。这样您就可以释放一些 RAM 空间。

相关内容