Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11

Поиск
Список
Период
Сортировка
От Keith Hutchison
Тема Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11
Дата
Msg-id 45435c1a0608302011u3319e9ffp69c4190427fa21ca@mail.gmail.com
обсуждение исходный текст
Ответы Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11  ("Keith Hutchison" <keith.kjtl.hutchison@gmail.com>)
Список pgsql-ports
G'day

I'm having problems with the compliing complaining about conflicting
types for strerror.c.
Any pointers on how to resolve it?

Extract of compile.

make[2]: Entering directory `/c/usr/src/postgresql-8.1.4/src/port'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline
-Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing
-I../../src/port -DFRONTEND -I../../src/include
-I./src/include/port/win32 -DEXEC_BACKEND
"-I../../src/include/port/win32"  -c -o strerror.o strerror.c
strerror.c:15: error: conflicting types for '_sys_errlist'
c:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/stdlib.h:197:
error: previous declaration of '_sys_errlist' was here

[snipped]

Thanks in advance

--
Keith Hutchison
http://balance-infosystems.com http://realopen.org

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem compiling PostgreSQL 8.1.4 on AIX.
Следующее
От: "Keith Hutchison"
Дата:
Сообщение: Re: Compiling problem postgresql-8.1.4 with Mingw-5.0.2 and Msys-1.0.11