<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello all.<br>
<br>
I have a problem and tech support at troll tech has been unable to help
me resolve. I am trying to compile libpq.lib from postgresql 8.3.5 <br>
into QT's version 4.4.3 qsqlpsql.dll. using Visual Studio 2008<br>
<br>
Built libpq.lib and libpq.dll with no problesm using nmake.<br>
<br>
Now comes time to build the qsqlpsql.dll following the way out of date
instructions. Got all paths for includes and libs taken care of.<br>
<br>
Now compiling from nmake get billionz link errors <span
style="font-family: Arial; color: rgb(0, 0, 0);"> LNK2019: unresolved
external symbol</span><br>
<br>
I then imported the pro and make files in Visual Studio project to
better figure out why it can't find external symbols <br>
<br>
Right off the bat Visual Studio reduces the number of external symbols
not found to 5 <br>
<br>
<span style="font-family: Arial; color: rgb(0, 0, 0);">1>libpq.lib(fe-connect.obj)
: error LNK2019: unresolved external symbol
__imp__DeleteSecurityContext(at)4 referenced in function _closePGconn<br>
1>libpq.lib(fe-connect.obj)
: error LNK2019: unresolved external symbol
__imp__FreeCredentialsHandle(at)4 referenced in function _closePGconn<br>
1>libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol _FreeContextBuffer(at)4
referenced in function _pg_SSPI_continue<br>
1>libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol
_InitializeSecurityContextA(at)48 referenced in function _pg_SSPI_continue<br>
1>libpq.lib(fe-auth.obj)
: error LNK2019: unresolved external symbol
_AcquireCredentialsHandleA(at)36 referenced in function _pg_SSPI_startup<br>
<br>
Now i'm stuck and can't figure out the next step. my guess is i don't
have all the paths for include and libs set correctly. <br>
<br>
The idea here is get SSL built in qsqlpsql.dll which by default its not
enabled. <br>
<br>
But i wanted to start off just to get plain jane libpq to compile with
qsqlpsql.dll before i make sure libpq has SSL turned on. <br>
<br>
thanks<br>
<br>
</span>
</body>
</html>