[Gstreamer-bugs] [Bug 131932] New - Solaris compilation errors with "__attribute__ ((__packed__))"
bugzilla-daemon at widget.gnome.org
bugzilla-daemon at widget.gnome.org
Mon Jan 19 07:27:56 PST 2004
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
http://bugzilla.gnome.org/show_bug.cgi?id=131932
Changed by david.hawthorne at sun.com.
--- shadow/131932 Mon Jan 19 10:27:56 2004
+++ shadow/131932.tmp.30006 Mon Jan 19 10:27:56 2004
@@ -0,0 +1,42 @@
+Bug#: 131932
+Product: GStreamer
+Version: 0.7.3
+OS: Linux
+OS Details: Solaris 9u4
+Status: NEW
+Resolution:
+Severity: normal
+Priority: Normal
+Component: gst-plugins
+AssignedTo: gstreamer-maint at bugzilla.gnome.org
+ReportedBy: david.hawthorne at sun.com
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL:
+Summary: Solaris compilation errors with "__attribute__ ((__packed__))"
+
+Compiling gst-plugins with forte on Solaris produces the following errors
+due to the following struct declaration:
+
+ cc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/gnome-2.4/include
+-I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -mt
+-I/opt/gnome-2.4/include/gstreamer-0.7 -I/opt/gnome-2.4/include/glib-2.0
+-I/opt/gnome-2.4/lib/glib-2.0/include -I/opt/gnome-2.4/include/libxml2
+-DGST_DISABLE_DEPRECATED -g -I/opt/gnome-2.4/include -c gstasfmux.c -KPIC
+-DPIC -o .libs/libgstasf_la-gstasfmux.o
+"asfheaders.h", line 153: syntax error before or at: (
+"asfheaders.h", line 153: warning: syntax error: empty declaration
+
+-------------------------------------------
+struct _asf_stream_video {
+ guint32 width;
+ guint32 height;
+ guint8 unknown;
+ guint16 size;
+} __attribute__ ((__packed__));
+/* the packed attribute is needed to prevent this thing
+ * from expanding 'unknown' to 16 bits */
+-------------------------------------------
+
+Commenting "__attribute__ ((__packed__))" temporarily fixes the problem. An
+alternative solution would be preferred.
More information about the Gstreamer-bugs
mailing list