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

2002-09-05 Thread Dave Page



> -Original Message-
> From: Jason Tishler [mailto:[EMAIL PROTECTED]] 
> Sent: 05 September 2002 16:30
> To: Dave Page
> Cc: pgsql-hackers; pgsql-cygwin
> Subject: Re: [CYGWIN] 7.3 Beta 1 Build Error on Cygwin
> 
> 
> 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.

Yup, saw that, thanks.

> 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.

I'll bear that in mind, though I don't normally use Perl.

> Thanks again for the heads up.

You're welcome, just trying to get a headstart on the testing of pgAdmin
for 7.3 and the 7.3 regression testing...

> Jason
> 

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster



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

2002-09-05 Thread Jason Tishler

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]
> nmth00.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

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster