Compiling postgresql on WinNT

From: Bob Love <blove(at)allaire(dot)com>
To: "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Compiling postgresql on WinNT
Date: 2000-11-02 21:15:12
Message-ID: C3843BD1B83DD2119D79000092A7BAD405AA78B4@platinum.allaire.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Windows NT 4.0 (sp5). I've installed cygwin version 1.1.4 and cygipc v1.07
and I am trying to run make on Postgresql 7.0.2 but have gotten several
errors that cause the make to fail. Are there certain combinations of
versions of cygwin, cygipc and postgresql that are known to work better than
others?

The first error was that it could not find /netinet/tcp.h under the cygwin
include directories. The file was not there. I came up with a workaround
but now the compile fails with:

make[2]: Entering directory `/d/usr/local/postgresql-7.0.2/src/utils'
gcc -I../include -I../backend -I/usr/local/include -O2
-I/usr/local/include -W
all -Wmissing-prototypes -Wmissing-declarations -c -o dllinit.o dllinit.c
dllinit.c:49: conflicting types for `DllMain'
dllinit.c:44: previous declaration of `DllMain'
dllinit.c:49: conflicting types for `_cygwin_dll_entry'
dllinit.c:49: previous declaration of `_cygwin_dll_entry'
dllinit.c:81: conflicting types for `DllMain'
dllinit.c:49: previous declaration of `DllMain'
make[2]: *** [dllinit.o] Error 1
make[2]: Leaving directory `/d/usr/local/postgresql-7.0.2/src/utils'
make[1]: *** [../utils/dllinit.o] Error 2
make[1]: Leaving directory `/d/usr/local/postgresql-7.0.2/src/backend'
make: *** [all] Error 2

Any help would be appreciated.
TIA
-Bob

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Jason Tishler 2000-11-02 22:16:10 Re: Compiling postgresql on WinNT
Previous Message Tom Lane 2000-11-02 20:32:58 Re: Re: [GENERAL] 7.0 vs. 7.1 (was: latest version?)