Re: Win32 testing needed

Andreas Pflug <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [email protected])
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.