Skip site navigation (1) Skip section navigation (2)

Re: FW: Postgres on Windows NT

From: "Chandra Sekhar (dot) K" <csekhar(at)cisco(dot)com>
To: Pete Forman <gsez020(at)kryten(dot)bedford(dot)waii(dot)com>
Cc: "Chandra Sekhar (dot) K" <csekhar(at)cisco(dot)com>, Christos Poulkas <CPoulkas(at)transoft(dot)com>, "'pgsql-ports(at)postgresql(dot)org'" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: FW: Postgres on Windows NT
Date: 2000-11-01 11:44:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
At 07:19 PM 10/31/00 +0000, Pete Forman wrote:
>Chandra Sekhar . K writes:
> > I have taken the latest code from Cygwin and applied the patch
> > of /usr/include/cygwin/cygwin_dll.h and one more patch on
> >  sys_nerr in elog.c and exc.c but after all that I am also seeing
> >  the following error message. 
>Did utils/dllinit.c get patched properly, and then recompiled.  Lines
>53-55 should be:
>    struct _reent *_impure_ptr;
>    extern __declspec(dllimport) struct _reent reent_data;
>If that is okay, what do you get if you cd to interfaces/libpq and
>    make DLLWRAP="dllwrap -v"

    I have modified lines as above in utils/dllinit.c , now I am getting
 the following error message.

$ make DLLWRAP="dllwrap -v"

make -C ../../utils dllinit.o
make[1]: Entering directory `/usr/src/utils'
gcc -I../include -I../backend   -I/usr/local/include -O2 -I/usr/local/include
-Wall -Wmissing-prototypes -Wmissing-decla
rations   -c -o dllinit.o dllinit.c
dllinit.c:49: warning: no previous prototype for `_cygwin_dll_entry'
dllinit.c:49: warning: no previous prototype for `_cygwin_noncygwin_dll_entry'
dllinit.c: In function `DllMain':
dllinit.c:91: `__imp_reent_data' undeclared (first use in this function)
dllinit.c:91: (Each undeclared identifier is reported only once
dllinit.c:91: for each function it appears in.)
make[1]: *** [dllinit.o] Error 1
make[1]: Leaving directory `/usr/src/utils'
make: *** [../../utils/dllinit.o] Error 2

In response to


pgsql-ports by date

Next:From: Adam LangDate: 2000-11-01 13:53:48
Subject: Re: postgres on redhat 7.0
Previous:From: Pete FormanDate: 2000-11-01 11:32:02
Subject: Re: Running Postgresql on NT

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group