From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id A376B431FBC for ; Tue, 17 Nov 2009 22:14:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Xyz2-oZMadI for ; Tue, 17 Nov 2009 22:14:27 -0800 (PST) Received: from mail-px0-f173.google.com (mail-px0-f173.google.com [209.85.216.173]) by olra.theworths.org (Postfix) with ESMTP id B34D8431FAE for ; Tue, 17 Nov 2009 22:14:27 -0800 (PST) Received: by pxi3 with SMTP id 3so607848pxi.22 for ; Tue, 17 Nov 2009 22:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=FkL6Oyv8O4rZcbwr7ZacO0zJEDLECbhUxHJe1ICXCeU=; b=OaYFLpTlBcq+CPdTUPCBkJ5319I7H3blAC6043oPqEMy+tpiTwbSnExqNhGCXFXKV7 g2YvSv+lyviZZdFKAXqERqdtgZmHkacdBeEfkvqeGNy+ur9gbbpDC6F7VUFhDk4NE4a0 Eqx3GLxNFr4ot3mpRPGHpXiTHy96aSkBPzrzg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ddek1En7VrEW0nlu5SUAlX1aHPUMD3K+vQUenIUak0VndRTk2r7kWsukWZCoQw+/Cl J5RtDJVH64fQG4BKcGAFgmvKWZ4bP1ItNb4/QG3T5KrYtF18/qCdUw2q886xUY+q9J1E /3KgYX7Zwj15gKzzpLTGZ9Iha9OBVeXcatjsk= MIME-Version: 1.0 Received: by 10.115.85.6 with SMTP id n6mr2213140wal.74.1258524867121; Tue, 17 Nov 2009 22:14:27 -0800 (PST) In-Reply-To: <86einw2xof.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me> References: <86einw2xof.fsf@fortitudo.i-did-not-set--mail-host-address--so-tickle-me> Date: Wed, 18 Nov 2009 14:14:27 +0800 Message-ID: From: Jjgod Jiang To: Alexander Botero-Lowry Content-Type: text/plain; charset=UTF-8 Cc: notmuch@notmuchmail.org Subject: Re: Mac OS X/Darwin compatibility issues X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 06:14:28 -0000 Hi, On Wed, Nov 18, 2009 at 1:45 PM, Alexander Botero-Lowry wrote: > for getline do you mind trying #define _GNU_SOURCE 1 > before #include in the offending files? The FreeBSD man pages > mentions that as a way of enabling the GNU version of getline(). It seems even _GNU_SOURCE is defined, getline is still not present. the C lib in Mac OS X simply doesn't have it. See also [1]. - Jiang [1] http://stackoverflow.com/questions/1117108/compiling-c-code-using-gnu-c-getline-on-mac-osx