Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin
Date
Msg-id 200209051843.g85IhEv06220@candle.pha.pa.us
Whole thread Raw
In response to Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin  (Jason Tishler <jason@tishler.net>)
List pgsql-patches
Your changes have been applied by Peter.

---------------------------------------------------------------------------

Jason Tishler wrote:
> The following build error under Cygwin was recently reported:
>
> On Thu, Sep 05, 2002 at 12:54:50PM +0100, Dave Page wrote:
> > I get the following error when building beta 1 on CYGWIN_NT-5.1 PC9
> > 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown:
> >
> > make[3]: Entering directory
`/usr/local/src/postgresql-7.3b1/src/backend/utils/mb/conversion_procs/cyrillic_and_mic'
> > gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../../../../src/include -I/usr/local/include
-DBUILDING_DLL=1-c -o cyrillic_and_mic.o cyrillic_and_mic.c 
> > [snip]
> > dllwrap -o cyrillic_and_mic.dll --dllname cyrillic_and_mic.dll --def cyrillic_and_mic.def cyrillic_and_mic.o
../../../../../../src/utils/dllinit.o-lcygipc -lcrypt -L/usr/local/lib -L../../../../../../src/backend -lpostgres 
> > Warning: resolving _CurrentMemoryContext by linking to __imp__CurrentMemoryContext (auto-import)
> > [snip]
> > nmth000000.o(.idata$4+0x0): undefined reference to `_nm__CurrentMemoryContext'
>
> The first patch fixes the above, the second one fixes the following:
>
> make[4]: Entering directory `/home/jt/src/pgsql/src/pl/plpgsql/src'
> [snip]
> dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_gram.o pl_scan.o pl_handler.o pl_comp.o pl_exec.o
pl_funcs.o../../../../src/utils/dllinit.o -L../../../../src/backend -lpostgres -lcygipc -lcrypt -L/usr/local/lib 
> Warning: resolving _InterruptPending by linking to __imp__InterruptPending (auto-import)
> Warning: resolving _SortMem by linking to __imp__SortMem (auto-import)
> [snip]
> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__InterruptPending'
> nmth000002.o(.idata$4+0x0): undefined reference to `_nm__SortMem'
>
> After applying these patches, PostgreSQL CVS builds cleanly under Cygwin
> again.
>
> Thanks,
> Jason
>
> P.S. Dave, thanks for the heads up!

[ Attachment, skipping... ]

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Jason Tishler
Date:
Subject: Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] Bug #756: suggestion: file with password instead of