错误现象:
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
推荐阅读
- sol9_x86+apache+mysql+php+discuz
- Solaris 安装GCC编译器
- Apache-2.0.45+php-4.3.1+mysql-4.1.0 在 Solaris 9.0 for x86 下的安装说明
- Solaris 9.0 for x86 安装 Apache-2.0.45+php-4.3.1+mysql-4.1.0
- Axure中查看页面源代码具体方法介绍
- Linux下安PHP,APACHE,MYSQL,PERL方法
- Linux下安PHP,APACHE,MYSQL,PERL方法2
- Linux下安PHP,APACHE,MYSQL,PERL方法3
- Linux下安PHP,APACHE,MYSQL,PERL方法 4
- 方舟编译器支持机型:荣耀9X系列抢先适配升级性能