Can not compile libpq version 9.3

Denis <[email protected]> Mon, 9 Sep 2013 22:01:10 +0400
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
I tried to compile libpq version 9.3 in Visual Studio 2010 and got the following linker errors:

libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _pstrdup referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _repalloc referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _palloc referenced in function _pgfnames
libpq.lib(dirmod.obj) : error LNK2019: unresolved external symbol _pfree referenced in function _pgfnames_cleanup

I run the command:
nmake /f win32.mak USE_SSL=1 SSL_INC=%OPENSSL_DIR%\include SSL_LIB_PATH=%OPENSSL_DIR%\lib\Release
in the directory src\interfaces\libpq

Version 9.2.4 I have compiled without problems.
-- 
Best regards,
 Denis                          mailto:[email protected]



-- 
Sent via pgsql-interfaces mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-interfaces