This is a discussion on Compiling UDF DLL under Win32 within the pgsql Hackers forums, part of the PostgreSQL category; --> Hi! I was wondering if I can use VC compiler to compile UDF DLL ? If yes then I ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ? ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend |