Re: [PATCH] xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.

Subject: Re: [PATCH] xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.

Date: Mon, 31 Oct 2011 07:51:14 -0300

To: Jani Nikula

Cc: notmuch@notmuchmail.org

From: David Bremner


On Mon, 31 Oct 2011 09:20:13 +0000, Jani Nikula <jani@nikula.org> wrote:
> 
> Hi David, this patch (commit 1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1)
> broke my build with:
> 
> CXX -O2 lib/libnotmuch.so.2.0.0

Can you try "make V=1"? The output should look like

g++ lib/filenames.o lib/string-list.o lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o lib/database.o lib/directory.o lib/index.o lib/message.o lib/query.o lib/thread.o  -Wl,--as-needed -pthread -lgmime-2.4 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   -ltalloc   -lxapian -shared -Wl,--version-script=notmuch.sym,-soname=libnotmuch.so.2 -o lib/libnotmuch.so.2.0.0 -L./util -lutil

The last part, "-L./util -lutil" is where all those symbols are.

d

Thread: