From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Brian Schack Newsgroups: gmane.emacs.bugs Subject: Need to define 'unix' to compile under OS X? Date: Wed, 29 Nov 2006 23:18:16 +0800 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1164813538 30511 80.91.229.2 (29 Nov 2006 15:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Nov 2006 15:18:58 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 29 16:18:54 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GpRCm-0007sy-7t for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Nov 2006 16:18:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpRCl-0002FW-3X for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Nov 2006 10:18:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpRCf-0002Bv-L2 for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2006 10:18:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpRCd-0002A2-FI for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2006 10:18:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpRCd-00029e-0m for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2006 10:18:27 -0500 Original-Received: from [165.212.64.31] (helo=cmsout01.mbox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GpRCc-0005xU-P9 for bug-gnu-emacs@gnu.org; Wed, 29 Nov 2006 10:18:26 -0500 Original-Received: from cmsout01.mbox.net (cmsout01.mbox.net [165.212.64.31]) by cmsout01.mbox.net (Postfix) with ESMTP id 4767178266 for ; Wed, 29 Nov 2006 15:18:25 +0000 (GMT) Original-Received: from cmsapps01.cms.usa.net [165.212.11.136] by cmsout01.mbox.net via smtad (C8.MAIN.3.32M); Wed, 29 Nov 2006 15:18:25 GMT X-USANET-Source: 165.212.11.136 IN brian.schack@usa.net cmsapps01.cms.usa.net X-USANET-MsgId: XID753kkCPsZ4184X01 Original-Received: from brian-schacks-computer.local [61.228.125.135] by cmsapps01.cms.usa.net (ASMTP/brian.schack@usa.net) via mtad (C8.MAIN.3.31J) with ESMTP id 159kkCPsX0431M36; Wed, 29 Nov 2006 15:18:23 GMT X-USANET-Auth: 61.228.125.135 AUTH brian.schack@usa.net brian-schacks-computer.local Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (darwin) Z-USANET-MsgId: XID159kkCPsX0431X36 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15439 Archived-At: I'm running GNU Emacs 22.0.90.1 (i386-apple-darwin8.8.1, X toolkit), and I noticed a problem while running Gnus.=20=20 Specifically, in nnmaildir-request-accept-article it makes a call to the unix-sync function. However, unix-sync is reported as undefined. It seems the problem lies in fileio.c, where unix-sync is defined. The definition of unix-sync is bracketed by #ifdef unix. My guess is that the symbol 'unix' is not defined when I compile under OS X. To test this, I reran configure as follows: % ./configure ./configure --with-x CPPFLAGS=3D-Dunix and things worked okay. --=20 Brian Schack mailto: brian.schack@usa.net 19 X=C7=94ch=C4=81ng Street 2F phone: 2381 4727 Taipei 100 fax: 2381 2145 TAIWAN=09=09=09