虚拟机 Linux 上编 slice3r perl Build.PL 报错
有可能是虚拟机内存小,分配大点。。上次出错是分了1G的内存。
后来加到了4G。顺利build成功。
和下面这个问题大致相同。
{standard input}: Assembler messages:
{standard input}:468410: Warning: end of file not at end
of a line; newline inserted
{standard input}:470084: Error: unknown pseudo-op: `.'
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
{standard input}: Assembler messages:
{standard input}:589975: Warning: end of file not at end
of a line; newline inserted
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
gcc: Internal error: Killed (program cc1)
一顿搜索后,了解到可能是系统内存不足导致的gcc的错误,于是在编译的时候看内存的使用率。
果然达到100%时报错,加了内存后问题解决。
本文是原创文章,采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 风屋
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果