mysql 源代码编译安装之sql_lex.cc错误解决篇

王朝mysql·作者佚名  2006-11-24
窄屏简体版  字體: |||超大  

错误现象:

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航