Re: Win32 testing needed

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Mark Kirkwood <markir(at)coretech(dot)co(dot)nz>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Win32 testing needed
Date: 2004-08-06 10:14:44
Message-ID: 41135A14.9030605@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Mark Kirkwood wrote:
>
> ../../src/port/libpgport.a(dirmod.o)(.text+0x33a):dirmod.c: undefined
> reference to `_imp__CurrentMemoryContext'
>

I know this message. It does not appear for me if I do a clean checkout,
and make from the pgsql top directory. If I make from src/backend (to
skip the lengthy locale makes on my slow machine), that said undefined
reference comes up, and won't go even if I make from the top dir unless
dirmod.c is touched.

Apparently the reason is crossover referencing between libs, i.e.
libpgport.a using libpostgres.a and vice versa.

So it's better if src/port sources don't use backend's functions.

Regards,
Andreas

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andreas Pflug 2004-08-06 10:56:44 Re: Win32 testing needed
Previous Message Dave Page 2004-08-06 08:33:01 Re: New pginstaller beta