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 <[EMAIL PROTECTED]> - w http://www.oclcpica.org/ http://guru.UnixLand.de/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to