guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2.4 Writing Guile Extensions Example - Mac Build Problem


From: Panicz Maciej Godek
Subject: Re: 2.4 Writing Guile Extensions Example - Mac Build Problem
Date: Thu, 6 Nov 2014 13:41:12 +0100

2014-11-06 8:06 GMT+01:00 Roger Mc Murtrie <address@hidden>:
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.

Try adding `pkg-config --libs guile-2.0` to the command line.

HTH
M


reply via email to

[Prev in Thread] Current Thread [Next in Thread]