[Spice-devel] Building celt-0.5.1.3 on OSX - Undefined symbols for architecture x86_64
Christophe Fergeau
cfergeau at redhat.com
Mon Apr 11 00:52:08 PDT 2011
Hi Cliff,
On Sat, Apr 09, 2011 at 06:04:38PM -0500, Cliff Sharp wrote:
> Undefined symbols for architecture x86_64:
> "_ec_ilog", referenced from:
> _ec_enc_uint in ectest.o
> _ec_dec_uint in ectest.o
> _ec_enc_tell in ectest.o
> _ec_dec_tell in ectest.o
> _log2_frac in ectest.o
> _imusdiv32even in ectest.o
It looks like these symbols should be defined in the libcelt that was
just built (assuming the leading _ is something that is added to all
public symbols in osx). However, looking at tests/Makefile.am and at
your gcc link line, I see no reference to linking the examples to
libcelt.
Can you try adding
ectest_LDADD = $(top_builddir)/libcelt/libcelt at PACKAGE_APPEND@.la
to tests/Makefile.am, and regenerate the autofoo (running autoreconf -fi
and then configure is generally enough). Similar errors might happen for
other test files, in which case you'll want to try a similar fix, just
changing the "ectest" prefix.
Let me know if this helps,
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110411/92004d61/attachment.pgp>
More information about the Spice-devel
mailing list