From: Danielle Van Grunderbeeck <dvg () sisc ! ucl ! ac ! be>
To: tru64-unix-managers
Subject: SUMMARY: errors compiling MySQL with gcc
Date: Thu, 21 Jun 2001 15:04:25 +0000 [thread overview]
Message-ID: <102653649622003.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2001-06-21 15:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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