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

From Jason Tishler
Subject Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin
Date
Msg-id 20020905152949.GC1240@tishler.net
Whole thread Raw
In response to 7.3 Beta 1 Build Error on Cygwin  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-hackers
Dave,

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'

I just submitted a patch to pgsql-patches to fix the above and to add a
couple of missing DLLIMPORTs to src/include/miscadmin.h.

FYI, plperl no longer builds cleanly against Cygwin Perl 5.6.1 because
PostgreSQL no longer uses the Perl extension infrastructure.  However,
upgrading Cygwin Perl to 5.8.0 solves the problem because this version
uses the conventional name for libperl.a instead of one that has the
version embedded in it.

Thanks again for the heads up.

Jason

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: I am done
Next
From: Tom Lane
Date:
Subject: Re: I am done