MySQL Lists are EOL. Please join:

List:General Discussion« Previous MessageNext Message »
From:Fredrik Axtelius Date:March 30 1999 2:20pm
Subject:Error compiling 3.22.20 with egcs-1.1.2
View as plain text  
Tried to compiled 3.22.20 on a Sun Ultra 450 with Solaris 2.7, egcs-1.1.2 
GNU make 3.77.
Got the following error:

(cd .libs && ln -s
ar cru .libs/libmysqlclient.a libmysql.o net.o password.o get_password.o 
o my_init.o my_static.o my_malloc.o my_realloc.o my_create.o my_delete.o 
nam.o my_open.o mf_casecnv.o my_read.o my_write.o errors.o my_error.o 
my_lib.o m
y_getwd.o my_div.o mf_pack.o my_messnc.o mf_dirname.o mf_wcomp.o 
typelib.o safem
alloc.o my_alloc.o getopt.o getopt1.o getvar.o mf_format.o mf_path.o 
.o my_fopen.o mf_loadpath.o my_pthread.o my_thr_init.o thr_mutex.o 
mulalloc.o st
ring.o default.o my_compress.o array.o my_once.o strmov.o strxmov.o 
strnmov.o st
rmake.o strend.o strfill.o ct_init.o is_prefix.o int2str.o str2int.o 
strcont.o strcend.o bchange.o bmove.o bmove_upp.o ctype-latin1.o dbug.o
ranlib .libs/libmysqlclient.a
(cd .libs && ln -s ../
c++ -DUNDEF_THREADS_HACK -I./../include -I../include -I./.. -I.. -I..  -O 
-c mys
In file included from
/usr/include/term.h:1060: syntax error before `,'
/usr/include/term.h:1081: syntax error before `;'
/usr/include/term.h:1082: syntax error before `;'
/usr/include/term.h:1101: syntax error before `['
/usr/include/term.h:1108: syntax error before `*'
/usr/include/term.h:1111: syntax error before `;'
/usr/include/term.h:1115: syntax error before `;'
/usr/include/term.h:1116: syntax error before `;'
/usr/include/term.h:1209: `chtype' was not declared in this scope
/usr/include/term.h:1209: parse error before `('
make[2]: *** [mysql.o] Error 1
make[2]: Leaving directory `/root/downloads/mysql-3.22.20a/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/downloads/mysql-3.22.20a'
make: *** [all-recursive-am] Error 2

root@nic# gcc -v
Reading specs from 
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

I have compiled on other versions of Solaris with egcs-1.1.1 with no 
I used ./configure --prefix=/export/mysql

Any ideas??

Error compiling 3.22.20 with egcs-1.1.2Fredrik Axtelius30 Mar