problem with msvc linker - cannot build orafce - Mailing list pgsql-hackers

From Pavel Stehule
Subject problem with msvc linker - cannot build orafce
Date
Msg-id CAFj8pRAEj9vCj6kn0Vh7o1xRKty=zTmSSTrc1e2uSRMOq8cCVw@mail.gmail.com
Whole thread Raw
Responses Re: problem with msvc linker - cannot build orafce  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi

I am trying to build Orafce and I have problem due access to exported variable session_timezone.

The build fails with message:

1>     Creating library C:\Users\Pavel\orafce-VERSION_3_1_2\orafce-VERSION_3_1_2\msvc\/bin/x64/9.4/lib/orafce.lib and object C:\Users\Pavel\orafce-VERSION_3_1_2\orafce-VERSION_3_1_2\msvc\/bin/x64/9.4/lib/orafce.exp
1>datefce.obj : error LNK2001: unresolved external symbol session_timezone
1>C:\Users\Pavel\orafce-VERSION_3_1_2\orafce-VERSION_3_1_2\msvc\/bin/x64/9.4/lib//orafce.dll : fatal error LNK1120: 1 unresolved externals

I am using msvc 2015 and PostgreSQL 9.4.5 from EnterpriseDB.

Any idea what can be broken?

Regards

Pavel

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: custom function for converting human readable sizes to bytes
Next
From: Peter Geoghegan
Date:
Subject: Re: Rework the way multixact truncations work