[Bug 776363] New: gst-omx fails to build with bellagio and generic targets

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Dec 22 00:07:10 UTC 2016


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

            Bug ID: 776363
           Summary: gst-omx fails to build with bellagio and generic
                    targets
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-omx
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: reynaldo at osg.samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

This is on my uninstalled environment but that shouldn't be
relevant. I've got Bellagio (0.9.3) installed system-wide
and building is failing after configure succeeds with
--with-omx-target=bellagio and/or generic. Problem is
gstomx.h's unconditional dependency on Bellagio-undefined
OMX_VERSION_MAJOR/MINOR macros leading to:

[..]
gstomxvideodec.c: In function ‘gst_omx_video_dec_open’:
gstomx.h:73:36: error: ‘OMX_VERSION_MAJOR’ undeclared (first use in this
function)
   (st)->nVersion.s.nVersionMajor = OMX_VERSION_MAJOR; \
                                    ^
gstomxvideodec.c:178:5: note: in expansion of macro ‘GST_OMX_INIT_STRUCT’
     GST_OMX_INIT_STRUCT (&param);
     ^~~~~~~~~~~~~~~~~~~
gstomx.h:73:36: note: each undeclared identifier is reported only once for each
function it appears in
   (st)->nVersion.s.nVersionMajor = OMX_VERSION_MAJOR; \
                                    ^
gstomxvideodec.c:178:5: note: in expansion of macro ‘GST_OMX_INIT_STRUCT’
     GST_OMX_INIT_STRUCT (&param);
     ^~~~~~~~~~~~~~~~~~~
[..]

The OMX_Types.h header shipped with my Bellagio install has
1.1.2 as version: OpenMax IL version 1.1.2

Short of conditionally defining the missing macros to
something that makes sense, I don't see any other solution
up-front but I will take a look latter if no one beats me
to it.

-- 
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