SQLAdvisor
SQLAdvisor copied to clipboard
centos 7 最后一步make报错
Scanning dependencies of target sqladvisor
[100%] Building CXX object CMakeFiles/sqladvisor.dir/main.cc.o
In file included from /usr/local/sqlparser/include/sql/item.h:2470:0,
from /usr/local/sqlparser/include/sql/sql_class.h:39,
from /usr/local/src/SQLAdvisor/sqladvisor/main.cc:7:
/usr/local/sqlparser/include/sql/item_timefunc.h: In member function ‘virtual longlong Item_time_func::val_int()’:
/usr/local/sqlparser/include/sql/item_timefunc.h:533:12: warning: converting to non-pointer type ‘longlong {aka long long int}’ from NULL [-Wconversion-null]
return NULL;
^
Linking CXX executable sqladvisor
/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libperconaserverclient_r.so: undefined reference to [email protected]' /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/libperconaserverclient_r.so: undefined reference to [email protected]'
collect2: error: ld returned 1 exit status
make[2]: *** [sqladvisor] Error 1
make[1]: *** [CMakeFiles/sqladvisor.dir/all] Error 2
make: *** [all] Error 2
同样错误
https://github.com/bbotte/SQLAdvisor/tree/master/use-directly 不用编译安装,我编译好的,可以直接用
https://github.com/bbotte/SQLAdvisor/tree/master/use-directly 不用编译安装,我编译好的,可以直接用
您好,请问下你编译好的包,怎么用呀,能帮忙指点一下吗?
https://github.com/bbotte/SQLAdvisor/tree/master/use-directly 不用编译安装,我编译好的,可以直接用
您好,请问下你编译好的包,怎么用呀,能帮忙指点一下吗?
https://github.com/bbotte/SQLAdvisor#%E4%B8%8D%E7%94%A8%E7%BC%96%E8%AF%91%E5%AE%89%E8%A3%85