Re: Win32 testing needed

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Tom Lane' <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Win32 testing needed
Date: 2004-08-06 06:06:23
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F536@harris.memetrics.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32


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(at)sss(dot)pgh(dot)pa(dot)us]
> Sent: Friday, 6 August 2004 3:58 PM
> To: Mark Kirkwood
> Cc: pgsql-hackers-win32(at)postgresql(dot)org
> Subject: Re: [pgsql-hackers-win32] Win32 testing needed
>
>
> Mark Kirkwood <markir(at)coretech(dot)co(dot)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>

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Claudio Natoli 2004-08-06 06:10:45 Re: Win32 testing needed
Previous Message Tom Lane 2004-08-06 05:57:50 Re: Win32 testing needed