gst-omx: #warning OMX_SKIP64BIT is not defined - this will be incompatible with the VC GPU code. [-Wcpp]

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-omx: #warning OMX_SKIP64BIT is not defined - this will be incompatible with the VC GPU code. [-Wcpp]

Graham Leggett
Hi all,

While building gstreamer-master on a Rasbian Jesse RPI3 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 causes other parts of the build to fail.

The libav people discussed the issue in the following thread but it didn’t seem there was a clear solution that could be applied to gstreamer:

https://lists.libav.org/pipermail/libav-devel/2016-April/076050.html

Can anyone confirm what you need to do to make gst-omx work on the RPI3?

Regards,
Graham


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst-omx: #warning OMX_SKIP64BIT is not defined - this will be incompatible with the VC GPU code. [-Wcpp]

Sebastian Dröge-3
On Do, 2016-05-12 at 15:47 +0200, Graham Leggett wrote:

> Hi all,
>
> While building gstreamer-master on a Rasbian Jesse RPI3 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 causes other parts of the build to
> fail.
How does it fail? The warnings should not cause elements to be not
built though. Does omxh264dec work for you when building with the
warnings?

> The libav people discussed the issue in the following thread but it
> didn’t seem there was a clear solution that could be applied to
> gstreamer:
>
> https://lists.libav.org/pipermail/libav-devel/2016-April/076050.html
>
> Can anyone confirm what you need to do to make gst-omx work on the
> RPI3?

Can you report a bug about this at
  https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (968 bytes) Download Attachment