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

centos 7 最后一步make报错 #71

Open
firstfsx opened this issue Jul 5, 2018 · 4 comments
Open

centos 7 最后一步make报错 #71

firstfsx opened this issue Jul 5, 2018 · 4 comments

Comments

@firstfsx
Copy link

firstfsx commented Jul 5, 2018

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

@LBJ-Software
Copy link

同样错误

@bbotte
Copy link

bbotte commented Nov 29, 2018

https://github.com/bbotte/SQLAdvisor/tree/master/use-directly
不用编译安装,我编译好的,可以直接用

@sunyaox
Copy link

sunyaox commented Jan 7, 2019

https://github.com/bbotte/SQLAdvisor/tree/master/use-directly
不用编译安装,我编译好的,可以直接用

您好,请问下你编译好的包,怎么用呀,能帮忙指点一下吗?

@bbotte
Copy link

bbotte commented Jan 7, 2019

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

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

4 participants