From: Ryan Schmidt <notmuch@ryandesign.com>
To: notmuch@notmuchmail.org
Subject: notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined symbols
Date: Thu, 30 Apr 2015 00:20:37 -0500 [thread overview]
Message-ID: <F741763B-2B59-4681-B13A-7BC423FD8DC3@ryandesign.com> (raw)
Hello,
I'm a developer with the MacPorts project and I discovered that notmuch 0.19 does not build on Mac OS X 10.6 with its gcc 4.2.1 compiler. The errors are:
/usr/bin/g++-4.2 command-line-arguments.o debugger.o gmime-filter-reply.o hooks.o notmuch.o notmuch-compact.o notmuch-config.o notmuch-count.o notmuch-dump.o notmuch-insert.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o sprinter-json.o sprinter-sexp.o sprinter-text.o query-string.o mime-node.o crypto.o tag-util.o -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Lutil -lutil -Llib -lnotmuch -L/opt/local/lib -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -Wl,-rpath,/opt/local/lib -ltalloc -L/opt/local/lib -lz -L/opt/local/lib -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -L/opt/local/lib -Wl,-rpath,/opt/local/lib -ltalloc -L/opt/local/lib -lz -L/opt/local/lib -lxapian -o notmuch-shared
Undefined symbols:
"_hex_decode_inplace", referenced from:
_parse_tag_line in tag-util.o
"_gz_error_string", referenced from:
_notmuch_restore_command in notmuch-restore.o
_notmuch_restore_command in notmuch-restore.o
"_gz_getline", referenced from:
_notmuch_restore_command in notmuch-restore.o
_notmuch_restore_command in notmuch-restore.o
"_hex_encode", referenced from:
_notmuch_database_dump in notmuch-dump.o
"_talloc_strndup_named_const", referenced from:
_notmuch_restore_command in notmuch-restore.o
_notmuch_restore_command in notmuch-restore.o
ld: symbol(s) not found
Here is a full log, from the MacPorts project's automated build server:
https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/35355/steps/compile/logs/stdio
I have tried to understand what's happening here but I'm not a C programmer and I'm not succeeding. The build succeeds on OS X 10.7, 10.8, 10.9 and 10.10 with the clang compiler.
Please let me know if you need additional information!
next reply other threads:[~2015-04-30 5:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 5:20 Ryan Schmidt [this message]
2015-04-30 12:52 ` notmuch 0.19 build fails on OS X 10.6 with gcc 4.2.1 with undefined symbols David Bremner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=F741763B-2B59-4681-B13A-7BC423FD8DC3@ryandesign.com \
--to=notmuch@ryandesign.com \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).