[gstreamer-bugs] [Bug 576499] New: gst-openmax does not buld
bugzilla-daemon at bugzilla.gnome.org
Mon Mar 23 15:31:54 PDT 2009
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
GStreamer | gst-openmax | Ver: 0.10.21
Summary: gst-openmax does not buld
AssignedTo: felipe.contreras at nokia.com
ReportedBy: don.osc2 at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Please describe the problem:
gst-openmax uses the -Werror option by default, which causes the build to fail
even if there are build warnings. There are several warnings that cause the
build to fail, all of which fall under one of these two categories:
1) Failure to include <stdlib.h> and using calloc or free.
2) Using the incorrect printf format specifier (%lu for a guint, %d for a long
Steps to reproduce:
These are common warnings found with -Wall (which is also on by default for
gst-openmax). I would expect that this problem is easily reproducable by most
gcc compilers. In my case, I'm using the MontaVista Pro 5.00 compiler, which
is based on gcc 4.2.0.
During a typical build, I see the errors below. No fancy configure options
other than --prefix are used:
gstomx_base_videodec.c:111: warning: implicit declaration of function 'calloc'
gstomx_base_filter.c:387: warning: format '%d' expects type 'int', but argument
8 has type 'OMX_U32'
And many more like this.
I would expect that the build does not fail. Minimally, developers shouldn't
be using -Werror if there are still build warnings.
Does this happen every time?
I have a patch that fixes the build issue, but don't see a place to attach it
on this submission screen.
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=576499.
More information about the Gstreamer-bugs