[gstreamer-bugs] [Bug 598526] New: git do not compile
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Oct 15 02:53:54 PDT 2009
https://bugzilla.gnome.org/show_bug.cgi?id=598526
GStreamer | gstreamer (core) | git
Summary: git do not compile
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: polto at alsenet.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
I got this error compiling gstreamer from git:
CC gstbytewriter.o
cc1: warnings being treated as errors
gstbytewriter.c: In function ‘gst_byte_writer_put_float64_le’:
gstbytewriter.c:474: warning: passing argument 1 of ‘GST_WRITE_DOUBLE_LE’
discards qualifiers from pointer target type
make[4]: *** [libgstbase_0.10_la-gstbytewriter.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
after changing line 445 as suggested by slomo
"(guint8 *) &writer->parent.data[writer->parent.byte]"
to
"((guint8 *) &writer->parent.data[writer->parent.byte])"
I got:
CC gstbytewriter.o
gstbytewriter.c:452:1: error: macro "GST_WRITE_UINT8" requires 2 arguments, but
only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint8’:
gstbytewriter.c:452: error: ‘GST_WRITE_UINT8’ undeclared (first use in this
function)
gstbytewriter.c:452: error: (Each undeclared identifier is reported only once
gstbytewriter.c:452: error: for each function it appears in.)
cc1: warnings being treated as errors
gstbytewriter.c:452: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:452: warning: statement with no effect
gstbytewriter.c:452: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:452: error: expected statement before ‘)’ token
gstbytewriter.c:453:1: error: macro "GST_WRITE_UINT8" requires 2 arguments, but
only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int8’:
gstbytewriter.c:453: error: ‘GST_WRITE_UINT8’ undeclared (first use in this
function)
gstbytewriter.c:453: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:453: warning: statement with no effect
gstbytewriter.c:453: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:453: error: expected statement before ‘)’ token
gstbytewriter.c:454:1: error: macro "GST_WRITE_UINT16_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint16_le’:
gstbytewriter.c:454: error: ‘GST_WRITE_UINT16_LE’ undeclared (first use in this
function)
gstbytewriter.c:454: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:454: warning: statement with no effect
gstbytewriter.c:454: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:454: error: expected statement before ‘)’ token
gstbytewriter.c:455:1: error: macro "GST_WRITE_UINT16_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint16_be’:
gstbytewriter.c:455: error: ‘GST_WRITE_UINT16_BE’ undeclared (first use in this
function)
gstbytewriter.c:455: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:455: warning: statement with no effect
gstbytewriter.c:455: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:455: error: expected statement before ‘)’ token
gstbytewriter.c:456:1: error: macro "GST_WRITE_UINT16_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int16_le’:
gstbytewriter.c:456: error: ‘GST_WRITE_UINT16_LE’ undeclared (first use in this
function)
gstbytewriter.c:456: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:456: warning: statement with no effect
gstbytewriter.c:456: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:456: error: expected statement before ‘)’ token
gstbytewriter.c:457:1: error: macro "GST_WRITE_UINT16_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int16_be’:
gstbytewriter.c:457: error: ‘GST_WRITE_UINT16_BE’ undeclared (first use in this
function)
gstbytewriter.c:457: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:457: warning: statement with no effect
gstbytewriter.c:457: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:457: error: expected statement before ‘)’ token
gstbytewriter.c:458:1: error: macro "GST_WRITE_UINT24_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint24_le’:
gstbytewriter.c:458: error: ‘GST_WRITE_UINT24_LE’ undeclared (first use in this
function)
gstbytewriter.c:458: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:458: warning: statement with no effect
gstbytewriter.c:458: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:458: error: expected statement before ‘)’ token
gstbytewriter.c:459:1: error: macro "GST_WRITE_UINT24_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint24_be’:
gstbytewriter.c:459: error: ‘GST_WRITE_UINT24_BE’ undeclared (first use in this
function)
gstbytewriter.c:459: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:459: warning: statement with no effect
gstbytewriter.c:459: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:459: error: expected statement before ‘)’ token
gstbytewriter.c:460:1: error: macro "GST_WRITE_UINT24_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int24_le’:
gstbytewriter.c:460: error: ‘GST_WRITE_UINT24_LE’ undeclared (first use in this
function)
gstbytewriter.c:460: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:460: warning: statement with no effect
gstbytewriter.c:460: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:460: error: expected statement before ‘)’ token
gstbytewriter.c:461:1: error: macro "GST_WRITE_UINT24_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int24_be’:
gstbytewriter.c:461: error: ‘GST_WRITE_UINT24_BE’ undeclared (first use in this
function)
gstbytewriter.c:461: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:461: warning: statement with no effect
gstbytewriter.c:461: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:461: error: expected statement before ‘)’ token
gstbytewriter.c:462:1: error: macro "GST_WRITE_UINT32_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint32_le’:
gstbytewriter.c:462: error: ‘GST_WRITE_UINT32_LE’ undeclared (first use in this
function)
gstbytewriter.c:462: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:462: warning: statement with no effect
gstbytewriter.c:462: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:462: error: expected statement before ‘)’ token
gstbytewriter.c:463:1: error: macro "GST_WRITE_UINT32_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint32_be’:
gstbytewriter.c:463: error: ‘GST_WRITE_UINT32_BE’ undeclared (first use in this
function)
gstbytewriter.c:463: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:463: warning: statement with no effect
gstbytewriter.c:463: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:463: error: expected statement before ‘)’ token
gstbytewriter.c:464:1: error: macro "GST_WRITE_UINT32_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int32_le’:
gstbytewriter.c:464: error: ‘GST_WRITE_UINT32_LE’ undeclared (first use in this
function)
gstbytewriter.c:464: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:464: warning: statement with no effect
gstbytewriter.c:464: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:464: error: expected statement before ‘)’ token
gstbytewriter.c:465:1: error: macro "GST_WRITE_UINT32_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int32_be’:
gstbytewriter.c:465: error: ‘GST_WRITE_UINT32_BE’ undeclared (first use in this
function)
gstbytewriter.c:465: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:465: warning: statement with no effect
gstbytewriter.c:465: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:465: error: expected statement before ‘)’ token
gstbytewriter.c:466:1: error: macro "GST_WRITE_UINT64_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint64_le’:
gstbytewriter.c:466: error: ‘GST_WRITE_UINT64_LE’ undeclared (first use in this
function)
gstbytewriter.c:466: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:466: warning: statement with no effect
gstbytewriter.c:466: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:466: error: expected statement before ‘)’ token
gstbytewriter.c:467:1: error: macro "GST_WRITE_UINT64_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_uint64_be’:
gstbytewriter.c:467: error: ‘GST_WRITE_UINT64_BE’ undeclared (first use in this
function)
gstbytewriter.c:467: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:467: warning: statement with no effect
gstbytewriter.c:467: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:467: error: expected statement before ‘)’ token
gstbytewriter.c:468:1: error: macro "GST_WRITE_UINT64_LE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int64_le’:
gstbytewriter.c:468: error: ‘GST_WRITE_UINT64_LE’ undeclared (first use in this
function)
gstbytewriter.c:468: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:468: warning: statement with no effect
gstbytewriter.c:468: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:468: error: expected statement before ‘)’ token
gstbytewriter.c:469:1: error: macro "GST_WRITE_UINT64_BE" requires 2 arguments,
but only 1 given
gstbytewriter.c: In function ‘gst_byte_writer_put_int64_be’:
gstbytewriter.c:469: error: ‘GST_WRITE_UINT64_BE’ undeclared (first use in this
function)
gstbytewriter.c:469: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:469: warning: statement with no effect
gstbytewriter.c:469: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:469: error: expected statement before ‘)’ token
gstbytewriter.c: In function ‘gst_byte_writer_put_float32_be’:
gstbytewriter.c:471: error: too few arguments to function ‘GST_WRITE_FLOAT_BE’
gstbytewriter.c:471: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:471: warning: statement with no effect
gstbytewriter.c:471: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:471: error: expected statement before ‘)’ token
gstbytewriter.c: In function ‘gst_byte_writer_put_float32_le’:
gstbytewriter.c:472: error: too few arguments to function ‘GST_WRITE_FLOAT_LE’
gstbytewriter.c:472: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:472: warning: statement with no effect
gstbytewriter.c:472: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:472: error: expected statement before ‘)’ token
gstbytewriter.c: In function ‘gst_byte_writer_put_float64_be’:
gstbytewriter.c:473: error: too few arguments to function ‘GST_WRITE_DOUBLE_BE’
gstbytewriter.c:473: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:473: warning: statement with no effect
gstbytewriter.c:473: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:473: error: expected statement before ‘)’ token
gstbytewriter.c: In function ‘gst_byte_writer_put_float64_le’:
gstbytewriter.c:474: error: too few arguments to function ‘GST_WRITE_DOUBLE_LE’
gstbytewriter.c:474: warning: left-hand operand of comma expression has no
effect
gstbytewriter.c:474: warning: statement with no effect
gstbytewriter.c:474: error: expected ‘;’ before ‘)’ token
gstbytewriter.c:474: error: expected statement before ‘)’ token
make[4]: *** [libgstbase_0.10_la-gstbytewriter.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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