Compiling UDF DLL under Win32

From: "anonymus(dot)crux" <anonymus(dot)crux(at)mail(dot)ee>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Compiling UDF DLL under Win32
Date: 2006-02-07 09:21:21
Message-ID: 43E86691.3000909@mail.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

I was wondering if I can use VC compiler to compile UDF DLL ?
If yes then I am wondering why I am getting linking errors:

Compiling...
fd.c
Linking...
Creating library Debug/fd.lib and object Debug/fd.exp
fd.obj : error LNK2001: unresolved external symbol _CurrentMemoryContext
Debug/fd.dll : fatal error LNK1120: 1 unresolved externals

It seems that linker is not able to find symbol CurrentMemoryContext.
This variable is declared in palloc.h, but I can't find the implementation
of this variable in libpostgres.a ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Martin Rode 2006-02-07 09:26:55 Postgresql Development Full Text
Previous Message Salman Razzaq 2006-02-07 08:12:49 Re: Need Help In arrays