博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
内存不足引起的编译(make)错误
阅读量:3919 次
发布时间:2019-05-23

本文共 415 字,大约阅读时间需要 1 分钟。

本人使用1G内存 1个核的CPU的虚拟主机源码安装mysql5.7时,使用make命令编译到50%多时遇到一个错误。

错误如下:

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

Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/item_geofunc.cc.o] Error 4
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2

make: *** [all] Error 2

解决办法:

增加虚拟内存,也就是增加swap。

转载地址:http://mahrn.baihongyu.com/

你可能感兴趣的文章
Ajax发请求的基本流程
查看>>
java类构造函数的继承
查看>>
Google的几个地理位置相关的API
查看>>
DataInputStream和DataOutputStream
查看>>
将amr音频转为flac格式
查看>>
eclipse创建j2me工程注意
查看>>
S40使用J2ME录音
查看>>
神经网络学习
查看>>
读<机器学习的那些事>
查看>>
利用eclipse生成javadoc
查看>>
帮你读懂人民币汇率问题的好文
查看>>
man page基本知识整理
查看>>
help VS man VS info
查看>>
Linux用户身份及切换
查看>>
Linux用户权限
查看>>
Linux文档目录
查看>>
三层交换机 VS 二层交换机
查看>>
GUN,Linux,GUN/Linux
查看>>
Centos设定PATH
查看>>
Linux操作系统4.5.6.7代差别
查看>>