Board logo

标题: [求助] 树莓派安装出错-make: *** [all] Error 2 [打印本页]

作者: 102110621    时间: 2017-10-19 13:16     标题: 树莓派安装出错-make: *** [all] Error 2

/root/src/mysql-5.5.54/sql-common/client_plugin.c:120:1: note: expected 'va_lis ' but argument is of type 'int'
add_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin, void *dlhandle,
^
make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql-common/client_plugin.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 69%] Built target myisam_ftdump
make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2
Linking CXX executable myisamchk
[ 69%] Built target myisamchk
make: *** [all] Error 2


armv7l
CentOS Linux release 7.4.1708 (Core)
----Install Error: mysql make err -----------
作者: 102110621    时间: 2017-10-19 13:37

[ 68%] Built target perror
[ 68%] [ 68%] [ 68%] Building C object libmysqld/CMakeFiles/sql_embedded.dir/__/sql-common/client_plugin.c.o
Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/field_conv.cc.o
Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/filesort.cc.o
/root/src/mysql-5.5.54/sql-common/client_plugin.c: In function 'mysql_client_plugin_init':
/root/src/mysql-5.5.54/sql-common/client_plugin.c:252:5: error: incompatible type for argument 5 of 'add_plugin'
     add_plugin(&mysql, *builtin, 0, 0, 0);
     ^
/root/src/mysql-5.5.54/sql-common/client_plugin.c:120:1: note: expected 'va_lis ' but argument is of type 'int'
add_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin, void *dlhandle,
^
/root/src/mysql-5.5.54/sql-common/client_plugin.c: In function 'mysql_client_register_plugin':
/root/src/mysql-5.5.54/sql-common/client_plugin.c:310:5: error: incompatible type for argument 5 of 'add_plugin'
     plugin= add_plugin(mysql, plugin, 0, 0, 0);
     ^
/root/src/mysql-5.5.54/sql-common/client_plugin.c:120:1: note: expected 'va_lis ' but argument is of type 'int'
add_plugin(MYSQL *mysql, struct st_mysql_client_plugin *plugin, void *dlhandle,
^
[ 69%] Built target myisam_ftdump
make[2]: *** [libmysqld/CMakeFiles/sql_embedded.dir/__/sql-common/client_plugin.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 69%] Building CXX object libmysqld/CMakeFiles/sql_embedded.dir/__/sql/gstream.cc.o
/root/src/mysql-5.5.54/sql/filesort.cc: In function 'void make_sortkey(SORTPARAM*, uchar*, uchar*)':
/root/src/mysql-5.5.54/sql/filesort.cc:869:16: warning: variable 'tmp_length' set but not used [-Wunused-but-set-variable]
           uint tmp_length;
                ^
make[1]: *** [libmysqld/CMakeFiles/sql_embedded.dir/all] Error 2
make: *** [all] Error 2


armv7l
CentOS Linux release 7.4.1708 (Core)
----Install Error: mysql make err -----------




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2