[gst-devel] compile failed with gst-plugin-base

Christian Fredrik Kalager Schaller uraeus at linuxrising.org
Wed May 11 04:28:18 CEST 2005

Hi Lipeng,
Go into configure.ac and comment out these three lines:
#  if test "x$GST_CVS" = "xyes"; then 
#  fi

That will make warnings not be treated as errors and you should be able
to compile. Work is being done to prune all the new warnings we are
getting with GCC4 from our cvs modules, but we are no there yet.


On Wed, 2005-05-11 at 09:36 +0800, lipeng wrote:
> I checked out gstreamer-0.9 and gst-plugin-base from cvs and tried to compile them, gstreamer is OK, but gst-plugin-base failed with the error message below:
> Making all in subparse
> make[3]: Entering directory `/root/gstreamer/src/gst-plugins-base/gst/subparse'
> if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..    -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/root/gstreamer/src/gstreamer-cvs/pkgconfig/.. -I/root/gstreamer/src/gstreamer-cvs/pkgconfig/../libs -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -DGST_DISABLE_DEPRECATED  -Wall -Werror -g -O2 -MT libgstsubparse_la-gstsubparse.lo -MD -MP -MF ".deps/libgstsubparse_la-gstsubparse.Tpo" \
>   -c -o libgstsubparse_la-gstsubparse.lo `test -f 'gstsubparse.c' || echo './'`gstsubparse.c; \
> then mv -f ".deps/libgstsubparse_la-gstsubparse.Tpo" ".deps/libgstsubparse_la-gstsubparse.Plo"; \
> else rm -f ".deps/libgstsubparse_la-gstsubparse.Tpo"; exit 1; \
> fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/root/gstreamer/src/gstreamer-cvs/pkgconfig/.. -I/root/gstreamer/src/gstreamer-cvs/pkgconfig/../libs -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -Werror -g -O2 -MT libgstsubparse_la-gstsubparse.lo -MD -MP -MF .deps/libgstsubparse_la-gstsubparse.Tpo -c gstsubparse.c  -fPIC -DPIC -o .libs/libgstsubparse_la-gstsubparse.o
> cc1: warnings being treated as errors
> gstsubparse.c: In function `parse_subrip':
> gstsubparse.c:383: warning: control reaches end of non-void function
> make[3]: *** [libgstsubparse_la-gstsubparse.lo] Error 1
> make[3]: Leaving directory `/root/gstreamer/src/gst-plugins-base/gst/subparse'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/gstreamer/src/gst-plugins-base/gst'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/gstreamer/src/gst-plugins-base'
> make: *** [all] Error 2
> NHS^甸X'u%y*Zq浒yl旦

More information about the gstreamer-devel mailing list