List:General Discussion« Previous MessageNext Message »
From:awm Date:August 26 1999 8:12pm
Subject:Compilation Error
View as plain text  
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

Thread
Compilation Errorawm26 Aug
  • Compilation Errorsinisa27 Aug