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 <stdlib.h>
>#endif
>
>#ifdef HAVE_STDDEF_H
>#include <stddef.h>
>#endif
>
>#ifdef HAVE_SYS_TYPES_H
>#include <sys/types.h>
>#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 <pthread.h>
>#include <signal.h>
>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
Faculté des sciences
Service informatique
Bâtiment Pierre Curie
Rue du Compas, 2
B-1348 Louvain-la-Neuve
e-mail : dvg_at_sisc.ucl.ac.be
tel : 32 (0) 10 47 32 35
32 (0) 10 47 25 58
Received on Wed Jun 20 2001 - 17:22:42 NZST