Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jason Tishler <jason(at)tishler(dot)net>
Cc: Pgsql-Patches <pgsql-patches(at)postgresql(dot)org>, Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Subject: Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin
Date: 2002-09-05 18:43:14
Message-ID: 200209051843.g85IhEv06220@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers 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(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly

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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 18:51:31 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin
Previous Message Peter Eisentraut 2002-09-05 18:33:20 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2002-09-05 18:43:30 Re: contrib Makefile
Previous Message Peter Eisentraut 2002-09-05 18:33:20 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 18:51:31 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin
Previous Message Peter Eisentraut 2002-09-05 18:33:20 Re: [HACKERS] 7.3 Beta 1 Build Error on Cygwin