Re: failed test float8 on mingw

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: failed test float8 on mingw
Дата
Msg-id 3073cc9b0811111326i7134ee3cs4cd21e5538ca502@mail.gmail.com
обсуждение исходный текст
Ответ на Re: failed test float8 on mingw  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: failed test float8 on mingw  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Tue, Nov 11, 2008 at 12:17 PM, Magnus Hagander <magnus@hagander.net> wrote:
> Do earlier versions work if built on this machine? Like 8.3-latest? My guess
> is that it's something in mingw or the environment rather than pg, but let's
> confirm that before trying to track down what..
>

actually seems there's something wrong with environment... (MinGW:
5.1.4; msys: 1.0.10; gcc: 3.4.5 (mingw-vista special r3))
mmm... that r3 doesn't like me...

8.3, FAILED same test
8.2, FAILED too

8.1 doesn't even compile and give this error

gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-fwrapv -g -I../../src/port -DFRONTEND -I../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../src/include/port/win32"  -c -o getrusage.o getrusage.c -MMD
In file included from ../../src/include/rusagestub.h:17,                from getrusage.c:18:
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:27:
error: redefinition of `struct timezone'
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
error: conflicting types for 'gettimeofday'
../../src/include/port.h:266: error: previous declaration of
'gettimeofday' was here
c:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/time.h:40:
error: conflicting types for 'gettimeofday'
../../src/include/port.h:266: error: previous declaration of
'gettimeofday' was here


All of this, is with
./configure --prefix=/home/Administrador/pgsql-8.1 --enable-cassert
--enable-debug --enable-depend --with-pgport=5434 --without-zlib

Something i forgot to mention, because it doesn't seems related, is
that i had to manually include ntsecapi.h in security.h mingw's
library

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: RAM-only temporary tables
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: failed test float8 on mingw