Linking CXX static library libbinlog.a
[ 73%] Built target binlog
[ 73%] Building CXX object sql/CMakeFiles/gen_lex_hash.dir/gen_lex_hash.cc.o
Linking CXX executable gen_lex_hash
[ 73%] Built target gen_lex_hash
Scanning dependencies of target master
[ 73%] Building CXX object sql/CMakeFiles/master.dir/rpl_master.cc.o
Linking CXX static library libmaster.a
[ 73%] Built target master
Scanning dependencies of target mysql_tzinfo_to_sql
[ 73%] Building CXX object sql/CMakeFiles/mysql_tzinfo_to_sql.dir/tztime.cc.o
Linking CXX executable mysql_tzinfo_to_sql
[ 73%] Built target mysql_tzinfo_to_sql
[ 73%] Generating sql_yacc.cc, sql_yacc.h
[ 73%] Generating lex_hash.h
[ 73%] Built target GenServerSource
[ 73%] Building CXX object sql/CMakeFiles/partition.dir/ha_partition.cc.o
Linking CXX static library libpartition.a
[ 73%] Built target partition
[ 73%] Building CXX object sql/CMakeFiles/sql.dir/sql_yacc.cc.o
c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [sql/CMakeFiles/sql.dir/sql_yacc.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
[root@localhost mysql-5.6.2-m5]#
================================================================
以上是报错信息,暂未找到解决办法
================================================
In function ‘void handle_connections_sockets()’:
error: invalid conversion from ‘size_socket*’ to ‘socklen_t*’
error: initializing argument 3 of ‘int accept(int, sockaddr*, socklen_t*)’
error: invalid conversion from ‘int*’ to ‘socklen_t*’
error: initializingargument 3 of ‘int getsockname(int, sockaddr*, socklen_t*)’
make[2]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] 错误 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] 错误 2
make: *** [all] 错误 2
这个是gcc的版本问题,
使用yum mysql-server后然后remove掉mysql-server
#yum install mysql-server
#yum remove mysql-server
然后重新解压安装,上述错误没有。