Re: 3.23.54a - Solaris 9/gcc 2.95.3 compile problem
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
Re: 3.23.54a - Solaris 9/gcc 2.95.3 compile problem
Hi.. as of Solaris 8 you should NEVER use LD_*, use crle(1) instead! As to the problem mentioned in my original post, I was able to compile mysql 3.23.54a using an older compiler under Solaris 8 and 9. (and posted that update later that day..) On Sat, Jan 25, 2003 at 01:26:07PM -0500, Ben Goodwin wrote: 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] - 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
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 \ g++ -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_OFF -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
Re: 3.23.54a - Solaris 9/gcc 2.95.3 compile problem
I compiled gcc 2.95.2 on Solaris 9 and was then able to successfully compile 3.23.54a under Solaris 9 (sparc) without any unsual steps or configuration options. From my tests today, it seems neither gcc 2.95.3 or 3.x will compile mysql 3.23.54a under Solaris 9, in case anyone is interested. On Sun, Jan 19, 2003 at 08:57:49AM -0500, I wrote: 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 \ g++ -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_OFF -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 - 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