[SunHELP] Problems with MYSQL on solaris 7

Will Mc Donald wmcdonald at ntlworld.com
Wed Jul 10 02:28:35 CDT 2002


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)



More information about the SunHELP mailing list