[SunHELP] Problems with MYSQL on solaris 7

dlewis at mail.dsl-co.com dlewis at mail.dsl-co.com
Wed Jul 10 09:55:46 CDT 2002


No out of swap messages at all.. infact no unusual messages whats so
ever...Tried compiling with the low-mem option and got what looks like the
same error


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




any other suggestions ?


Dave



On Wed, 10 Jul 2002, Will Mc Donald wrote:

> This may not be the exact errors you're receiving but the symptoms sound the
> same, tail /var/adm/messages to see if there are any "out of swap space"
> errors.
> 
> http://www.mysql.com/doc/C/o/Compilation_problems.html
> 
> If you get errors when compiling `sql_yacc.cc', such as the ones shown here,
> you have probably run out of memory or swap space:
> Internal compiler error: program cc1plus got fatal signal 11
>   or
> Out of virtual memory
>   or
> Virtual memory exhausted
> 
> The problem is that gcc requires huge amounts of memory to compile
> `sql_yacc.cc' with inline functions. Try running configure with the
> --with-low-memory option:
> shell> ./configure --with-low-memory
> 
> This option causes -fno-inline to be added to the compile line if you are
> using gcc and -O0 if you are using something else. You should try the
> --with-low-memory option even if you have so much memory and swap space that
> you think you can't possibly have run out. This problem has been observed to
> occur even on systems with generous hardware configurations, and the
> --with-low-memory option usually fixes it.
> 
> Will.
> 
> ----- Original Message -----
> From: "Dave Lewis" <dlewis at dsl-co.com>
> To: <sunhelp at sunhelp.org>
> Sent: Wednesday, July 10, 2002 3:57 AM
> Subject: [SunHELP] Problems with MYSQL on solaris 7
> 
> 
> > 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 ?
> >
> <snip>
> > 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)
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp



More information about the SunHELP mailing list