List:General Discussion« Previous MessageNext Message »
From:<sinisa Date:August 27 1999 9:59am
Subject:Compilation Error
View as plain text  
awm@stripped writes:
 > 
 > Hi, 
 > 
 > I'm trying to compile 3.21.33b on a SunOS 5.6, but getting the following error: I
thought it was the memory limitation that is mentioned in the doc, but the problem
presists.  I would appreciate any help.  
 > 
 > Aram  
 > 
 > P.S. here is the error:  I tried using ulimit to increase the swap memory, as well
as using --with-low-memory option of configre.  The machine does have 512MB of memory
most of it available.
 > 
 > make[3]: Leaving directory `/var/opt/mysql-3.21.33b/sql/share'
 > c++ -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.  -O -g -O2 -fno-implicit-templates
-DDBUG_OFF -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c item.cc
 > In file included from mysql_priv.h:132,
 >                  from item.cc:19:
 > item.h: In method `char * Item::full_name()':
 > item.h:59: return to `char *' from `const char *' discards qualifiers
 > item.h: In method `Item_null::Item_null(char * = 0)':
 > item.h:121: assignment to `char *' from `const char *' discards qualifiers
 > In file included from item.h:296,
 >                  from mysql_priv.h:132,
 >                  from item.cc:19:
 > item_func.h: In method `char * Item_func_round::func_name() const':
 > item_func.h:336: return to `char *' from `const char *' discards qualifiers
 > item_func.h: In method `char * Item_udf_func::func_name() const':
 > item_func.h:510: return to `char *' from `const char *' discards qualifiers
 > make[2]: *** [item.o] Error 1
 > make[2]: Leaving directory `/var/opt/mysql-3.21.33b/sql'
 > make[1]: *** [all-recursive] Error 1
 > make[1]: Leaving directory `/var/opt/mysql-3.21.33b'
 > make: *** [all-recursive-am] Error 2
 > 

Hi!

Your error has nothing to do with virtual memory. I have compiled
MySQL on 4 Mb of RAM, one year ago !


You should first download and compile 3.22.25, and then check your
compiler. Use either latest Sun or latest egcs.

Sinisa

+----------------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___     ==  mysql@stripped            |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic          |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:sinisa@stripped|
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus             |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                             |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                            |
|             /*/             \*\                Developers Team       |
+----------------------------------------------------------------------+
Thread
Compilation Errorawm26 Aug
  • Compilation Errorsinisa27 Aug