I had exactly the same problem, but it
has disappeared in the latest src version.
Have you pulled quite recently?
You can make a completely fresh clone
I think the BUILD script does not clean-up
properly also.
BR
-- Martin
Ronald Wiplinger wrote:
>Below are the last lines of my try. Any hints?
>
>
>sql_lex.cc: In function `void lex_init()':
>sql_lex.cc:93: error: `symbols' undeclared (first use this function)
>sql_lex.cc:93: error: (Each undeclared identifier is reported only once for
> each function it appears in.)
>sql_lex.cc:95: error: `sql_functions' undeclared (first use this function)
>sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)':
>sql_lex.cc:151: error: `get_hash_symbol' undeclared (first use this function)
>sql_lex.cc: In function `bool is_keyword(const char*, unsigned int)':
>sql_lex.cc:198: error: `get_hash_symbol' undeclared (first use this function)
>gmake[4]: *** [sql_lex.o] Error 1
>gmake[4]: *** Waiting for unfinished jobs....
>sql_handler.cc: In function `int mysql_ha_read(THD*, TABLE_LIST*,
> enum_ha_read_modes, char*, List<Item>*, ha_rkey_function, Item*, long
> unsigned int, long unsigned int)':
>sql_handler.cc:244: warning: `byte*key' might be used uninitialized in this
> function
>sql_handler.cc:245: warning: `uint key_len' might be used uninitialized in
>this
> function
>gmake[4]: Leaving directory `/home/ronald/MySQL/Cluster/mysql-4.1/sql'
>gmake[3]: *** [all-recursive] Error 1
>gmake[3]: Leaving directory `/home/ronald/MySQL/Cluster/mysql-4.1/sql'
>gmake[2]: *** [all] Error 2
>gmake[2]: Leaving directory `/home/ronald/MySQL/Cluster/mysql-4.1/sql'
>gmake[1]: *** [all-recursive] Error 1
>gmake[1]: Leaving directory `/home/ronald/MySQL/Cluster/mysql-4.1'
>gmake: *** [all] Error 2
>
>
>bye
>
>Ronald
>
>
--
Martin Sköld, Software Engineer
MySQL AB, www.mysql.com
Office: +46 (0)730 31 26 21