g++: internal compiler error: Killed

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

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

 

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

 

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


After compiling, you may wish to
 

Code:

sudo swapoff /swapfile
sudo rm /swapfile

原文链接:http://vb2005xu.iteye.com/blog/2171295

你可能感兴趣的:(g++: internal compiler error: Killed)