After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 430594 - Unable to compile gst-plugins-bad CVS
Unable to compile gst-plugins-bad CVS
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal blocker
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-17 09:04 UTC by Laurent Glayal
Modified: 2007-04-17 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Laurent Glayal 2007-04-17 09:04:45 UTC
Hi,
Compilation failed with CVS revision of gst-plugins-bad, but gstreamer, gst-plugins-good, gst-plugins-base works fine ::
make[2]: Entering directory `/ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst'
Making all in app
make[3]: Entering directory `/ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst/app'
if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/X11R6/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -Wall -Werror  -g   -DGST_DISABLE_DEPRECATED -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   ../../gst-libs/ -g -O2  -I/usr/X11R6/include -MT libgstapp_la-gstapp.lo -MD -MP -MF ".deps/libgstapp_la-gstapp.Tpo" -c -o libgstapp_la-gstapp.lo `test -f 'gstapp.c' || echo './'`gstapp.c; \
then mv -f ".deps/libgstapp_la-gstapp.Tpo" ".deps/libgstapp_la-gstapp.Plo"; else rm -f ".deps/libgstapp_la-gstapp.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include -I../../gst-libs -I../../gst-libs -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -Werror -g -DGST_DISABLE_DEPRECATED -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/Binaires//include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 ../../gst-libs/ -g -O2 -I/usr/X11R6/include -MT libgstapp_la-gstapp.lo -MD -MP -MF .deps/libgstapp_la-gstapp.Tpo -c gstapp.c  -fPIC -DPIC -o .libs/libgstapp_la-gstapp.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[3]: *** [libgstapp_la-gstapp.lo] Error 1
make[3]: Leaving directory `/ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst/app'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad'
make: *** [all] Error 2
[lglayal@heineken /usr/audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad]$gcc --version
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards.
Comment 1 Laurent Glayal 2007-04-17 11:01:41 UTC
Missing flag for compilation in Makefile.am, the following
modification applied everithing works fine.

[lglayal@heineken /ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst/app]$cvs diff Makefile.am
Index: Makefile.am
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-bad/gst/app/Makefile.am,v
retrieving revision 1.2
diff -r1.2 Makefile.am
6c6
<       $(top_srcdir)/gst-libs/
---
>       -I$(top_srcdir)/gst-libs/
[lglayal@heineken /ssa_u1/usr_audio/dev/User/lglayal/GStreamer/Revision_Avril2007/gst-plugins-bad/gst/app]$

Regards.
Comment 2 Tim-Philipp Müller 2007-04-17 11:03:50 UTC
Should be fixed now, please re-open if not:

 2007-04-17  Tim-Philipp Müller  <tim at centricular dot net>
 
       * gst/app/Makefile.am:
         Fix CFLAGS and hopefully #430594.

(it should have been -I$(top_srcdir)/gst-libs/ instead of just $(top_srcdir)/gst-libs/, but since it's already contained in GST_CFLAGS we can just as well remove it)

Comment 3 Laurent Glayal 2007-04-17 11:44:06 UTC
Works fine,
thank you.