[gst-devel] Build tests on fedora
Bastien Nocera
hadess at hadess.net
Sun Nov 23 12:38:04 CET 2003
On Sun, 2003-11-23 at 19:40, Christian Schaller wrote:
> Hi,
> When trying to build gst-plugins it seems build tests that are not
> pkgconfig based fails. I first noticed it when trying to figure out why
> the mad plugin wasn't built (it reverts to non-pkgconfig if something is
> missing).
>
> Then trying to get our faad plugin runnign I get the following:
>
> configure:30764: checking for faacDecOpen in -lfaad
> configure:30795: gcc -o conftest -g -O2 conftest.c -lfaad >&5
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfaad.so: undefined
> reference to `log'
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfaad.so: undefined
> reference to `sqrt'
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfaad.so: undefined
> reference to `cos'
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfaad.so: undefined
> reference to `sin'
> /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../libfaad.so: undefined
> reference to `pow'
> collect2: ld returned 1 exit status
> configure:30798: $? = 1
> configure: failed program was:
> | #line 30771 "configure"
> | /* confdefs.h. */
> |
> | #define PACKAGE_NAME ""
Looks like your libfaad.so isn't linked to the maths library. Mine isn't
either...
$ ldd /usr/lib/libfaad.so.0.0.0
libc.so.6 => /lib/tls/libc.so.6 (0x0060e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x005f6000)
That's a bug in libfaad, or the package itself.
CFLAGS="$CFLAGS -lm" before the test in configure.ac should fix it.
---
Bastien Nocera <hadess at hadess.net>
McMurphy fell 12 stories, hitting the pavement like a paper bag filled
with vegetable soup.
More information about the gstreamer-devel
mailing list