本文共 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 4make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2make: *** [all] Error 2
解决办法:
增加虚拟内存,也就是增加swap。
转载地址:http://mahrn.baihongyu.com/