Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译在这个地方老是报错,试过了好几遍 #8

Closed
DarkiT opened this issue Oct 14, 2016 · 2 comments
Closed

编译在这个地方老是报错,试过了好几遍 #8

DarkiT opened this issue Oct 14, 2016 · 2 comments

Comments

@DarkiT
Copy link
Collaborator

DarkiT commented Oct 14, 2016

[ 99%] Building C object libmysqld/CMakeFiles/mysqlserver.dir/mysqlserver_depends.c.o
Linking C static library libmysqld.a
/bin/ar: creating /tmp/mysql-alisql-5.6.32/libmysqld/libmysqld.a
[ 99%] Built target mysqlserver
Scanning dependencies of target mysql_client_test_embedded
[100%] Building C object libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir///tests/mysql_client_test.c.o
Linking CXX executable mysql_client_test_embedded
../libmysqld.a(lib_sql.cc.o): In function `clean_up':

/tmp/mysql-alisql-5.6.32/libmysqld/../sql/mysqld.cc:1930: undefined reference to `free_global_table_stats()'

/tmp/mysql-alisql-5.6.32/libmysqld/../sql/mysqld.cc:1931: undefined reference to `free_global_index_stats()'

../libmysqld.a(lib_sql.cc.o): In function `init_server_components':

/tmp/mysql-alisql-5.6.32/libmysqld/../sql/mysqld.cc:4745: undefined reference to `init_global_table_stats()'

/tmp/mysql-alisql-5.6.32/libmysqld/../sql/mysqld.cc:4746: undefined reference to `init_global_index_stats()'

collect2: error: ld returned 1 exit status
make[2]: *** [libmysqld/examples/mysql_client_test_embedded] Error 1
make[1]: *** [libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all] Error 2
make: *** [all] Error 2

@xpchild
Copy link
Contributor

xpchild commented Oct 14, 2016

RDS环境没有编译embedded server,导致patch在预编译EMBEDDED_LIBRARY的处理上存在缺陷,master已修复,请更新重试,给你带来的不变,请多包涵,欢迎继续使用,并提宝贵意见。

@DarkiT
Copy link
Collaborator Author

DarkiT commented Oct 14, 2016

自己已经修改了源代码,程序已经编译成功!正在测试!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants