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

Search Discussions

  • Jason Tishler at Nov 2, 2000 at 10:16 pm
    Bob,
    On Thu, Nov 02, 2000 at 04:15:12PM -0500, Bob Love wrote:
    Any help would be appreciated.
    Please see the following:

    http://people.freebsd.org/~kevlo/postgres/portNT.html

    but use the attached patch instead.

    Jason

    --
    Jason Tishler
    Director, Software Engineering Phone: +1 (732) 264-8770 x235
    Dot Hill Systems Corporation Fax: +1 (732) 264-8798
    82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
    Hazlet, NJ 07730 USA WWW: http://www.dothill.com
  • Bob Love at Nov 3, 2000 at 12:04 am
    Thanks. Everything works now.

    Bob
    -----Original Message-----
    From: Jason Tishler
    Sent: Thursday, November 02, 2000 2:16 PM
    To: Bob Love
    Cc: 'pgsql-ports@postgresql.org'
    Subject: Re: [PORTS] Compiling postgresql on WinNT


    Bob,
    On Thu, Nov 02, 2000 at 04:15:12PM -0500, Bob Love wrote:
    Any help would be appreciated.
    Please see the following:
    http://people.freebsd.org/~kevlo/postgres/portNT.html

    but use the attached patch instead.

    Jason

    --
    Jason Tishler
    Director, Software Engineering Phone: +1 (732) 264-8770 x235
    Dot Hill Systems Corporation Fax: +1 (732) 264-8798
    82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com
    Hazlet, NJ 07730 USA WWW: http://www.dothill.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedNov 2, '00 at 9:15p
activeNov 3, '00 at 12:04a
posts3
users2
websitepostgresql.org
irc#postgresql

2 users in discussion

Bob Love: 2 posts Jason Tishler: 1 post

People

Translate

site design / logo © 2022 Grokbase