GNOME Bugzilla – Bug 582259
Problem with Gconf headers with
Last modified: 2009-08-10 23:10:44 UTC
I just tried building gst-plugins-good with GConf 2.26.1, after updating to GStreamer/gst-plugins-base version 0.10.23. I now find this error when building the code in the ext/gconf directory. The attached patch fixes this problem. /opt/SUNWspro/bin/cc -DHAVE_CONFIG_H -I. -I../.. -I../../gst-libs -I../../gst-libs -D_REENTRANT -D_PTHREADS -I/export/home/brianca/packages/BUILD/SUNWgnome-media-2.26.1/gstreamer-0.10.23/pkgconfig/.. -I./.. -I/export/home/brianca/packages/BUILD/SUNWgnome-media-2.26.1/gstreamer-0.10.23/pkgconfig/../libs -I./../libs -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -DORBIT2=1 -D_REENTRANT -D_PTHREADS -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGST_GCONF_DIR=\"/system/gstreamer/0.10\" -i -xO4 -xspace -xstrconst -xpentium -mr -xregs=no%frameptr -I/usr/sfw/include -DANSICPP -c gstgconfaudiosink.c -KPIC -DPIC -o .libs/libgstgconfelements_la-gstgconfaudiosink.o "/usr/include/gconf/2/gconf/gconf-changeset.h", line 41: syntax error before or at: GConfValue "/usr/include/gconf/2/gconf/gconf-changeset.h", line 44: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-changeset.h", line 55: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-changeset.h", line 61: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-changeset.h", line 65: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-changeset.h", line 94: syntax error before or at: GConfValue "/usr/include/gconf/2/gconf/gconf-changeset.h", line 97: syntax error before or at: GConfValue "/usr/include/gconf/2/gconf/gconf-changeset.h", line 100: syntax error before or at: GConfValue "/usr/include/gconf/2/gconf/gconf-changeset.h", line 117: syntax error before or at: GConfSchema "/usr/include/gconf/2/gconf/gconf-changeset.h", line 120: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-changeset.h", line 124: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-client.h", line 76: syntax error before or at: GConfEntry "/usr/include/gconf/2/gconf/gconf-client.h", line 95: syntax error before or at: GConfEngine "/usr/include/gconf/2/gconf/gconf-client.h", line 119: syntax error before or at: GConfValue "/usr/include/gconf/2/gconf/gconf-client.h", line 152: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 236: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 239: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 243: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 247: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 253: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 262: syntax error before or at: GConfUnsetFlags "/usr/include/gconf/2/gconf/gconf-client.h", line 301: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 305: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-client.h", line 308: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-client.h", line 331: syntax error before or at: * "/usr/include/gconf/2/gconf/gconf-client.h", line 335: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-client.h", line 340: syntax error before or at: GConfValueType "/usr/include/gconf/2/gconf/gconf-client.h", line 356: syntax error before or at: GConfValue "gstgconfaudiosink.c", line 46: syntax error before or at: GConfEntry "gstgconfaudiosink.c", line 46: warning: undefined or missing type for: GConfEntry "gstgconfaudiosink.c", line 46: warning: undefined or missing type for: gpointer "gstgconfaudiosink.c", line 60: warning: syntax error: empty declaration "gstgconfaudiosink.c", line 276: syntax error before or at: GConfEntry "gstgconfaudiosink.c", line 276: warning: undefined or missing type for: GConfEntry "gstgconfaudiosink.c", line 276: warning: undefined or missing type for: gpointer "gstgconfaudiosink.c", line 278: undefined symbol: data cc: acomp failed for gstgconfaudiosink.c
Created attachment 134459 [details] [review] patch fixing error
This should already be fixed differently in GIT and 0.10.14.2... could you check if it works for you? :) This is the relevant changeset: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=5da35b1ee243f25c17dc9a5350ce6b56ed174031
Yes, just tested with the code in GIT master, and it compiles okay.