Re: FW: Postgres on Windows NT - Mailing list pgsql-ports

From Chandra Sekhar . K
Subject Re: FW: Postgres on Windows NT
Date
Msg-id 200011010613.LAA05845@megha.cisco.com
Whole thread Raw
In response to Re: FW: Postgres on Windows NT  (Pete Forman <gsez020@kryten.bedford.waii.com>)
Responses Re: FW: Postgres on Windows NT
List 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


pgsql-ports by date:

Previous
From: Pete Forman
Date:
Subject: Re: FW: Postgres on Windows NT
Next
From: Pete Forman
Date:
Subject: Re: FW: Postgres on Windows NT