[Bug 766475] New: #warning OMX_SKIP64BIT is not defined - this will be incompatible with the VC GPU code

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun May 15 13:33:36 UTC 2016


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

            Bug ID: 766475
           Summary: #warning OMX_SKIP64BIT is not defined - this will be
                    incompatible with the VC GPU code
    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: minfrin at sharp.fm
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

While building gstreamer-master on Rasbian Jesse with gst-omx master I am
getting warnings as follows, and some of the elements such as omxmpeg2videodec
are silently left unbuilt:

Making all in omx
make[2]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx/omx'
  CC       libgstomx_la-gstomx.lo
In file included from gstomx.h:48:0,
                 from gstomx.c:30:
/opt/vc/include/IL/OMX_Core.h:45:4: warning: #warning OMX_SKIP64BIT is not
defined - this will be incompatible with the VC GPU code. [-Wcpp]
   #warning OMX_SKIP64BIT is not defined - this will be incompatible with the
VC GPU code.
    ^

Adding -DOMX_SKIP64BIT to CFLAGS and trying to build again causes other parts
of the build to fail as follows:

When trying to build gst-omx with OMX_SKIP64BIT manually added via CFLAGS, the
build fails as follows:

pi at towerofpi7 ~/packages/gstreamer-master/gst-omx $ make
make all-recursive
make[1]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx'
Making all in common
make[2]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx/common'
Making all in m4
make[3]: Entering directory
'/home/pi/packages/gstreamer-master/gst-omx/common/m4'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory
'/home/pi/packages/gstreamer-master/gst-omx/common/m4'
make[3]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx/common'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/pi/packages/gstreamer-master/gst-omx/common'
make[2]: Leaving directory '/home/pi/packages/gstreamer-master/gst-omx/common'
Making all in omx
make[2]: Entering directory '/home/pi/packages/gstreamer-master/gst-omx/omx'
CC libgstomx_la-gstomxvideo.lo
gstomxvideo.c: In function 'gst_omx_video_find_nearest_frame':
gstomxvideo.c:175:7: error: incompatible type for argument 1 of
'gst_util_uint64_scale'
gst_util_uint64_scale (buf->omx_buf->nTimeStamp, GST_SECOND,
^
In file included from /usr/local/include/gstreamer-1.0/gst/gst.h:86:0,
from gstomxvideo.h:28,
from gstomxvideo.c:29:
/usr/local/include/gstreamer-1.0/gst/gstutils.h:67:17: note: expected 'guint64'
but argument is of type 'OMX_TICKS'
guint64 gst_util_uint64_scale (guint64 val, guint64 num, guint64 denom);
^
Makefile:704: recipe for target 'libgstomx_la-gstomxvideo.lo' failed
make[2]: *** [libgstomx_la-gstomxvideo.lo] Error 1
make[2]: Leaving directory '/home/pi/packages/gstreamer-master/gst-omx/omx'
Makefile:513: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/packages/gstreamer-master/gst-omx'
Makefile:444: recipe for target 'all' failed
make: *** [all] Error 2

Looks like we have a broken build on gst-omx master.

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