[root@sec_namenode HandlerSocket-Plugin-for-MySQL-1.0.6]# make
make  all-recursive
make[1]: Entering directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6'
Making all in libhsclient
make[2]: Entering directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6/libhsclient'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6/libhsclient'
Making all in handlersocket
make[2]: Entering directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6/handlersocket'
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/data/install/mysql-5.6.14/sql -I/data/install/mysql-5.6.14/include -I/data/install/mysql-5.6.14/regex -I/data/install/mysql-5.6.14 -I/usr/local/mysql/include   -I. -I.. -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.lo `test -f 'database.cpp' || echo './'`database.cpp; \
        then mv -f ".deps/handlersocket_la-database.Tpo" ".deps/handlersocket_la-database.Plo"; else rm -f ".deps/handlersocket_la-database.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/data/install/mysql-5.6.14/sql -I/data/install/mysql-5.6.14/include -I/data/install/mysql-5.6.14/regex -I/data/install/mysql-5.6.14 -I/usr/local/mysql/include -I. -I.. -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
In file included from database.cpp:16:
mysql_incl.hpp:12:1: warning: "HAVE_CONFIG_H" redefined
<command line>:1:1: warning: this is the location of the previous definition
database.cpp: In member function 'virtual void dena::dbcontext::init_thread(const void*, volatile int&)':
database.cpp:294: error: 'LOCK_thread_count' was not declared in this scope
database.cpp:296: error: 'threads' was not declared in this scope
database.cpp:297: error: 'thread_count' was not declared in this scope
database.cpp:310: error: 'create' is not a member of 'MDL_request'
database.cpp: In member function 'virtual void dena::dbcontext::term_thread()':
database.cpp:337: error: 'LOCK_thread_count' was not declared in this scope
database.cpp:340: 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:649: error: 'struct st_key' has no member named 'key_parts'
/data/install/mysql-5.6.14/sql/handler.h:2228: error: 'virtual int handler::index_read_map(uchar*, const uchar*, key_part_map, ha_rkey_function)' is protected
database.cpp:689: error: within this context
/data/install/mysql-5.6.14/sql/handler.h:2247: error: 'virtual int handler::index_prev(uchar*)' is protected
database.cpp:694: error: within this context
/data/install/mysql-5.6.14/sql/handler.h:2244: error: 'virtual int handler::index_next(uchar*)' is protected
database.cpp:698: error: within this context
/data/install/mysql-5.6.14/sql/handler.h:2256: error: 'virtual int handler::index_next_same(uchar*, const uchar*, uint)' is protected
database.cpp:701: error: within this context
database.cpp: In member function 'virtual void dena::dbcontext::cmd_open_index(dena::dbcallback_i&, size_t, const char*, const char*, const char*, const char*)':
database.cpp:770: 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] 閿欒 1
make[2]: Leaving directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6/handlersocket'
make[1]: *** [all-recursive] 閿欒 1
make[1]: Leaving directory `/usr/local/src/HandlerSocket-Plugin-for-MySQL-1.0.6'
make: *** [all] 閿欒 2很多变量没定义 求大神看看 是不是缺少环境 或者编译器什么的
handlerscoket安装