Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVJau-00034y-Gv for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Aug 2016 14:25:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bVJau-0002hU-27 for pgsql-bugs@arkaria.postgresql.org; Thu, 04 Aug 2016 14:25:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bVJat-0002hO-P7 for pgsql-bugs@postgresql.org; Thu, 04 Aug 2016 14:25:55 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bVJar-0006FN-CF for pgsql-bugs@postgresql.org; Thu, 04 Aug 2016 14:25:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u74EPdbK022690; Thu, 4 Aug 2016 10:25:39 -0400 From: Tom Lane To: digoal@126.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #14277: when define USE_NAMED_POSIX_SEMAPHORES , make error In-reply-to: <20160804075808.1425.98817@wrigleys.postgresql.org> References: <20160804075808.1425.98817@wrigleys.postgresql.org> Comments: In-reply-to digoal@126.com message dated "Thu, 04 Aug 2016 07:58:08 -0000" Date: Thu, 04 Aug 2016 10:25:39 -0400 Message-ID: <22689.1470320739@sss.pgh.pa.us> X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org digoal@126.com writes: > CFLAGS=-DUSE_NAMED_POSIX_SEMAPHORES ./configure That's not the correct way to do it; it will result in configure doing the wrong things (in particular, selecting the wrong semaphore implementation file). Instead use configure ... USE_NAMED_POSIX_SEMAPHORES=1 regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs