I've run into this if a previous build attempt aborted due to a bad LD_(LIBRARY|RUN)_PATH where I fixed the LD variable, and re-tried the build. Starting with a fresh copy of the source (not distclean, fresh from tarfile), always solved my problem.
-=| Ben ----- Original Message ----- From: "Len Rose" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 19, 2003 8:57 AM Subject: 3.23.54a - Solaris 9/gcc 2.95.3 compile problem > > Has anyone run into this? I did a search on the web site > looking for information before posting, didn't see > anything.. > > 3.23.54a - Compiling with gcc 2.95.3, Solaris 9 sparc.. > > > > # snip > Making all in sql > make all-recursive > Making all in share > source='sql_lex.cc' object='sql_lex.o' libtool=no \ > depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \ > depmode=gcc /bin/bash ../depcomp \ > ++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/local\"" -DDATADIR="\"/var/ data\"" -DSHAREDIR="\"/opt/local/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I .. -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OF F -fno-implicit-templates -fno-exceptions -fno-rtti -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 > 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:168: implicit declaration of function `int get_hash_symbol(...)' > sql_lex.cc:168: initialization to `SYMBOL *' from `int' lacks a cast > *** Error code 1 > make: Fatal error: Command failed for target `sql_lex.o' > # snip > > Thanks > > Len > > > --------------------------------------------------------------------- > Before posting, please check: > http://www.mysql.com/manual.php (the manual) > http://lists.mysql.com/ (the list archive) > > To request this thread, e-mail <[EMAIL PROTECTED]> > To unsubscribe, e-mail <[EMAIL PROTECTED]> > Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php