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