c++:internalcompilererror:Killed(programcc1plus)
(2019-07-21 10:34:12)
标签:
ccompilelinux |
分类: 技术 |
问题:
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
解决办法:
[root@VM_0_13_centos build]# dd if=/dev/zero of=/swapfile
bs=64M count=16
16+0 records in
16+0 records out
1073741824 bytes (1.1 GB) copied, 8.78111 s, 122 MB/s
[root@VM_0_13_centos build]# mkswap /swapfile
Setting up swapspace version 1, size = 1048572 KiB
no label, UUID=562aa446-be9d-4d91-8afb-b711e22820a8
[root@VM_0_13_centos build]# swapon /swapfile
swapon: /swapfile: insecure permissions 0644, 0600
suggested.
[root@VM_0_13_centos build]#
编译完成之后:
sudo swapoff
/swapfile
sudo rm /swapfile
sudo rm /swapfile
前一篇:mysql5.7安装错误解决办法
后一篇:mysqlyum安装以及版本选择