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

Christophe Fergeau cfergeau at redhat.com
Wed Apr 13 01:24:09 PDT 2011


Hi Cliff,

On Tue, Apr 12, 2011 at 04:25:14PM -0500, Cliff Sharp wrote:
> I would like to try your following suggestion next. But I don't quite understand.

I'm not sure what you didn't understand since you didn't explicit it,
I'll show you how I'd change the Makefile.am, let me know if this is
something else that you needed help with.

> 
> 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.

See below to see where I'd put this line in Makefile.am. After that,
rerun autoreconf -fi from the top level source directory, and then
configure as usual (I hope you'll have the needed dependencies to
regenerate this configure file :-/ )

Hope that helps,

Christophe

> 
> _________________ tests/Makefile.am
> INCLUDES = -I$(top_srcdir)/libcelt
> METASOURCES = AUTO
> 
> TESTS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test
> 
> noinst_PROGRAMS = type-test ectest cwrs32-test real-fft-test dft-test laplace-test mdct-test mathops-test
> 
> type_test_SOURCES = type-test.c
> ectest_SOURCES = ectest.c

ectest_LDADD = $(top_builddir)/libcelt/libcelt at PACKAGE_APPEND@.la

> cwrs32_test_SOURCES = cwrs32-test.c
> real_fft_test_SOURCES = real-fft-test.c
> dft_test_SOURCES = dft-test.c
> laplace_test_SOURCES = laplace-test.c
> mdct_test_SOURCES = mdct-test.c
> #rotation_test_SOURCES = rotation-test.c
> mathops_test_SOURCES = mathops-test.c
> 
> _______________________
> 
> 
> And BTW - this has been very helpful.
> 
> 
> On Apr 11, 2011, at 3:15 AM, Christophe Fergeau wrote:
> 
> > On Mon, Apr 11, 2011 at 09:57:24AM +0200, Attila Sukosd wrote:
> >> I've also got similar errors during the test, but seemed to work fine
> >> regardless... (Of course its not very optimal)
> > 
> > I indeed forgot to mention that since the error happens in the tests/
> > directory, one can just ignore it (for example by editing the main
> > Makefile by hand and remove the tests/ subdirectory from it).
> > 
> > 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/20110413/0b1b18b9/attachment.pgp>


More information about the Spice-devel mailing list