pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Kazuki Uehara <uehara.kazuki@lab.ntt.co.jp>
Cc: pgsql-odbc@postgresql.org
Subject: Re: When doing installcheck, an error message "unresolved external symbol _get_test_dsn ..." displays.
Date: Wed, 2 Aug 2017 20:03:27 +0900
Message-ID: <aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp> (raw)
In-Reply-To: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp>
References: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

Hi Uehara-san,

On 2017/08/02 16:47, Kazuki Uehara wrote:
> Hi, all
>
> Operating System:
>   Windows7 64bit, psqlODBC 09.06.0410
>   PostgreSQL 9.6.1 on CentOS7
>
> The following trouble occurred when doing installcheck.
>
> ----------
> $ nmake /f win.mak installcheck
> ...
> reset-db.obj : error LNK2019: unresolved external symbol _get_test_dsn 
> referenced in function _main
> reset-db.exe : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: '"D:\Microsoft Visual Studio 
> 14.0\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
> ----------
>
> I think $(COMOBJ) is needed for compiling reset-db.c.
> What do you think?
>
> psqlodbc-09.06.0410/test/win.mak
> -------------
> # diff win.mak win.mak.new
> 66c66
> <       cl reset-db.c $(CLFLAGS) $(LINKFLAGS)
> ---
> >       cl reset-db.c $(CLFLAGS) $(LINKFLAGS) $(COMOBJ)
> -------------

I would take care of it.

Thanks.
Hiroshi Inoue

>
> regards,


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (4+ messages)  latest in thread

Message-ID: <aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp>
Permalink:  ../aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp/
Also on:    postgresql.org/message-id/aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: h-inoue@dream.email.ne.jp, uehara.kazuki@lab.ntt.co.jp
  Subject: Re: When doing installcheck, an error message "unresolved external symbol _get_test_dsn ..." displays.
  In-Reply-To: <aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp>
  References: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp> <aa8d336b-ffda-dacb-99b2-530616ece2e2@dream.email.ne.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox