I've seen this problem listed before in newsgroup postings, but I haven't been able to find any concrete answers.
On a Solaris 8x86 environment, using the Sun Freeware releases of gcc and gmake, a MySQL build fails during sql_lex.cc g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/opt/mysql\"" -DDATADIR="\"/var/opt/mysql\"" -DSHAREDIR="\"/opt/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I./../regex -I. -I../include -I.. -I. -O3 -DDBUG_OFF -O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti -DHAVE_CURSES_H -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/home/chrisj/src/mysql-3.23.55/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 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 Here is the build environment I'm using for MySQL, as advised by the INSTALL-SOURCE file. The only changes I made were to the paths. CC=gcc CFLAGS="-O3 -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtt i -DHAVE_CURSES_H" LDFLAGS="-L/opt/sfw/lib" LD_LIBRARY_PATH="/opt/sfw/lib" export CC CFLAGS CXXFLAGS LDFLAGS LD_LIBRARY_PATH ./configure --prefix=/opt/mysql --sysconfdir=/etc/opt/mysql \ --localstatedir=/var/opt/mysql --enable-thread-safe-client --disable-shared \ --enable-local-infile --with-extra-charsets=complex \ --with-named-curses-libs=-lcurses --with-named-z-libs=no Any ideas on what the problem could be? -------------------- Christopher Josephes [EMAIL PROTECTED] --------------------------------------------------------------------- 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