On Apr 22, 2004, at 6:26 PM, Boyd Lynn Gerber wrote:
CC="gcc" CFLAGS="-I/usr/local/include" CXX="gcc" CXXFLAGS="-I/usr/local/include" ./configure --prefix=/usr/local/mysql --enable-thread-safe-client --with-innodb --with-berkelye-db=./bdb --with-openssl --with-extra-charsets=complesOn a 7.1.0 system or a later version? My gcc is 2.95.2. Using the above gives me the same error as originally quoted.
You need gcc-2.95.3 or newer.
I built, tested and installed gcc-2.95.3 on my UnixWare 7.1.0 system. I used your exact configure line above and it died on the --with-extra-charset=comples (said unknown charset), so I took that out. However, still the same error:
Making all in share
UX:make: WARNING: No suffix list.
source='sql_lex.cc' object='sql_lex.o' libtool=no \
depfile='.deps/sql_lex.Po' tmpdepfile='.deps/sql_lex.TPo' \
depmode=gcc /bin/ksh ../depcomp \
gcc -pthread -DUNIXWARE_7 -DHAVE_BROKEN_RWLOCK -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_H -I. -I. -I.. -I../innobase/include -I./../include -I./../regex -I. -I../include -I. -O3 -DDBUG_OFF -DNO_CPLUSPLUS_ALLOCA -fno-implicit-templates -fno-exceptions -fno-rtti -c -o sql_lex.o `test -f 'sql_lex.cc' || echo './'`sql_lex.cc
In file included from item.h:474,
from mysql_priv.h:311,
from sql_lex.cc:20:
item_sum.h: In method `Item_sum_and::Item_sum_and(Item *)':
item_sum.h:394: integer constant out of range
So, if this isn't an error in the gcc version itself, but something else, it it possible to workaround? Any clue what the error really is? :-(
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]