f



Compilation error while compile mysql

Hi 

If anyone can help me figure the following error so that i can get
mysql installed.  Any help would be greatly appreciated.  Thanks in
advance.

source='sql_lex.cc' object='sql_lex.o' libtool=no \
depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
-DDATADIR="\"/usr/local/mysql/var\""
-DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I.
-I.. -I../innobase/include -I./../include -I./../regex -I.
-I../include -I.     -O3 -DDBUG_OFF -O3 -fomit-frame-pointer
-felide-constructors -fno-exceptions      -fno-rtti -DHAVE_CURSES_H 
-fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW
-DDEFINE_CXA_PURE_VIRTUAL -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H
-I/usr/local/src/mysql-4.0.13/include -DHAVE_RWLOCK_T -c -o sql_lex.o
`test -f sql_lex.cc || echo './'`sql_lex.cc
sql_lex.cc: In function `void lex_init()':
sql_lex.cc:85: error: `symbols' undeclared (first use this function)
sql_lex.cc:85: error: (Each undeclared identifier is reported only
once for
   each function it appears in.)
sql_lex.cc:87: error: `sql_functions' undeclared (first use this
function)
sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)':
sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this
function)
make[4]: *** [sql_lex.o] Error 1
make[4]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql-4.0.13'
make: *** [all] Error 2

Murali B
0
8/2/2003 4:28:31 AM
comp.unix.solaris 26025 articles. 2 followers. Post Follow

1 Replies
1112 Views

Similar Articles

[PageSpeed] 38

In article <3bd726f6.0308012028.544526f7@posting.google.com>,
 muralikrish_b@sify.com (MuraliB) wrote:

> Hi 
> 
> If anyone can help me figure the following error so that i can get
> mysql installed.  Any help would be greatly appreciated.  Thanks in
> advance.
> 
> source='sql_lex.cc' object='sql_lex.o' libtool=no \
> depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
> depmode=gcc3 /bin/bash ../depcomp \
> gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\""
> -DDATADIR="\"/usr/local/mysql/var\""
> -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I.
> -I.. -I../innobase/include -I./../include -I./../regex -I.
> -I../include -I.     -O3 -DDBUG_OFF -O3 -fomit-frame-pointer
> -felide-constructors -fno-exceptions      -fno-rtti -DHAVE_CURSES_H 
> -fno-implicit-templates -fno-exceptions -fno-rtti -DUSE_MYSYS_NEW
> -DDEFINE_CXA_PURE_VIRTUAL -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H
> -I/usr/local/src/mysql-4.0.13/include -DHAVE_RWLOCK_T -c -o sql_lex.o
> `test -f sql_lex.cc || echo './'`sql_lex.cc
> sql_lex.cc: In function `void lex_init()':
> sql_lex.cc:85: error: `symbols' undeclared (first use this function)
> sql_lex.cc:85: error: (Each undeclared identifier is reported only
> once for
>    each function it appears in.)
> sql_lex.cc:87: error: `sql_functions' undeclared (first use this
> function)
> sql_lex.cc: In function `int find_keyword(LEX*, unsigned int, bool)':
> sql_lex.cc:171: error: `get_hash_symbol' undeclared (first use this
> function)
> make[4]: *** [sql_lex.o] Error 1
> make[4]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/usr/local/src/mysql-4.0.13/sql'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/mysql-4.0.13'
> make: *** [all] Error 2
> 
> Murali B

You've installed lex or bison to correctly and the libraries it calls 
are in your path, right?

-- 
DeeDee, don't press that button!  DeeDee!  NO!  Dee...



0
Michael
8/2/2003 6:44:30 AM
Reply: