[Bug 755754] New: videoaggregator doesn't compile with in openembedded dora (glib 2.36.4)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Sep 28 10:34:48 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=755754

            Bug ID: 755754
           Summary: videoaggregator doesn't compile with in openembedded
                    dora (glib 2.36.4)
    Classification: Platform
           Product: GStreamer
           Version: 1.6.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: fraxinas at opendreambox.org
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

hey Thiago, i discovered that the patch 
http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/gst-libs/gst/video/gstvideoaggregator.c?id=ba97ec74bedd3d8e910052d8345becc42ad75813
break crosscompilation of gst-plugins-bad 1.6.0 in our openembedded dora
environment. it probably happens in any environment using glib 2.36.4 and gcc
4.8.1, i haven't tested that.
it seems the use of the glib private macro _G_DEFINE_TYPE_EXTENDED_CLASS_INIT
is causing the build error

 mipsel-oe-linux-libtool: compile:  mipsel-oe-linux-gcc -mel -mabi=32
-mhard-float -march=mips32
--sysroot=/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080 -std=gnu99
-DHAVE_CONFIG_H -I. -I../../.. -DGST_USE_UNSTABLE_API -I../../../gst-libs
-I../../../gst-libs -pthread
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/gstreamer-1.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/gstreamer-1.0/include
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/glib-2.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/glib-2.0/include
-DGST_USE_UNSTABLE_API -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS
-DG_DISABLE_ASSERT -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wwrite-strings
-Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs
-Waddress -Wno-multichar -Wnested-externs
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/orc-0.4
-pthread
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/gstreamer-1.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/gstreamer-1.0/include
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/glib-2.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/glib-2.0/include
-pthread
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/gstreamer-1.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/gstreamer-1.0/include
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/include/glib-2.0
-I/dream/dora/build/dm7080/tmp-eglibc/sysroots/dm7080/usr/lib/glib-2.0/include
-O2 -pipe -g -feliminate-unused-debug-types -c gstvideoaggregator.c  -fPIC
-DPIC -o .libs/libgstbadvideo_1.0_la-gstvideoaggregator.o
| gstvideoaggregator.c:443:57: error: unknown type name 'gst_videoaggregator'
|  _G_DEFINE_TYPE_EXTENDED_CLASS_INIT (GstVideoAggregator,
gst_videoaggregator);
|                                                          ^
| gstvideoaggregator.c: In function 'gst_videoaggregator_get_type':
| gstvideoaggregator.c:459:26: error: 'gst_videoaggregator_class_intern_init'
undeclared (first use in this function)
|          (GClassInitFunc) gst_videoaggregator_class_intern_init,
|                           ^
| gstvideoaggregator.c:459:26: note: each undeclared identifier is reported
only once for each function it appears in
| gstvideoaggregator.c: At top level:
| gstvideoaggregator.c:2073:1: warning: 'gst_videoaggregator_class_init'
defined but not used [-Wunused-function]
|  gst_videoaggregator_class_init (GstVideoAggregatorClass * klass)
|  ^
| Makefile:812: recipe for target 'libgstbadvideo_1.0_la-gstvideoaggregator.lo'
failed
| make[4]: *** [libgstbadvideo_1.0_la-gstvideoaggregator.lo] Error 1

when reverting the commit, build proceeds

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list