MySQL Forums
Forum List  »  Source, Builds, Binaries

Build mysql5.7.19 compile error
Posted by: yang caesar
Date: September 04, 2017 01:37AM

I use a docker in centos7,use centos image start a container,I want to compile mysql 5.7.19 in this container,I meet some error list:
[ 76%] Building C object libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o
/root/mysql-5.7.19/sql-common/client.c:2794:4: error: 'cli_list_fields' undeclared here (not in a function)
,cli_list_fields, /* list_fields */
^
/root/mysql-5.7.19/sql-common/client.c:2795:3: error: 'cli_read_prepare_result' undeclared here (not in a function)
cli_read_prepare_result, /* read_prepare_result */
^
/root/mysql-5.7.19/sql-common/client.c:2796:3: error: 'cli_stmt_execute' undeclared here (not in a function)
cli_stmt_execute, /* stmt_execute */
^
/root/mysql-5.7.19/sql-common/client.c:2797:3: error: 'cli_read_binary_rows' undeclared here (not in a function)
cli_read_binary_rows, /* read_binary_rows */
^
/root/mysql-5.7.19/sql-common/client.c:2798:3: error: 'cli_unbuffered_fetch' undeclared here (not in a function)
cli_unbuffered_fetch, /* unbuffered_fetch */
^
/root/mysql-5.7.19/sql-common/client.c:2800:3: error: 'cli_read_statistics' undeclared here (not in a function)
cli_read_statistics, /* read_statistics */
^
/root/mysql-5.7.19/sql-common/client.c: In function 'cli_read_query_result':
/root/mysql-5.7.19/sql-common/client.c:5179:5: warning: implicit declaration of function 'handle_local_infile' [-Wimplicit-function-declaration]
error= handle_local_infile(mysql,(char*) pos);
^
make[2]: *** [libmysql/CMakeFiles/clientlib.dir/__/sql-common/client.c.o] Error 1
make[1]: *** [libmysql/CMakeFiles/clientlib.dir/all] Error 2
make: *** [all] Error 2

Options: ReplyQuote


Subject
Views
Written By
Posted
Build mysql5.7.19 compile error
160
September 04, 2017 01:37AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.