Re: [PATCH] Add use of asprintf() - Mailing list pgsql-hackers

From Asif Naeem
Subject Re: [PATCH] Add use of asprintf()
Date
Msg-id CAEB4t-P+jH7-Pd1Ca8+RD5-ydZQjQtFYixaNnRiqjpMrsR+C7Q@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add use of asprintf()  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: [PATCH] Add use of asprintf()
List pgsql-hackers



On Tue, Oct 15, 2013 at 10:55 AM, David Rowley <dgrowleyml@gmail.com> wrote:
Though this is not yet enough to get the windows build work with me... I'm still getting link failures for isolationtester.c


"D:\Postgres\c\pgsql.sln" (default target) (1) ->
"D:\Postgres\c\isolationtester.vcxproj" (default target) (89) ->
(Link target) ->
  isolationtester.obj : error LNK2019: unresolved external symbol _pg_strdup referenced in function _try_complete_step [D:\Postgres\c\isolationtester.vcxproj]
  isolationtester.obj : error LNK2019: unresolved external symbol _pg_asprintf referenced in function _try_complete_step [D:\Postgres\c\isolationtester.vcxproj
]
  .\Release\isolationtester\isolationtester.exe : fatal error LNK1120: 2 unresolved externals [D:\Postgres\c\isolationtester.vcxproj]

    1 Warning(s)

I guess this is down to a make file error somewhere.

Can you please try the attached patch ?. I hope it will solve the problem.
 

David

 


Attachment

pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: CF 2013-09 Wrap Up
Next
From: Amit Kapila
Date:
Subject: Re: Long paths for tablespace leads to uninterruptible hang in Windows