解决: g++: internal compiler error: Killed (program cc1plus)

Posted 友缘聚友

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决: g++: internal compiler error: Killed (program cc1plus)相关的知识,希望对你有一定的参考价值。

解决: g++: internal compiler error: Killed (program cc1plus)

标签: linux
 4281人阅读 评论(0) 收藏 举报
技术分享图片 分类:

g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,

 

主要原因大体上是因为内存不足,有点坑 临时使用交换分区来解决吧

 

sudo dd if=/dev/zero of=/swapfile bs=64M count=16
sudo mkswap /swapfile
sudo swapon /swapfile


After compiling, you may wish to

Code:
sudo swapoff /swapfile
sudo rm /swapfile

以上是关于解决: g++: internal compiler error: Killed (program cc1plus)的主要内容,如果未能解决你的问题,请参考以下文章

解决: g++: internal compiler error: Killed (program cc1plus)

解决: g++: internal compiler error: Killed (program cc1plus)

解决: g++: internal compiler error: Killed (program cc1plus)

解决: g++: internal compiler error: Killed (program cc1plus)

Mysql 编译报错 g++: internal compiler error: Killed (program cc1plus) 解决办法

g++: internal compiler error: Killed (program cc1plus)