[notmuch] os x getline issues

Subject: [notmuch] os x getline issues

Date: Sun, 28 Mar 2010 23:54:18 -0700

To: notmuch@notmuchmail.org

Cc:

From: Bhaskara Marthi


Hi all, I'm trying to build notmuch on os x (master branch from today).  I
got the ports for gmime and xapian, and installed talloc from source, with
some minor hitches (just getting talloc alone from samba failed on autoconf
due to lack of libreplace.m4, so I installed all of samba from a port; a
pkg-config file for talloc was not put in the right place after that,
though, so I had to make one).

Anyway, now compilation runs into the following error.  Looks like an issue
with the makefile given that getline is in fact defined in compat/.  How
should I fix this?
- Bhaskara

g++ debugger.o gmime-filter-reply.o notmuch.o notmuch-config.o
notmuch-count.o notmuch-dump.o notmuch-new.o notmuch-reply.o
notmuch-restore.o notmuch-search.o notmuch-search-tags.o notmuch-setup.o
notmuch-show.o notmuch-tag.o notmuch-time.o query-string.o show-message.o
json.o lib/notmuch.a  -L/opt/local/lib -lgmime-2.4 -lz -lgobject-2.0
-lglib-2.0 -lintl -liconv   -L/opt/local/lib/samba3 -ltalloc
-L/opt/local/lib -lxapian -lz -L/opt/local/lib -o notmuch
Undefined symbols:
  "_getline", referenced from:
      _notmuch_restore_command in notmuch-restore.o
      _notmuch_restore_command in notmuch-restore.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)

Thread: