Re: forward vs backward slashes in msvc build code

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: forward vs backward slashes in msvc build code
Date: 2015-03-05 03:37:08
Message-ID: 54F7CF64.60109@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/15/15 6:55 AM, Michael Paquier wrote:
> I tested quickly the second patch with MS 2010 and I am getting a
> build failure: chkpass cannot complete because of crypt missing. On
> master build passes. More details here:
> "C:\Users\mpaquier\git\postgres\pgsql.sln" (default target) (1) ->
> "C:\Users\mpaquier\git\postgres\chkpass.vcxproj" (default target) (36) ->
> (Link target) ->
> chkpass.obj : error LNK2019: unresolved external symbol crypt
> referenced in function chkpass_in
> [C:\Users\ioltas\git\postgres\chkpass.vcxproj]
> .\Release\chkpass\chkpass.dll : fatal error LNK1120: 1 unresolved
> externals [C:\Users\mpaquier\git\postgres\chkpass.vcxproj]

I can't tell from just looking at the code how chkpass would normally
find crypt. The msvc tools neither parse SHLIB_LINK nor have hardcoded
knowledge. Any idea?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-03-05 03:38:40 Re: CATUPDATE confusion?
Previous Message Tom Lane 2015-03-05 03:28:31 Re: anyarray