Re: Win32 testing needed

Claudio Natoli <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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:[email protected]]
> Sent: Friday, 6 August 2004 3:58 PM
> To: Mark Kirkwood
> Cc: [email protected]
> Subject: Re: [pgsql-hackers-win32] Win32 testing needed 
> 
> 
> Mark Kirkwood <[email protected]> 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>

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to [email protected] so that your
      message can get through to the mailing list cleanly
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.