本文主要是介绍mysql install error on solaris,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
错误现象:sql_lex.cc: In function `void lex_init()':
sql_lex.cc:85: `symbols' undeclared (first use this function)
sql_lex.cc:85: (Each undeclared identifier is reported only once
sql_lex.cc:85: for each function it appears in.)
sql_lex.cc:87: `sql_functions' undeclared (first use this function)
sql_lex.cc: In function `int find_keyword(LEX *, unsigned int, bool)':
sql_lex.cc:171: implicit declaration of function `int get_hash_symbol(...)'
sql_lex.cc:171: initialization to `SYMBOL *' from `int' lacks a cast
解决办法:
cd sql
make gen_lex_hash
./gen_lex_hash > lex_hash.h
make
这篇关于mysql install error on solaris的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!