[Spice-devel] Building celt-0.5.1.3 on OSX - Undefined symbols for architecture x86_64

Attila Sukosd attila.sukosd at gmail.com
Mon Apr 11 00:57:24 PDT 2011


Hi,

I've also got similar errors during the test, but seemed to work fine
regardless... (Of course its not very optimal)

Best Regards,

Attila
On Mon, Apr 11, 2011 at 9:52 AM, Christophe Fergeau <cfergeau at redhat.com>wrote:

> 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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110411/4011ad10/attachment.htm>


More information about the Spice-devel mailing list