tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: errors compiling MySQL with gcc
@ 2001-06-21 15:04 Danielle Van Grunderbeeck
  0 siblings, 0 replies; only message in thread
From: Danielle Van Grunderbeeck @ 2001-06-21 15:04 UTC (permalink / raw)
  To: tru64-unix-managers

Hello,

I thought I was using gcc, but it was still the COMPAQ c compiler.

I reconfigured mysql from the beginning

- removing config.cache and using
CC=3Dgcc ./configure ...
- changing all -Ox (mostly O3 and O4) optimization flags to -O0 
(Oscar Zero) in the sql/Makefile
- doing the "make" with gnu make

So I could compile mysql and start mysqld. I hope it works now...

Many thanks to Warren Sturm, Jesper Frank Nemholt and Samier.Kesou

Danielle Van Grunderbeeck

At 19:21 +0200 20/06/01, Danielle Van Grunderbeeck wrote :
>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;
>>}
>>...
-- 
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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-06-21 15:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-06-21 15:04 SUMMARY: errors compiling MySQL with gcc Danielle Van Grunderbeeck

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