Drafts being tagged as inbox

Robin Green greenrd at greenrd.org
Tue Jun 28 00:00:53 PDT 2011


On Tue, 28 Jun 2011 08:34:44 +0200, Pieter Praet <pieter at praet.org> wrote:
> notmuch tag -inbox +draft -- folder:${where_your_drafts_reside}

My notmuch help does not mention "folder:", and indeed folder:drafts as a
search term is just treated as the words folder and drafts. Perhaps this
is implemented in git head. However, when I try to compile git head on
Dragonfly BSD, I get this error:

CXX -O2 notmuch-shared
notmuch-count.o: In function `notmuch_count_command':
notmuch-count.c:(.text+0x63): undefined reference to `notmuch_database_open'
notmuch-count.c:(.text+0x9d): undefined reference to `notmuch_query_create'
notmuch-count.c:(.text+0xb1): undefined reference to `notmuch_query_count_messages'
notmuch-count.c:(.text+0xc9): undefined reference to `notmuch_query_destroy'
notmuch-count.c:(.text+0xd1): undefined reference to `notmuch_database_close'
notmuch-dump.o: In function `notmuch_dump_command':
notmuch-dump.c:(.text+0x33): undefined reference to `notmuch_database_open'
notmuch-dump.c:(.text+0x4e): undefined reference to `notmuch_query_create'
notmuch-dump.c:(.text+0x67): undefined reference to `notmuch_query_set_sort'
notmuch-dump.c:(.text+0x81): undefined reference to `notmuch_query_search_messages'
notmuch-dump.c:(.text+0x8c): undefined reference to `notmuch_messages_valid'
notmuch-dump.c:(.text+0xa4): undefined reference to `notmuch_messages_get'
notmuch-dump.c:(.text+0xaf): undefined reference to `notmuch_message_get_message_id'
notmuch-dump.c:(.text+0xcb): undefined reference to `notmuch_message_get_tags'
notmuch-dump.c:(.text+0xe5): undefined reference to `notmuch_tags_get'
notmuch-dump.c:(.text+0xf9): undefined reference to `notmuch_tags_move_to_next'
notmuch-dump.c:(.text+0x10a): undefined reference to `notmuch_tags_valid'
notmuch-dump.c:(.text+0x14d): undefined reference to `notmuch_message_destroy'
notmuch-dump.c:(.text+0x155): undefined reference to `notmuch_messages_move_to_next'
notmuch-dump.c:(.text+0x15d): undefined reference to `notmuch_messages_valid'
notmuch-dump.c:(.text+0x17a): undefined reference to `notmuch_query_destroy'
notmuch-dump.c:(.text+0x182): undefined reference to `notmuch_database_close'
notmuch-new.o: In function `_remove_directory':
notmuch-new.c:(.text+0x585): undefined reference to `notmuch_database_get_directory'
notmuch-new.c:(.text+0x592): undefined reference to `notmuch_directory_get_child_files'
notmuch-new.c:(.text+0x5b8): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0x5c0): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0x5cc): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0x5f1): undefined reference to `notmuch_database_remove_message'
notmuch-new.c:(.text+0x609): undefined reference to `notmuch_directory_get_child_directories'
notmuch-new.c:(.text+0x616): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0x65c): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0x664): undefined reference to `notmuch_filenames_valid'
notmuch-new.o: In function `add_files_recursive':
notmuch-new.c:(.text+0x7d6): undefined reference to `notmuch_database_get_directory'
notmuch-new.c:(.text+0x7e3): undefined reference to `notmuch_directory_get_mtime'
notmuch-new.c:(.text+0xa24): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xa3f): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xa6b): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0xa73): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xa7f): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xb08): undefined reference to `notmuch_filenames_destroy'
notmuch-new.c:(.text+0xb16): undefined reference to `notmuch_filenames_destroy'
notmuch-new.c:(.text+0xb2c): undefined reference to `notmuch_directory_destroy'
notmuch-new.c:(.text+0xb64): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0xb6c): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xb7c): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xb97): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xbc9): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xbf5): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0xbfd): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xc14): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xc40): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0xc48): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xc69): undefined reference to `notmuch_directory_set_mtime'
notmuch-new.c:(.text+0xcf9): undefined reference to `notmuch_filenames_valid'
notmuch-new.c:(.text+0xd05): undefined reference to `notmuch_filenames_get'
notmuch-new.c:(.text+0xdca): undefined reference to `notmuch_database_add_message'
notmuch-new.c:(.text+0xe28): undefined reference to `notmuch_message_destroy'
notmuch-new.c:(.text+0xe80): undefined reference to `notmuch_status_to_string'
notmuch-new.c:(.text+0xeca): undefined reference to `notmuch_message_freeze'
notmuch-new.c:(.text+0xeef): undefined reference to `notmuch_message_add_tag'
notmuch-new.c:(.text+0xf13): undefined reference to `notmuch_message_thaw'
notmuch-new.c:(.text+0xff2): undefined reference to `notmuch_directory_get_child_files'
notmuch-new.c:(.text+0xfff): undefined reference to `notmuch_directory_get_child_directories'
notmuch-new.c:(.text+0x1041): undefined reference to `notmuch_filenames_move_to_next'
notmuch-new.c:(.text+0x10d3): undefined reference to `notmuch_message_get_message_id'
notmuch-new.c:(.text+0x10f1): undefined reference to `notmuch_message_maildir_flags_to_tags'
notmuch-new.o: In function `notmuch_new_command':
notmuch-new.c:(.text+0x126e): undefined reference to `notmuch_database_open'
notmuch-new.c:(.text+0x1282): undefined reference to `notmuch_database_needs_upgrade'
notmuch-new.c:(.text+0x1420): undefined reference to `notmuch_database_remove_message'
notmuch-new.c:(.text+0x15b4): undefined reference to `notmuch_database_find_message'
notmuch-new.c:(.text+0x15bf): undefined reference to `notmuch_message_maildir_flags_to_tags'
notmuch-new.c:(.text+0x15c7): undefined reference to `notmuch_message_destroy'
notmuch-new.c:(.text+0x179b): undefined reference to `notmuch_database_close'
notmuch-new.c:(.text+0x180e): undefined reference to `notmuch_database_create'
notmuch-new.c:(.text+0x1895): undefined reference to `notmuch_database_upgrade'
notmuch-new.c:(.text+0x189d): undefined reference to `notmuch_database_get_version'
notmuch-new.c:(.text+0x194b): undefined reference to `notmuch_status_to_string'
notmuch-new.c:(.text+0x1964): undefined reference to `notmuch_database_close'
notmuch-new.o: In function `_remove_directory':
notmuch-new.c:(.text+0x680): undefined reference to `notmuch_directory_destroy'
notmuch-reply.o: In function `notmuch_reply_command':
notmuch-reply.c:(.text+0x28d): undefined reference to `notmuch_database_open'
notmuch-reply.c:(.text+0x2a0): undefined reference to `notmuch_query_create'
notmuch-reply.c:(.text+0x32b): undefined reference to `notmuch_query_destroy'
notmuch-reply.c:(.text+0x333): undefined reference to `notmuch_database_close'
notmuch-reply.o: In function `add_recipients_from_message':
notmuch-reply.c:(.text+0x629): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0x64d): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0x69d): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0x6bd): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0x76f): undefined reference to `notmuch_message_get_header'
notmuch-reply.o:notmuch-reply.c:(.text+0x781): more undefined references to `notmuch_message_get_header' follow
notmuch-reply.o: In function `notmuch_reply_format_headers_only':
notmuch-reply.c:(.text+0x7f8): undefined reference to `notmuch_query_search_messages'
notmuch-reply.c:(.text+0x89b): undefined reference to `notmuch_message_destroy'
notmuch-reply.c:(.text+0x8a3): undefined reference to `notmuch_messages_move_to_next'
notmuch-reply.c:(.text+0x8ab): undefined reference to `notmuch_messages_valid'
notmuch-reply.c:(.text+0x8bb): undefined reference to `notmuch_messages_get'
notmuch-reply.c:(.text+0x8d5): undefined reference to `notmuch_message_get_message_id'
notmuch-reply.c:(.text+0x91d): undefined reference to `notmuch_message_get_header'
notmuch-reply.o: In function `notmuch_reply_format_default':
notmuch-reply.c:(.text+0xc2e): undefined reference to `notmuch_query_search_messages'
notmuch-reply.c:(.text+0xcd8): undefined reference to `notmuch_message_get_message_id'
notmuch-reply.c:(.text+0xd24): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0xe41): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0xe53): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0xe6f): undefined reference to `notmuch_message_get_filename'
notmuch-reply.c:(.text+0xe89): undefined reference to `notmuch_message_destroy'
notmuch-reply.c:(.text+0xe91): undefined reference to `notmuch_messages_move_to_next'
notmuch-reply.c:(.text+0xe99): undefined reference to `notmuch_messages_valid'
notmuch-reply.c:(.text+0xea9): undefined reference to `notmuch_messages_get'
notmuch-reply.c:(.text+0xecd): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0xfd5): undefined reference to `notmuch_message_get_header'
notmuch-reply.c:(.text+0x10b9): undefined reference to `notmuch_message_get_header'
notmuch-restore.o: In function `notmuch_restore_command':
notmuch-restore.c:(.text+0x48): undefined reference to `notmuch_database_open'
notmuch-restore.c:(.text+0x185): undefined reference to `notmuch_database_find_message'
notmuch-restore.c:(.text+0x199): undefined reference to `notmuch_message_get_tags'
notmuch-restore.c:(.text+0x1cb): undefined reference to `notmuch_tags_move_to_next'
notmuch-restore.c:(.text+0x1d3): undefined reference to `notmuch_tags_valid'
notmuch-restore.c:(.text+0x1df): undefined reference to `notmuch_tags_get'
notmuch-restore.c:(.text+0x26b): undefined reference to `notmuch_message_freeze'
notmuch-restore.c:(.text+0x273): undefined reference to `notmuch_message_remove_all_tags'
notmuch-restore.c:(.text+0x2b1): undefined reference to `notmuch_message_add_tag'
notmuch-restore.c:(.text+0x2e5): undefined reference to `notmuch_status_to_string'
notmuch-restore.c:(.text+0x308): undefined reference to `notmuch_message_thaw'
notmuch-restore.c:(.text+0x318): undefined reference to `notmuch_message_tags_to_maildir_flags'
notmuch-restore.c:(.text+0x324): undefined reference to `notmuch_message_destroy'
notmuch-restore.c:(.text+0x3b4): undefined reference to `notmuch_database_close'
notmuch-search.o: In function `notmuch_search_command':
notmuch-search.c:(.text+0x4b5): undefined reference to `notmuch_database_open'
notmuch-search.c:(.text+0x4f4): undefined reference to `notmuch_query_create'
notmuch-search.c:(.text+0x50e): undefined reference to `notmuch_query_set_sort'
notmuch-search.c:(.text+0x522): undefined reference to `notmuch_query_search_threads'
notmuch-search.c:(.text+0x574): undefined reference to `notmuch_threads_valid'
notmuch-search.c:(.text+0x591): undefined reference to `notmuch_threads_get'
notmuch-search.c:(.text+0x5c0): undefined reference to `notmuch_thread_get_oldest_date'
notmuch-search.c:(.text+0x5d4): undefined reference to `notmuch_thread_get_subject'
notmuch-search.c:(.text+0x5e1): undefined reference to `notmuch_thread_get_authors'
notmuch-search.c:(.text+0x5ee): undefined reference to `notmuch_thread_get_total_messages'
notmuch-search.c:(.text+0x5fa): undefined reference to `notmuch_thread_get_matched_messages'
notmuch-search.c:(.text+0x605): undefined reference to `notmuch_thread_get_thread_id'
notmuch-search.c:(.text+0x643): undefined reference to `notmuch_thread_get_tags'
notmuch-search.c:(.text+0x657): undefined reference to `notmuch_tags_get'
notmuch-search.c:(.text+0x66d): undefined reference to `notmuch_tags_move_to_next'
notmuch-search.c:(.text+0x675): undefined reference to `notmuch_tags_valid'
notmuch-search.c:(.text+0x6d2): undefined reference to `notmuch_query_get_query_string'
notmuch-search.c:(.text+0x6f3): undefined reference to `notmuch_query_search_messages'
notmuch-search.c:(.text+0x707): undefined reference to `notmuch_messages_collect_tags'
notmuch-search.c:(.text+0x746): undefined reference to `notmuch_tags_move_to_next'
notmuch-search.c:(.text+0x74e): undefined reference to `notmuch_tags_valid'
notmuch-search.c:(.text+0x75a): undefined reference to `notmuch_tags_get'
notmuch-search.c:(.text+0x7a1): undefined reference to `notmuch_thread_destroy'
notmuch-search.c:(.text+0x7a9): undefined reference to `notmuch_threads_move_to_next'
notmuch-search.c:(.text+0x7b6): undefined reference to `notmuch_tags_destroy'
notmuch-search.c:(.text+0x7c6): undefined reference to `notmuch_messages_destroy'
notmuch-search.c:(.text+0x7ec): undefined reference to `notmuch_query_destroy'
notmuch-search.c:(.text+0x7f4): undefined reference to `notmuch_database_close'
notmuch-search.c:(.text+0x814): undefined reference to `notmuch_thread_get_newest_date'
notmuch-search.c:(.text+0x83a): undefined reference to `notmuch_thread_get_thread_id'
notmuch-search.c:(.text+0x88d): undefined reference to `notmuch_query_search_messages'
notmuch-search.c:(.text+0x8de): undefined reference to `notmuch_message_get_message_id'
notmuch-search.c:(.text+0x8f9): undefined reference to `notmuch_message_destroy'
notmuch-search.c:(.text+0x901): undefined reference to `notmuch_messages_move_to_next'
notmuch-search.c:(.text+0x909): undefined reference to `notmuch_messages_valid'
notmuch-search.c:(.text+0x915): undefined reference to `notmuch_messages_get'
notmuch-search.c:(.text+0x93b): undefined reference to `notmuch_message_get_filename'
notmuch-search.c:(.text+0x962): undefined reference to `notmuch_messages_destroy'
notmuch-search.c:(.text+0x9d2): undefined reference to `notmuch_database_get_all_tags'
notmuch-show.o: In function `format_message_mbox':
notmuch-show.c:(.text+0x13f): undefined reference to `notmuch_message_get_filename'
notmuch-show.c:(.text+0x173): undefined reference to `notmuch_message_get_header'
notmuch-show.c:(.text+0x1e6): undefined reference to `notmuch_message_get_date'
notmuch-show.o: In function `format_headers_json':
notmuch-show.c:(.text+0x51d): undefined reference to `notmuch_message_get_header'
notmuch-show.o: In function `format_message_text':
notmuch-show.c:(.text+0xce1): undefined reference to `notmuch_message_get_filename'
notmuch-show.c:(.text+0xcee): undefined reference to `notmuch_message_get_flag'
notmuch-show.c:(.text+0xcf9): undefined reference to `notmuch_message_get_message_id'
notmuch-show.o: In function `format_message_json':
notmuch-show.c:(.text+0xd59): undefined reference to `notmuch_message_get_date'
notmuch-show.c:(.text+0xd79): undefined reference to `notmuch_message_get_filename'
notmuch-show.c:(.text+0xd91): undefined reference to `notmuch_message_get_flag'
notmuch-show.c:(.text+0xda6): undefined reference to `notmuch_message_get_message_id'
notmuch-show.c:(.text+0xdea): undefined reference to `notmuch_message_get_tags'
notmuch-show.c:(.text+0xdf7): undefined reference to `notmuch_tags_get'
notmuch-show.c:(.text+0xe28): undefined reference to `notmuch_tags_move_to_next'
notmuch-show.c:(.text+0xe30): undefined reference to `notmuch_tags_valid'
notmuch-show.o: In function `format_headers_text':
notmuch-show.c:(.text+0xf17): undefined reference to `notmuch_message_get_header'
notmuch-show.c:(.text+0xf24): undefined reference to `notmuch_message_get_date'
notmuch-show.c:(.text+0xf61): undefined reference to `notmuch_message_get_tags'
notmuch-show.c:(.text+0xf76): undefined reference to `notmuch_tags_get'
notmuch-show.c:(.text+0xfa2): undefined reference to `notmuch_tags_move_to_next'
notmuch-show.c:(.text+0xfb2): undefined reference to `notmuch_tags_valid'
notmuch-show.c:(.text+0x1007): undefined reference to `notmuch_message_get_header'
notmuch-show.o: In function `show_message':
notmuch-show.c:(.text+0x1080): undefined reference to `notmuch_message_get_filename'
notmuch-show.o: In function `do_show_single':
notmuch-show.c:(.text+0x119b): undefined reference to `notmuch_query_count_messages'
notmuch-show.c:(.text+0x11f5): undefined reference to `notmuch_query_search_messages'
notmuch-show.c:(.text+0x11fd): undefined reference to `notmuch_messages_get'
notmuch-show.c:(.text+0x1218): undefined reference to `notmuch_message_set_flag'
notmuch-show.c:(.text+0x1249): undefined reference to `notmuch_message_get_filename'
notmuch-show.o: In function `show_messages':
notmuch-show.c:(.text+0x13f0): undefined reference to `notmuch_messages_get'
notmuch-show.c:(.text+0x13fd): undefined reference to `notmuch_message_get_flag'
notmuch-show.c:(.text+0x1443): undefined reference to `notmuch_message_get_replies'
notmuch-show.c:(.text+0x1462): undefined reference to `notmuch_message_destroy'
notmuch-show.c:(.text+0x147a): undefined reference to `notmuch_messages_move_to_next'
notmuch-show.c:(.text+0x1482): undefined reference to `notmuch_messages_valid'
notmuch-show.o: In function `notmuch_show_command':
notmuch-show.c:(.text+0x17c6): undefined reference to `notmuch_database_open'
notmuch-show.c:(.text+0x17da): undefined reference to `notmuch_query_create'
notmuch-show.c:(.text+0x183a): undefined reference to `notmuch_query_search_threads'
notmuch-show.c:(.text+0x1864): undefined reference to `notmuch_thread_destroy'
notmuch-show.c:(.text+0x186c): undefined reference to `notmuch_threads_move_to_next'
notmuch-show.c:(.text+0x187c): undefined reference to `notmuch_threads_valid'
notmuch-show.c:(.text+0x188c): undefined reference to `notmuch_threads_get'
notmuch-show.c:(.text+0x1897): undefined reference to `notmuch_thread_get_toplevel_messages'
notmuch-show.c:(.text+0x1af0): undefined reference to `notmuch_thread_get_thread_id'
notmuch-tag.o: In function `notmuch_tag_command':
notmuch-tag.c:(.text+0x177): undefined reference to `notmuch_database_open'
notmuch-tag.c:(.text+0x1a2): undefined reference to `notmuch_query_create'
notmuch-tag.c:(.text+0x1bf): undefined reference to `notmuch_query_set_sort'
notmuch-tag.c:(.text+0x1c9): undefined reference to `notmuch_query_search_messages'
notmuch-tag.c:(.text+0x1d8): undefined reference to `notmuch_messages_valid'
notmuch-tag.c:(.text+0x1f8): undefined reference to `notmuch_messages_get'
notmuch-tag.c:(.text+0x205): undefined reference to `notmuch_message_freeze'
notmuch-tag.c:(.text+0x22d): undefined reference to `notmuch_message_remove_tag'
notmuch-tag.c:(.text+0x26a): undefined reference to `notmuch_message_add_tag'
notmuch-tag.c:(.text+0x281): undefined reference to `notmuch_message_thaw'
notmuch-tag.c:(.text+0x297): undefined reference to `notmuch_message_destroy'
notmuch-tag.c:(.text+0x2a1): undefined reference to `notmuch_messages_move_to_next'
notmuch-tag.c:(.text+0x346): undefined reference to `notmuch_message_tags_to_maildir_flags'
notmuch-tag.c:(.text+0x355): undefined reference to `notmuch_query_destroy'
notmuch-tag.c:(.text+0x35f): undefined reference to `notmuch_database_close'
gmake: *** [notmuch-shared] Error 1


More information about the notmuch mailing list