From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653649621978.tru64-unix-managers.marc@archive.invalid> From: Danielle Van Grunderbeeck Date: Wed, 20 Jun 2001 17:21:50 +0000 To: tru64-unix-managers Subject: errors compiling MySQL with gcc X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653649621978 Hello, I try configuring MySQL following all suggestions of Alpha-DEC-OSF1 Notes in INSTALL-SOURCE. Digital UNIX V4.0D (Rev. 878) mysql-3.23.39 gcc-2.95.2 config.log says >configure:5294: cc -std1 -o conftest conftest.c -lm 1>&5 >cc: Error: configure, line 5288: In this declaration, "int8" must >specify a type >. > int8 i; >--^ >configure: failed program was: >#line 5272 "configure" >#include "confdefs.h" > >#ifdef HAVE_STDLIB_H >#include >#endif > >#ifdef HAVE_STDDEF_H >#include >#endif > >#ifdef HAVE_SYS_TYPES_H >#include >#endif > >int main() >{ > int8 i; > return 0; >} and >configure:9413: cc -std1 -o conftest -O -DDBUG_OFF conftest.c >-lpthread -lma >ch -lexc -lm -lpthread -lmach -lexc 1>&5 >ld: >Unresolved: >sigwait >configure: failed program was: >#line 9399 "configure" >#include "confdefs.h" >#if !defined(SCO) && !defined(__osf__) >#define _REENTRANT >#endif >#define _POSIX_PTHREAD_SEMANTICS >#include >#include >int main() { >sigset_t set; >int sig; >sigwait(&set); >; return 0; } Then I ran make which went for a while and gave me this: >... >Making all in strings >make[2]: Entering directory `/usr/local/src/mysql-3.23.39/strings' >cc -std1 -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include >-O -DDBUG_O >FF -c str2int.c >cc: Warning: ./../include/my_pthread.h, line 279: In this >declaration, parameter > 1 has a different type than specified in an earlier declaration of >this functio >n. >int sigwait(sigset_t *setp, int *sigp); /* Use our implemention */ >----^ >cc: Error: ./../include/my_pthread.h, line 279: In this declaration, >the type of > "sigwait" is not compatible with the type of a previous declaration >of "sigwait >" at line number 481 in file /usr/include/signal.h. >int sigwait(sigset_t *setp, int *sigp); /* Use our implemention */ >----^ >make[2]: *** [str2int.o] Error 1 >make[2]: Leaving directory `/usr/local/src/mysql-3.23.39/strings' >make[1]: *** [all-recursive] Error 1 >make[1]: Leaving directory `/usr/local/src/mysql-3.23.39' >make: *** [all-recursive-am] Error 2 -- Danielle Van Grunderbeeck =46acult=E9 des sciences Service informatique B=E2timent Pierre Curie Rue du Compas, 2 B-1348 Louvain-la-Neuve e-mail : dvg@sisc.ucl.ac.be tel : 32 (0) 10 47 32 35 32 (0) 10 47 25 58