I'm seeing it too. Just built from clean, but it has been a few days, so...
../../src/port/libpgport.a(dirmod.o)(.text+0x33a): In function `rmtree':
c:/cygwin/opt/wip/pgsql/src/port/dirmod.c:216: undefined reference to
`_imp__CurrentMemoryContext'
../../src/port/libpgport.a(dirmod.o)(.text+0x39b):c:/cygwin/opt/wip/pgsql/sr
c/port/dirmod.c:222: undefined reference to `_imp__CurrentMemoryContext'
The xstrdup (aka pstrdup) call in rmtree is the problem, as it relies on the
backend only CurrentMemoryContext (IIRC).
Cheers,
Claudio
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: Friday, 6 August 2004 3:58 PM
> To: Mark Kirkwood
> Cc: pgsql-hackers-win32@postgresql.org
> Subject: Re: [pgsql-hackers-win32] Win32 testing needed
>
>
> Mark Kirkwood <markir@coretech.co.nz> writes:
> > ../../src/port/libpgport.a(dirmod.o)(.text+0x33a):dirmod.c:
> undefined
> > reference to `_imp__CurrentMemoryContext'
>
> > ../../src/port/libpgport.a(dirmod.o)(.text+0x39b):dirmod.c:
> undefined
> > reference to `_imp__CurrentMemoryContext'
>
> Hmmm ... the only recent change I can see that looks likely to be
> related is this one:
>
> 2004-08-01 14:07 tgl
>
> * src/backend/Makefile: Add libpgport to postgres.def
> for Windows
> build. Per Magnus Hagander.
>
> If you back that out, does it help?
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>