Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 May 2006 09:11:45 +0200
From:      m.apitz@oclcpica.org
To:        lioux@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: port of ogle-0.9.2 in 6.1-RELEASE
Message-ID:  <20060524071145.GA1623@rebelion.Sisis.de>
In-Reply-To: <20060523130519.GA8359@rebelion.Sisis.de>
References:  <20060523130519.GA8359@rebelion.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, May 23, 2006 a las 03:05:19PM +0200, guru escribió:

> 
> Hello,
> 
> I send this information to you as the maintainer of this port.
> While installing the above port it fails with:
> 
> 	...
> checking for a52_free in -la52-devel ... no
> checking for a52_init in -la52-devel ... no
> configure: error: Need liba52, install a52dec or specify it's location
> ===>  Script "configure" failed unexpectedly.
> 
> the problem from /usr/ports/multimedia/ogle/work/ogle-0.9.2/config.log
> is:
> 
> configure:12292: checking for a52_free in -la52-devel
> configure:12325: cc -o conftest -L/usr/local/lib  -I/usr/local/include  conftest
> .c -la52-devel  -L/usr/local/lib -lm  >&5 
> /usr/local/lib/liba52-devel.so: undefined reference to `fftc4_un64'
> /usr/local/lib/liba52-devel.so: undefined reference to `fftc4_un128'
	...

I've looked deeper into the problem and it turned out that
the unresolved references in liba52-devel.so are coming from
FFMpeg-2005112800/libavcodec/liba52/imdct.c where the code reads:

    #ifdef LIBA52_DJBFFT
    if (mm_accel & MM_ACCEL_DJBFFT) {
        ifft128 = (void (*) (complex_t *)) fftc4_un128;
        ifft64 = (void (*) (complex_t *)) fftc4_un64;
    } else
    #endif

and after re-building the port /usr/ports/audio/liba52-devel with
'make WITHOUT_DJBFFT=yes install' the problem in the the port
/usr/ports/multimedia/ogle went away and ogle installs fine.

	matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <m.apitz@oclcpica.org> - w http://www.oclcpica.org/ http://guru.UnixLand.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060524071145.GA1623>