[Clfs-dev] CBLFS - query about pages Liba52 / DJBFFT
Andrew Rowland
weibullguy at charter.net
Sat Sep 13 18:52:55 PDT 2008
On Sun, 2008-09-14 at 11:24 +1000, db m wrote:
> Greets,
>
> In CBLFS, we list DJBFFT as an optional package to the Liba52 build.
>
> [ Note: I've not tested if liba52 benefits from djbfft routines or
> not. ]
>
>
> DJBFFT ;
>
> Following the instructions in CBLFS for this package results in ;
>
> /usr/lib{32, 64}/djbfft.a
>
> /usr/include/{complex4.h, fftc4.h, fftfreq.h, fftr8.h, real8.h,
> complex8.h, fftc8.h, fftr4.h, real4.h}
>
> According to the djbfft homepage, this perhaps would be in error (for
> the headers), quote;
>
> "Now you can use djbfft in your programs by compiling with
> -I/usr/local/djbfft/include
> and linking with /usr/local/djbfft/lib/djbfft.a."
>
> Perhaps the djbfft headers should be installed in
> '/usr/include/djbfft/' or such??
>
>
> At any rate.....
>
>
> Liba52 ;
>
> The configure option for liba52 to include djbfft support is ;
>
> --enable-djbfft
>
> ....how-so-ever, this will result in the liba52 build trying to link
> against the shared_lib target ;
>
> -ldjbftt
>
> ....which of course won't happen, as the djbfft build only results in
> the static_lib djbfft.a
>
>
> Now, I searched the tomes and came up with this wiki discussion about
> the
> so-called 'Bernstein controversy' ;
>
> http://en.wikipedia.org/wiki/Talk:FFTW
>
>
> This makes me question the appropriateness/correctness of including
> DJBFFT as being
> an 'optional' package to the Liba52 library build at all.
>
> Comments anyone?
Try the updated djbfft instructions. I just built a shared djbfft
library. liba52 built without error and the --enable-djbfft switch.
The resulting binary seems to use the djbfft library:
ldd src/a52dec
linux-vdso.so.1 => (0x00007fff4edfe000)
libdjbfft.so => /usr/lib64/libdjbfft.so (0x00002abf5bff1000)
libm.so.6 => /lib64/libm.so.6 (0x00002abf5c20a000)
libc.so.6 => /lib64/libc.so.6 (0x00002abf5c489000)
/lib64/ld-linux-x86-64.so.2 (0x00002abf5bdd5000)
>
/usr/include is a default location so putting the djbfft headers there
is OK unless they over write other headers of the same name.
> Regards,
>
> Don
>
>
> ______________________________________________________________________
> Enter today! Win a Hotmail Go-Kart to race at Bathurst.
> _______________________________________________
> Clfs-dev mailing list
> Clfs-dev at lists.cross-lfs.org
> http://lists.cross-lfs.org/listinfo.cgi/clfs-dev-cross-lfs.org
More information about the Clfs-dev
mailing list