tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Danielle Van Grunderbeeck <dvg () sisc ! ucl ! ac ! be>
To: tru64-unix-managers
Subject: errors compiling MySQL with gcc
Date: Wed, 20 Jun 2001 17:21:50 +0000	[thread overview]
Message-ID: <102653649621978.tru64-unix-managers.marc@archive.invalid> (raw)

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

=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

             reply	other threads:[~2001-06-20 17:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-20 17:21 Danielle Van Grunderbeeck [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-08-25 12:05 errors compiling MySQL with gcc Irvine Short
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox