Talk About Network

Google





Data Bases > Pgsql Interfaces Odbc > Build problems ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 2138 of 2453
Post > Topic >>

Build problems with latest CVS (2007-06-03) on MSVC++ Express 2005

by mark.cave-ayland@[EMAIL PROTECTED] (Mark Cave-Ayland) Jun 3, 2007 at 02:26 PM

Hi everyone,

I'm working on building the latest CVS of psqlODBC from CVS using MS
Visual C++ Express 2005 and thought you may like some extra feedback on
the build process. The instructions in win32-compilation.html were
helpful, but I needed to make the following changes:


1. Modify the PostgreSQL installation to include the development headers
and MSVC libraries.

2. Open psqlodbc.rc and make the following change on line 10:

#include "afxres.h"    ->    #include "mfc/afxres.h"

3. Copy C:\OpenSSL\lib\VC\ssleay32MT.lib as ssleay32.lib.

3. Pass the MSDTC=no option to nmake.


If I try to build without the MSDTC=no option then I get the following
error upon compilation:


Generating Code...
        link.exe @[EMAIL PROTECTED]
   Creating library .\Release\psqlodbc35w.lib and object .\Release
\psqlodbc35w.exp
        cl.exe @[EMAIL PROTECTED]
 pgxalib.cpp
        link.exe @[EMAIL PROTECTED]
   Creating library .\Release\pgxalib.lib and object .\Release
\pgxalib.exp
        link.exe @[EMAIL PROTECTED]
 : error LNK2019: unresolved external symbol
_CC_set_autocommit
referenced in function "short __cdecl EnlistInDtc_1pipe(struct
ConnectionClass_ *,struct ITransaction *,struct ITransactionDispenser
*)"
(?EnlistInDtc_1pipe@[EMAIL PROTECTED]
)
..\Release\pgenlist.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8
\VC\BIN\link.exe"' : return code '0x460'
Stop.


ATB,

Mark.



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
 




 4 Posts in Topic:
Build problems with latest CVS (2007-06-03) on MSVC++ Express 20
mark.cave-ayland@[EMAIL P  2007-06-03 14:26:26 
Re: Build problems with latest CVS (2007-06-03) on MSVC++ Expres
z-saito@[EMAIL PROTECTED]  2007-06-04 10:59:56 
Re: Build problems with latest CVS (2007-06-03) on MSVC++
inoue@[EMAIL PROTECTED]   2007-06-04 12:23:35 
Re: Build problems with latest CVS (2007-06-03) on MSVC++
mark.cave-ayland@[EMAIL P  2007-06-04 22:23:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 13:22:40 PST 2009.