`symbols" undeclared in sql_lex.cc

`symbols" undeclared in sql_lex.cc

am 11.04.2003 14:53:12 von jwb

I've searched the lists for a resolution to this problem,
but I've seen no responses.

I'm trying to build the release mysql-4.0.12 on a solaris
sun 2.8 box and it fails with:
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/local/mysql\""
-DDATADIR="\"/local/mysql/var\"" -DSHAREDIR="\"/local/mysql/share/mysql\""
-DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include
-I./../regex -I. -I../include -I. -O3 -DDBUG_OFF
-fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64
-DHAVE_CURSES_H -I/a4/SQL/mysql-4.0.12/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: `symbols' undeclared (first use this function)
sql_lex.cc:85: (Each undeclared identifier is reported only once for each
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: `get_hash_symbol' undeclared (first use this function)
make: Fatal error: Command failed for target `sql_lex.o'

This problem seems to occur and then disappear re:

I had the error on S8x86, but when I updated my codebase to 3.23.56, the
problem magically went away. I'm not sure what happened.


Since this a release, anyone have any thoughts on how to fix this
problem??

Thanks

Jim Ballantine



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: `symbols" undeclared in sql_lex.cc

am 11.04.2003 15:16:49 von Sinisa Milivojevic

J. W. Ballantine writes:
>
> I've searched the lists for a resolution to this problem,
> but I've seen no responses.
>
> I'm trying to build the release mysql-4.0.12 on a solaris
> sun 2.8 box and it fails with:
> g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/local/mysql\""
> -DDATADIR="\"/local/mysql/var\"" -DSHAREDIR="\"/local/mysql/share/mysql\""
> -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include
> -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF
> -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64
> -DHAVE_CURSES_H -I/a4/SQL/mysql-4.0.12/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: `symbols' undeclared (first use this function)
> sql_lex.cc:85: (Each undeclared identifier is reported only once for each
> 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: `get_hash_symbol' undeclared (first use this function)
> make: Fatal error: Command failed for target `sql_lex.o'
>
> This problem seems to occur and then disappear re:
>
> I had the error on S8x86, but when I updated my codebase to 3.23.56, the
> problem magically went away. I'm not sure what happened.
>
>
> Since this a release, anyone have any thoughts on how to fix this
> problem??
>
> Thanks
>
> Jim Ballantine
>

The above is not a bug, but some problem on your system, with
truncated lex_hash.h.


Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: `symbols" undeclared in sql_lex.cc

am 11.04.2003 16:07:10 von jwb

Yes, my lex_hash.h file is 0 (zero) length, so it seems to be
truncated.

While I was unsure whether to post here or the help list, but
I believe it is a bug in the make rather than the program since
there is no reference to this file in the configure or make logs and
it doesn't exist in the tar ball.

Regards

---------- In Response to your message -------------

> Date: Fri, 11 Apr 2003 16:16:49 +0300
> To: jwb@homer.att.com
> From: Sinisa Milivojevic
> Subject: Re: `symbols' undeclared in sql_lex.cc
>
> J. W. Ballantine writes:
> >
> > I've searched the lists for a resolution to this problem,
> > but I've seen no responses.
> >
> > I'm trying to build the release mysql-4.0.12 on a solaris
> > sun 2.8 box and it fails with:
> > g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/local/mysql\""
> > -DDATADIR="\"/local/mysql/var\"" -DSHAREDIR="\"/local/mysql/share/mysql\"
"
> > -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include
> > -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF
> > -fno-implicit-templates -fno-exceptions -fno-rtti -D_FILE_OFFSET_BITS=64
> > -DHAVE_CURSES_H -I/a4/SQL/mysql-4.0.12/include -DHAVE_RWLOCK_T -c -o sql_l
ex.o
> > `test -f sql_lex.cc || echo './'`sql_lex.cc
> > 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 for ea
ch
> > 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: `get_hash_symbol' undeclared (first use this function)
> > make: Fatal error: Command failed for target `sql_lex.o'
> >
> > This problem seems to occur and then disappear re:
> >
> > I had the error on S8x86, but when I updated my codebase to 3.23.56, the
> > problem magically went away. I'm not sure what happened.
> >
> >
> > Since this a release, anyone have any thoughts on how to fix this
> > problem??
> >
> > Thanks
> >
> > Jim Ballantine
> >
>
> The above is not a bug, but some problem on your system, with
> truncated lex_hash.h.
>
>
> Regards,
>
> --
> For technical support contracts, go to https://order.mysql.com/?ref=msmi
> __ ___ ___ ____ __
> / |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
> / /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
> /_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
> <___/ www.mysql.com
>



--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org

Re: `symbols" undeclared in sql_lex.cc

am 11.04.2003 16:10:00 von Sinisa Milivojevic

J. W. Ballantine writes:
>
> Yes, my lex_hash.h file is 0 (zero) length, so it seems to be
> truncated.
>
> While I was unsure whether to post here or the help list, but
> I believe it is a bug in the make rather than the program since
> there is no reference to this file in the configure or make logs and
> it doesn't exist in the tar ball.
>
> Regards
>

No, it is not a bug.

That file is created in the building process and you have not provided
us with a repeatable test case of why and how generation of that file
fails on your system, while it works flawlessly on all others.

--

Regards,

--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com


--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs@m.gmane.org