From: Roger Mc Murtrie <rogermc@grapevine.com.au>
To: guile-user@gnu.org
Subject: 2.4 Writing Guile Extensions Example - Mac Build Problem
Date: Thu, 6 Nov 2014 18:06:09 +1100 [thread overview]
Message-ID: <69C9C82F-EF9E-4D45-90AA-F2D521660167@grapevine.com.au> (raw)
I have just started learning Guile on my Mac OS X 10.10 (Yosemite) but my attempt to build the Writing Guile Extensions example failed with:
gcc `pkg-config --cflags guile-2.0` -shared -o libguile-bessel.so -fPIC bessel.c
Undefined symbols for architecture x86_64:
"_scm_c_define_gsubr", referenced from:
_init_bessel in bessel-6d66cf.o
"_scm_from_double", referenced from:
_j0_wrapper in bessel-6d66cf.o
"_scm_to_double", referenced from:
_j0_wrapper in bessel-6d66cf.o
ld: symbol(s) not found for architecture x86_64
The simple-guile example built and worked OK.
Any advice appreciated.
next reply other threads:[~2014-11-06 7:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 7:06 Roger Mc Murtrie [this message]
2014-11-06 12:41 ` 2.4 Writing Guile Extensions Example - Mac Build Problem Panicz Maciej Godek
2014-11-06 22:54 ` Roger Mc Murtrie
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://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=69C9C82F-EF9E-4D45-90AA-F2D521660167@grapevine.com.au \
--to=rogermc@grapevine.com.au \
--cc=guile-user@gnu.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.
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).