Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deVRq-0005pC-3H for pgsql-odbc@arkaria.postgresql.org; Sun, 06 Aug 2017 23:59:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1deVRo-0000LU-Sl for pgsql-odbc@arkaria.postgresql.org; Sun, 06 Aug 2017 23:59:04 +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 1deVRo-0000LD-EV for pgsql-odbc@postgresql.org; Sun, 06 Aug 2017 23:59:04 +0000 Received: from tama500.ecl.ntt.co.jp ([129.60.39.148]) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1deVRj-0003Za-Lh for pgsql-odbc@postgresql.org; Sun, 06 Aug 2017 23:59:02 +0000 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama500.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id v76Nwufs027479; Mon, 7 Aug 2017 08:58:56 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 590D85F63F; Mon, 7 Aug 2017 08:58:56 +0900 (JST) Received: from jcms-pop21.ecl.ntt.co.jp (jcms-pop21.ecl.ntt.co.jp [129.60.87.134]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 4CE425F593; Mon, 7 Aug 2017 08:58:56 +0900 (JST) Received: from [IPv6:::1] (unknown [129.60.241.71]) by jcms-pop21.ecl.ntt.co.jp (Postfix) with ESMTPSA id 47A154008F4; Mon, 7 Aug 2017 08:58:56 +0900 (JST) Subject: Re: When doing installcheck, an error message "unresolved external symbol _get_test_dsn ..." displays. References: <9ada9805-6df7-ad1e-17ad-8ba13fd87d5c@lab.ntt.co.jp> <4e2e43b1-8cf1-028b-75d5-1d38f489dc59@dream.email.ne.jp> From: Kazuki Uehara Message-ID: Date: Mon, 7 Aug 2017 08:58:32 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <4e2e43b1-8cf1-028b-75d5-1d38f489dc59@dream.email.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit To: "Inoue, Hiroshi" Cc: pgsql-odbc@postgresql.org X-TM-AS-MML: disable 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 Inoue-san, Thank you for your quick response. > I pushed your patch to git. > Thanks. > > Do you see a successful result with the regression test? I confirmed that this troubles was fixed. regards, uehara On 2017/08/04 14:37, Inoue, Hiroshi wrote: > Hi Uehara-san, > > On 2017/08/02 20:03, Inoue, Hir,oshi wrote: >> 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. > > I pushed your patch to git. > Thanks. > > Do you see a successful result with the regression test? > > regards,. > Hiroshi Inoue > > -- 上原 一樹 (Kazuki Uehara) Mail : uehara.kazuki@lab.ntt.co.jp Phone: 03-5860-5115 -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc