[GENERAL] Link errors - Mailing list pgsql-general

From Igor Korot
Subject [GENERAL] Link errors
Date
Msg-id CA+FnnTwP7gaY-fQV+q9CgO3EPjgo_bzPWsqBXMm7DQ_YBaKiOw@mail.gmail.com
Whole thread Raw
Responses Re: [GENERAL] Link errors
List pgsql-general
Hi,
[code]
1>     Creating library vc_mswuddll\postgres_dll.lib and object
vc_mswuddll\postgres_dll.exp
1>libpqd.lib(fe-connect.obj) : error LNK2019: unresolved external
symbol __imp__WSAIoctl@36 referenced in function _setKeepalivesWin32
1>libpqd.lib(ip.obj) : error LNK2001: unresolved external symbol
__imp__WSAIoctl@36
1>libpqd.lib(fe-connect.obj) : error LNK2019: unresolved external
symbol __imp__DeleteSecurityContext@4 referenced in function
_closePGconn
1>libpqd.lib(fe-connect.obj) : error LNK2019: unresolved external
symbol __imp__FreeCredentialsHandle@4 referenced in function
_closePGconn
1>libpqd.lib(fe-auth.obj) : error LNK2019: unresolved external symbol
_FreeContextBuffer@4 referenced in function _pg_SSPI_continue
1>libpqd.lib(fe-auth.obj) : error LNK2019: unresolved external symbol
_InitializeSecurityContextA@48 referenced in function
_pg_SSPI_continue
1>libpqd.lib(fe-auth.obj) : error LNK2019: unresolved external symbol
_AcquireCredentialsHandleA@36 referenced in function _pg_SSPI_startup
1>libpqd.lib(ip.obj) : error LNK2019: unresolved external symbol
__imp__WSASocketA@24 referenced in function _pg_foreach_ifaddr
1>..\dbhandler\vc_mswuddll\postgres_dll.dll : fatal error LNK1120: 7
unresolved externals

[/code]

And I'm linking with following libraries:


kernel32.lib;user32.lib;gdi32.lib;comdlg32.lib;winspool.lib;winmm.lib;shell32.lib;shlwapi.lib;comctl32.lib;ole32.lib;oleaut32.lib;uuid.lib;rpcrt4.lib;advapi32.lib;version.lib;wsock32.lib;wininet.lib;%(

What am I missing? I am linking with wsock32.lib...

Thank you.


pgsql-general by date:

Previous
From: Alan Hodgson
Date:
Subject: Re: [GENERAL] Caching and Blobs in PG? Was: Can PG replace redis, amqp, s3 in the future?
Next
From: Peter Eisentraut
Date:
Subject: Re: [GENERAL] PQerrorMessage documentation