Results 1 to 1 of 1
  1. #1
    Join Date
    Dec 2014
    Posts
    1

    Unanswered: source code compilation failed for psqlodbc 09.03.0400

    Hi,

    I am new for postgresql odbc compilation. I have a requirement for compiling psqlodbc 09.03.0400 source code in windows for removing openssl dependency through visual studio 2010.

    I have removed the openssl (include and library path) from linker properties (Linker->General->Additional library directories and c/C++ -> General -> Additional include directories) in visual studio 2010 IDE
    Also removed the dependency in the code (loadlib.c -> #pragma comment(lib, "ssleay32") and #pragma comment(lib, "libeay32")).

    I am facing the below issue while compiling the source code

    Error:

    1>Link:
    1> Creating library psqlodbc35w.lib and object psqlodbc35w.exp
    1>odbccp32.lib(dllload.obj) : warning LNK4217: locally defined symbol _vsnprintf imported in function StringVPrintfWorkerA
    1>setup.obj : error LNK2019: unresolved external symbol CALL_ReleaseTransactionObject referenced in function test_connection
    1>setup.obj : error LNK2019: unresolved external symbol CALL_GetTransactionObject referenced in function test_connection
    1>psqlodbc35w.dll : fatal error LNK1120: 2 unresolved externals
    1>
    1>Build FAILED.

    The above error function is defined in loadlib.c file, where header file loadlib.h is included in setup.c file.
    Attached the complete compilation logs.
    But compilation is successful for psqlodbc 09.03.0300.
    Please let me know any suggesstion on this.

    your help is kindly appreciated. Thanks in advance
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •