Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcrRE-0006Mx-Ri for pgsql-odbc@arkaria.postgresql.org; Wed, 02 Aug 2017 11:03:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dcrRD-00026u-SN for pgsql-odbc@arkaria.postgresql.org; Wed, 02 Aug 2017 11:03:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dcrRD-00026d-Eu for pgsql-odbc@postgresql.org; Wed, 02 Aug 2017 11:03:39 +0000 Received: from mail02.asahi-net.or.jp ([202.224.55.14]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dcrR5-0000gM-Ir for pgsql-odbc@postgresql.org; Wed, 02 Aug 2017 11:03:38 +0000 Received: from [192.168.1.5] (aa029213.dynamic.ppp.asahi-net.or.jp [110.5.29.213]) (Authenticated sender: GQ9H-INUE) by mail02.asahi-net.or.jp (Postfix) with ESMTPA id 03E45454C7; Wed, 2 Aug 2017 20:03:27 +0900 (JST) Subject: Re: When doing installcheck, an error message "unresolved external symbol _get_test_dsn ..." displays. To: Kazuki Uehara References: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp> Cc: pgsql-odbc@postgresql.org From: "Inoue, Hiroshi" Message-ID: Date: Wed, 2 Aug 2017 20:03:27 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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