Re: Building with MinGW issue
От | Muhammad Bashir Al-Noimi |
---|---|
Тема | Re: Building with MinGW issue |
Дата | |
Msg-id | 5240B09E.5070103@gmail.com обсуждение исходный текст |
Ответ на | Re: Building with MinGW issue (Adrian Klaver <adrian.klaver@gmail.com>) |
Ответы |
Re: Building with MinGW issue
|
Список | pgsql-general |
On 09/23/2013 04:05 AM, Adrian Klaver wrote: > If it where me I would try: > > --with-includes=/c/OpenSSL-Win32/include > --with-libraries=/c/OpenSSL-Win32/lib/MinGW Thanks a lot Adrian; I successfully configured PG with MinGW & OpenSSL but I faced a new obstacle with make command: In file included from ../../src/include/c.h:851:0, from ../../src/include/postgres_fe.h:25, from dirmod.c:21: ../../src/include/port.h:333:12: note: expected 'struct _stati64 *' but argument is of type 'struct stat *' extern int pgwin32_safestat(const char *path, struct stat * buf); ^ dirmod.c: At top level: dirmod.c:630:1: error: conflicting types for 'pgwin32_safestat' pgwin32_safestat(const char *path, struct stat * buf) ^ In file included from ../../src/include/c.h:851:0, from ../../src/include/postgres_fe.h:25, from dirmod.c:21: ../../src/include/port.h:333:12: note: previous declaration of 'pgwin32_safestat ' was here extern int pgwin32_safestat(const char *path, struct stat * buf); ^ make[2]: *** [dirmod.o] Error 1 make[2]: Leaving directory `/home/mbnoimi/postgresql-9.1.9/src/port' make[1]: *** [all-port-recurse] Error 2 make[1]: Leaving directory `/home/mbnoimi/postgresql-9.1.9/src' make: *** [all-src-recurse] Error 2 -- Best Regards, Muhammad Bashir Al-Noimi
В списке pgsql-general по дате отправления: