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