From c8b27bc648d30464baf3c63dac9bd6685f8bfbae Mon Sep 17 00:00:00 2001 From: Creqz Date: Fri, 18 Jan 2013 13:36:40 +1800 Subject: [PATCH] Compiling notmuch-deliver: undefined reference to `notmuch_database_destroy' --- b9/16257142c34a9383e451749e94bf9ce4e7230a | 80 +++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 b9/16257142c34a9383e451749e94bf9ce4e7230a diff --git a/b9/16257142c34a9383e451749e94bf9ce4e7230a b/b9/16257142c34a9383e451749e94bf9ce4e7230a new file mode 100644 index 000000000..dcd3b083f --- /dev/null +++ b/b9/16257142c34a9383e451749e94bf9ce4e7230a @@ -0,0 +1,80 @@ +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 DF140431FC0 + for ; Thu, 17 Jan 2013 11:41:54 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0.001 +X-Spam-Level: +X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 + tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] + autolearn=disabled +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 FDT5Q311HaN6 for ; + Thu, 17 Jan 2013 11:41:50 -0800 (PST) +X-Greylist: delayed 302 seconds by postgrey-1.32 at olra; + Thu, 17 Jan 2013 11:41:50 PST +Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) + by olra.theworths.org (Postfix) with ESMTP id A3953431FBD + for ; Thu, 17 Jan 2013 11:41:50 -0800 (PST) +Received: from mailout-eu.gmx.com ([10.1.101.211]) by mrigmx.server.lan + (mrigmx002) with ESMTP (Nemesis) id 0MgaAT-1TblYP38gZ-00Ny4X for + ; Thu, 17 Jan 2013 20:36:46 +0100 +Received: (qmail invoked by alias); 17 Jan 2013 19:36:46 -0000 +Received: from a72-247-216-12.deploy.akamaitechnologies.com (EHLO + ustx1cl-r9m1efv.SSG5-Serial) [72.247.216.12] + by mail.gmx.com (mp-eu011) with SMTP; 17 Jan 2013 20:36:46 +0100 +X-Authenticated: #149903273 +X-Provags-ID: V01U2FsdGVkX1/7hadEhfv7saxw8qNb8o4IjujAml0hEVQLdwhl0r + tA2Vn6mIY2JTQE +Date: Thu, 17 Jan 2013 13:36:40 -0600 +From: Creqz +To: notmuch@notmuchmail.org +Subject: Compiling notmuch-deliver: undefined reference to + `notmuch_database_destroy' +Message-ID: <20130117193640.GA27457@ustx1cl-r9m1efv.SSG5-Serial> +MIME-Version: 1.0 +Content-Type: text/plain; charset=us-ascii +Content-Disposition: inline +User-Agent: Mutt/1.5.21 (2011-07-01) +X-Y-GMX-Trusted: 0 +X-Mailman-Approved-At: Thu, 17 Jan 2013 17:12:02 -0800 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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, 17 Jan 2013 19:41:55 -0000 + +Hello, + +I'm trying to compile notmuch-deliver but I get the following error: + +../maildrop/maildir/maildiropen.c: In function 'maildir_getlink': +../maildrop/maildir/maildiropen.c:51:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] + CC maildirmkdir.o + CC main.o + CCLD notmuch-deliver +main.o: In function `main': +/home/jgafnea/src/notmuch-08e6d37/src/main.c:466: undefined reference to `notmuch_database_destroy' +collect2: ld returned 1 exit status +make[2]: *** [notmuch-deliver] Error 1 + +Here are the full outputs from './configure' and 'make', respectively: + +http://pastebin.com/ptLqqYTg +http://pastebin.com/bJYKxzU9 + +FWIW I'm using notmuch 0.14 and I'm trying to compile notmuch-deliver from the file 'notmuch-08e6d37.tar.gz' downloaded from http://git.notmuchmail.org/git/notmuch/tree/HEAD:/contrib/notmuch-deliver + +Thanks! -- 2.26.2