虚拟机 Linux 上编 slice3r perl Build.PL 报错

发布于 2025-01-19 23:01 176 字 1 min read

有可能是虚拟机内存小,分配大点。。上次出错是分了1G的内存。 后来加到了4G。顺利build成功。 和下面这个问题大致相同。 {standard input} Assembler messages{standard input}468410 Warning end of file not

有可能是虚拟机内存小,分配大点。。上次出错是分了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%时报错,加了内存后问题解决。