Re: 7.3 Beta 1 Build Error on Cygwin

From: Jason Tishler <jason(at)tishler(dot)net>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, pgsql-cygwin <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: 7.3 Beta 1 Build Error on Cygwin
Date: 2002-09-05 15:29:50
Message-ID: 20020905152949.GC1240@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Dave Page 2002-09-05 15:30:00 Re: 7.3 Beta 1 Build Error on Cygwin
Previous Message Jason Tishler 2002-09-05 15:19:15 Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2002-09-05 15:30:00 Re: 7.3 Beta 1 Build Error on Cygwin
Previous Message Tom Lane 2002-09-05 15:28:14 Re: I am done

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2002-09-05 16:14:23 Re: Bug #756: suggestion: file with password instead of
Previous Message Jason Tishler 2002-09-05 15:19:15 Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin