HandlerSocket-Plugin-for-MySQL icon indicating copy to clipboard operation
HandlerSocket-Plugin-for-MySQL copied to clipboard

compilation error against MySQL 5.6.10

Open mrubin opened this issue 12 years ago • 1 comments

make all-recursive make[1]: Entering directory /root/HandlerSocket-Plugin-for-MySQL-master' Making all in libhsclient make[2]: Entering directory/root/HandlerSocket-Plugin-for-MySQL-master/libhsclient' make[2]: Nothing to be done for all'. make[2]: Leaving directory/root/HandlerSocket-Plugin-for-MySQL-master/libhsclient' Making all in handlersocket make[2]: Entering directory /root/HandlerSocket-Plugin-for-MySQL-master/handlersocket' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/root/mysql-5.6.10/sql -I/root/mysql-5.6.10/include -I/root/mysql-5.6.10/regex -I/root/mysql-5.6.10 -I/usr/include/mysql -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -DDBUG_OFF -I../libhsclient -g -O2 -Wall -g -fno-rtti -fno-exceptions -fPIC -DPIC -MT handlersocket_la-database.lo -MD -MP -MF .deps/handlersocket_la-database.Tpo -c -o handlersocket_la-database.lotest -f 'database.cpp' || echo './'database.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/root/mysql-5.6.10/sql -I/root/mysql-5.6.10/include -I/root/mysql-5.6.10/regex -I/root/mysql-5.6.10 -I/usr/include/mysql -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -DDBUG_OFF -I../libhsclient -g -O2 -Wall -g -fno-rtti -fno-exceptions -fPIC -DPIC -MT handlersocket_la-database.lo -MD -MP -MF .deps/handlersocket_la-database.Tpo -c database.cpp -fPIC -DPIC -o .libs/handlersocket_la-database.o database.cpp: In member function ‘virtual void dena::dbcontext::init_thread(const void*, volatile int&)’: database.cpp:310: error: ‘LOCK_thread_count’ was not declared in this scope database.cpp:312: error: ‘threads’ was not declared in this scope database.cpp:313: error: ‘thread_count’ was not declared in this scope database.cpp: In member function ‘virtual void dena::dbcontext::term_thread()’: database.cpp:348: error: ‘LOCK_thread_count’ was not declared in this scope database.cpp:351: error: ‘thread_count’ was not declared in this scope database.cpp: In member function ‘void dena::dbcontext::cmd_find_internal(dena::dbcallback_i&, const dena::prep_stmt&, ha_rkey_function, const dena::cmd_exec_args&)’: database.cpp:766: error: ‘struct st_key’ has no member named ‘key_parts’ /root/mysql-5.6.10/sql/handler.h:2219: error: ‘virtual int handler::index_prev(uchar*)’ is protected database.cpp:815: error: within this context /root/mysql-5.6.10/sql/handler.h:2216: error: ‘virtual int handler::index_next(uchar*)’ is protected database.cpp:819: error: within this context database.cpp: In member function ‘virtual void dena::dbcontext::cmd_open(dena::dbcallback_i&, const dena::cmd_open_args&)’: database.cpp:1018: error: cannot convert ‘MEM_ROOT*’ to ‘Open_table_context*’ for argument ‘3’ to ‘bool open_table(THD*, TABLE_LIST*, Open_table_context*)’ make[2]: *** [handlersocket_la-database.lo] Error 1 make[2]: Leaving directory/root/HandlerSocket-Plugin-for-MySQL-master/handlersocket' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/HandlerSocket-Plugin-for-MySQL-master' make: *** [all] Error 2

mrubin avatar Apr 10 '13 03:04 mrubin

fixed in 1.1.1

ahiguti avatar May 09 '13 06:05 ahiguti