Re: [Q] specifying bigint - Mailing list pgsql-odbc

From V S P
Subject Re: [Q] specifying bigint
Date
Msg-id 1238361824.4933.1307906195@webmail.messagingengine.com
Whole thread Raw
In response to Re: [Q] specifying bigint  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-odbc
Hi,

When trying to build ODBC
(_08_03_0400)  on windows using VC 2008 compiler I am getting
link errors (compilation was ok with just type missmatch warnings)

------ Build started: Project: psqlODBC, Configuration: Release Win32
------
Linking...
   Creating library psqlodbc35w.lib and object psqlodbc35w.exp
LINK : warning LNK4199: /DELAYLOAD:libeay32.dll ignored; no imports
found from libeay32.dll
LINK : warning LNK4199: /DELAYLOAD:XOLEHLP.DLL ignored; no imports found
from XOLEHLP.DLL
socket.obj : error LNK2001: unresolved external symbol _getaddrinfo@16
socket.obj : error LNK2001: unresolved external symbol _freeaddrinfo@4
socket.obj : error LNK2019: unresolved external symbol
__imp__getnameinfo@28 referenced in function _SOCK_connect_to
psqlodbc35w.dll : fatal error LNK1120: 3 unresolved externals
Build log was saved at "file://c:\temp\pgODBCsrc\Release\BuildLog.htm"
psqlODBC - 4 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========


------------------------------------

what is missing in the link line?
I have

/OUT:"psqlodbc35w.dll" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Program
Files\PostgreSQL\8.3\lib" /LIBPATH:"C:\usr\local\openssl-rel\lib" /DLL
/MANIFEST
/MANIFESTFILE:".\Release\psqlodbc35w.dll.intermediate.manifest"
/MANIFESTUAC:"level='asInvoker' uiAccess='false'" /DEF:".\psqlodbc.def"
/DELAYLOAD:"libpq.dll" /DELAYLOAD:"ssleay32.dll"
/DELAYLOAD:"libeay32.dll" /DELAYLOAD:"secur32.dll"
/DELAYLOAD:"crypt32.dll" /DELAYLOAD:"XOLEHLP.DLL" /PDB:"psqlodbc35w.pdb"
/SUBSYSTEM:WINDOWS /DYNAMICBASE:NO /IMPLIB:"psqlodbc35w.lib"
/MACHINE:X86 /ERRORREPORT:PROMPT kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib XOleHlp.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib wsock32.lib winmm.lib
libpq.lib ssleay32.lib libeay32.lib  kernel32.lib user32.lib gdi32.lib
winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib
oleaut32.lib uuid.lib odbc32.lib odbccp32.lib DelayImp.lib


I am using the supplied proj file, and wsock32 is included.

----------



thanks,
Vlad
--
  V S P
  toreason@fastmail.fm

--
http://www.fastmail.fm - Access your email from home and the web


pgsql-odbc by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Release plan
Next
From: Hiroshi Inoue
Date:
Subject: Re: [Q] specifying bigint