MySQLをコンパイルしている時に、下記エラーが発生して
処理が停止してしまう場合の対処法をご紹介します。
[ 45%] Built target rpl
[ 45%] Built target comp_sql
[ 45%] Built target GenSysSchema
[ 45%] Built target gen_lex_token
[ 45%] Built target GenDigestServerSource
[ 45%] Built target GenBootstrapPriv
[ 45%] Building CXX object sql/CMakeFiles/sql.dir/item_geofunc.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See
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
エラーメッセージとしては、下記に注目します。
c++: internal compiler error: Killed (program cc1plus)
このエラーの原因は、メモリ不足になり、
メモリを増量するなり、Swap領域を追加して対応する必要があります。
本現象は、MySQLに限らず発生するので、
その場合はメモリ状況を確認してください。
登録10秒/自動返信でDL/合わなければ解除3秒
- 次のページへ:clamd(Clam Antivirus)の起動で「timeout」エラーになる時の対処法
- 前のページへ:Let's EncryptのSSL証明書更新処理がエラーになった場合の対処
- この記事の属するカテゴリ:Linuxエラー対処法へ戻る
