[SunHELP] Problems with MYSQL on solaris 7

Dave Lewis dlewis at dsl-co.com
Tue Jul 9 21:57:49 CDT 2002


i can't mysql 3.23.51 to compile (during the make portion) on my 
sparc20/solaris 7 box

can anyone shed some light on this ?


gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include     -O3 
-DDBUG_OFF   -DHAVE_CURSES_H -I/opt/m/mysql-3.23.51/include -DHAVE_RWLOCK_T 
-c hp_test2.c
/bin/sh ../libtool --mode=link gcc  -O3 -DDBUG_OFF   -DHAVE_CURSES_H 
-I/opt/m/mysql-3.23.51/include -DHAVE_RWLOCK_T  -o hp_test2  hp_test2.o 
libheap.a ../mysys/libmysys.a 
../dbug/libdbug.a                       ../strings/libmystrings.a -lpthread 
-lthread -lcrypt -lgen -lsocket -lnsl -lm  -lpthread -lthread
gcc -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/opt/m/mysql-3.23.51/include 
-DHAVE_RWLOCK_T -o hp_test2 hp_test2.o libheap.a ../mysys/libmysys.a 
../dbug/libdbug.a ../strings/libmystrings.a -lpthread -lthread -lcrypt 
-lgen -lsocket -lnsl -lm -lpthread -lthread
make[2]: Leaving directory `/opt/m/mysql-3.23.51/heap'
Making all in sql
make[2]: Entering directory `/opt/m/mysql-3.23.51/sql'
Making all in share
make[3]: Entering directory `/opt/m/mysql-3.23.51/sql/share'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/opt/m/mysql-3.23.51/sql/share'
make[3]: Entering directory `/opt/m/mysql-3.23.51/sql'
g++ 
-DMYSQL_SERVER                      -DDEFAULT_MYSQL_HOME="\"/usr/local\"" 
                 -DDATADIR="\"/usr/local/var\"" 
-DSHAREDIR="\"/usr/local/share/mysql\"" 
-DHAVE_CONFIG_H -I./../include    -I./../regex                     -I. 
-I../include -I.. -I.    -O3 -DDBUG_OFF   -fno-implicit-templates 
-fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/opt/m/mysql-3.23.51/include 
-DHAVE_RWLOCK_T -c 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
    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: `get_hash_symbol' undeclared (first use this function)
make[3]: *** [sql_lex.o] Error 1
make[3]: Leaving directory `/opt/m/mysql-3.23.51/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/m/mysql-3.23.51/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/m/mysql-3.23.51'
make: *** [all-recursive-am] Error 2



More information about the SunHELP mailing list