GNOME Bugzilla – Bug 93243
Build fails with aalib and flac
Last modified: 2009-08-15 18:40:50 UTC
versions : flac 1.0.3 aalib 1.4_rc4 will fail to link/work in gst-plugins, they are currently disabled in Gentoo.
I am using RC5 of aalib under redhat and that works fine. I don't have flac installed but the GStreamer developers using 1.0.3 under debian says it works fine there. Sure this isn't gentoo problems?
Please provide usable debug output. What fails exactly, maybe output of config.log, whatever that might help.
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -c gstflacenc.c -MT libgstflac_la-gstflacenc.lo -MD -MP -MF .deps/libgstflac_la-gstflacenc.TPlo -fPIC -DPIC -o libgstflac_la-gstflacenc.lo cc1: warnings being treated as errors gstflacenc.c:59: warning: type defaults to `int' in declaration of `FLAC__StreamMetaData' gstflacenc.c:59: parse error before '*' token gstflacenc.c:173: warning: type defaults to `int' in declaration of `FLAC__StreamMetaData' gstflacenc.c:173: parse error before '*' token gstflacenc.c: In function `gst_flacenc_metadata_callback': gstflacenc.c:178: `client_data' undeclared (first use in this function) gstflacenc.c:178: (Each undeclared identifier is reported only once gstflacenc.c:178: for each function it appears in.) gstflacenc.c:184: `metadata' undeclared (first use in this function) make[3]: *** [libgstflac_la-gstflacenc.lo] Error 1 make[3]: Leaving directory `/mnt/reiser/portage/gst-plugins-0.4.0-r2/work/gst-plugins-0.4.0/ext/flac' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/reiser/portage/gst-plugins-0.4.0-r2/work/gst-plugins-0.4.0/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/reiser/portage/gst-plugins-0.4.0-r2/work/gst-plugins-0.4.0' make: *** [all] Error 2
Hope this is enough
Works here (gstreaner 0.4.1, Gentoo 1.4RC1). I don't have aalib, because it causes some problems.
make[3]: Entering directory `/mnt/build/portage/gst-plugins-0.4.1/work/gst-plugins-0.4.1/ext/aalib' source='gstaasink.c' object='libgstaasink_la-gstaasink.lo' libtool=yes \ depfile='.deps/libgstaasink_la-gstaasink.Plo' tmpdepfile='.deps/libgstaasink_la-gstaasink.TPlo' \ depmode=gcc3 /bin/sh ../../depcomp \ /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/usr/include -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -c -o libgstaasink_la-gstaasink.lo `test -f 'gstaasink.c' || echo './'`gstaasink.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gstreamer-0.4.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/usr/include -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -c gstaasink.c -MT libgstaasink_la-gstaasink.lo -MD -MP -MF .deps/libgstaasink_la-gstaasink.TPlo -fPIC -DPIC -o libgstaasink_la-gstaasink.lo cc1: changing search order for system directory "/usr/include" cc1: as it has already been specified as a non-system directory make[3]: *** [libgstaasink_la-gstaasink.lo] Error 1 make[3]: Leaving directory `/mnt/build/portage/gst-plugins-0.4.1/work/gst-plugins-0.4.1/ext/aalib' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/build/portage/gst-plugins-0.4.1/work/gst-plugins-0.4.1/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/build/portage/gst-plugins-0.4.1/work/gst-plugins-0.4.1' make: *** [all] Error 2 gstreamer 0.4.1 gst-plugins 0.4.1 aalib 1.4_rc4
the aalib problem is a gcc problem, it's not a problem in the release because that has -Werror disabled. The FLAC problem should be fixed in the release as well, can you try it ?
nothing heard. assume fixed. closing