Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 569B0431FBC for ; Thu, 19 Nov 2009 00:13:42 -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 50oXjrO5Jor0 for ; Thu, 19 Nov 2009 00:13:40 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by olra.theworths.org (Postfix) with ESMTP id CC016431FAE for ; Thu, 19 Nov 2009 00:13:40 -0800 (PST) Received-SPF: pass (mxus2: domain of exemail.com.au designates 220.233.0.17 as permitted sender) client-ip=220.233.0.17; envelope-from=tjaden@exemail.com.au; helo=smtp.po.exetel.com.au; Received: from smtp.po.exetel.com.au (pecan.exetel.com.au [220.233.0.17]) by mx.perfora.net (node=mxus2) with ESMTP (Nemesis) id 0M55zq-1O7dsK3y06-00zPLh for notmuch@notmuchmail.org; Thu, 19 Nov 2009 03:13:39 -0500 Received: from 27.133.70.115.static.exetel.com.au ([115.70.133.27] helo=localhost) by smtp.po.exetel.com.au with esmtp (Exim 4.68) (envelope-from ) id 1NB291-0002ND-Tk; Thu, 19 Nov 2009 19:13:36 +1100 Date: Thu, 19 Nov 2009 19:13:35 +1100 From: Peter Wang To: notmuch@notmuchmail.org Message-ID: <20091119081335.GI27626@plug.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: [notmuch] link error 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: Thu, 19 Nov 2009 08:13:42 -0000 Hi, Linking fails on my system for some reason (undefined references to talloc functions). Putting $(LDFLAGS) after the object list solves it. Peter diff --git a/Makefile.local b/Makefile.local index 27e42ba..c2fbe21 100644 --- a/Makefile.local +++ b/Makefile.local @@ -18,7 +18,7 @@ notmuch_client_srcs = \ notmuch_client_modules = $(notmuch_client_srcs:.c=.o) notmuch: $(notmuch_client_modules) lib/notmuch.a - $(CXX) $(LDFLAGS) $^ -o $@ + $(CXX) $^ $(LDFLAGS) -o $@ notmuch.1.gz: notmuch.1 gzip --stdout notmuch.1 > notmuch.1.gz