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=gcc ./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
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 Thu Jun 21 2001 - 15:05:23 NZST