Bug 32878 - ‘DBusMessage_Class’ does not name a type
Summary: ‘DBusMessage_Class’ does not name a type
Status: RESOLVED NOTOURBUG
Alias: None
Product: dbus
Classification: Unclassified
Component: GLib (show other bugs)
Version: 1.4.x
Hardware: x86 (IA32) Linux (All)
: medium blocker
Assignee: Rob Taylor
QA Contact: John (J5) Palmieri
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-06 09:56 UTC by kuh3h3
Modified: 2011-01-10 07:05 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description kuh3h3 2011-01-06 09:56:47 UTC
i tried to compile bmpx on ubuntu natty 11.04.
but failed.

i686-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..    -I/usr/include/alsa   -I/usr/include   -pthread -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   -pthread -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2     -pthread -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/freetype2   -pthread -I/usr/include/libsexymm -I/usr/lib/libsexymm/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include   -pthread -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/include/taglib   -I/usr/include/libxml2   -I.. -I../libhal++ -I../include -I../include -D__USE_POSIX199309 -D_XOPEN_SOURCE=600  -I/usr/include/startup-notification-1.0   -pthread -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/   -pthread -I/usr/include/libglademm-2.4 -I/usr/lib/libglademm-2.4/include -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/libglade-2.0 -I/usr/include/atkmm-1.6 -I/usr/include/giomm-2.4 -I/usr/lib/giomm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/lib/pangomm-1.4/include -I/usr/include/gtk-2.0 -I/usr/include/gtk-unix-print-2.0 -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/atk-1.0 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/lib/gtk-2.0/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/libxml2   -pthread -I/usr/include/cairomm-1.0 -I/usr/lib/cairomm-1.0/include -I/usr/include/cairo -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12    -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include   -g -O2  -fno-strict-aliasing -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -MT bmp2_bin-core.o -MD -MP -MF .deps/bmp2_bin-core.Tpo -c -o bmp2_bin-core.o `test -f 'core.cc' || echo './'`core.cc
In file included from /usr/include/giomm-2.4/giomm/dbusconnection.h:34,
                 from /usr/include/giomm-2.4/giomm/dbusaddress.h:28,
                 from /usr/include/giomm-2.4/giomm.h:34,
                 from /usr/include/gtkmm-2.4/gtkmm.h:88,
                 from ../mcs/gtk-bind.h:14,
                 from ../mcs/mcs.h:33,
                 from main.hh:32,
                 from core.cc:37:
/usr/include/giomm-2.4/giomm/dbusmessage.h:51: error: expected identifier before numeric constant
/usr/include/giomm-2.4/giomm/dbusmessage.h:51: error: expected ‘}’ before numeric constant
/usr/include/giomm-2.4/giomm/dbusmessage.h:51: error: expected unqualified-id before numeric constant
/usr/include/giomm-2.4/giomm/dbusmessage.h:187: error: ‘DBusMessage_Class’ does not name a type
In file included from /usr/include/giomm-2.4/giomm/dbusconnection.h:34,
                 from /usr/include/giomm-2.4/giomm/dbusaddress.h:28,
                 from /usr/include/giomm-2.4/giomm.h:34,
                 from /usr/include/gtkmm-2.4/gtkmm.h:88,
                 from ../mcs/gtk-bind.h:14,
                 from ../mcs/mcs.h:33,
                 from main.hh:32,
                 from core.cc:37:

/usr/include/giomm-2.4/giomm/dbusmessage.h:353: error: ‘DBusMessageType’ does not name a type
/usr/include/giomm-2.4/giomm/dbusmessage.h:360: error: ‘DBusMessageType’ has not been declared
/usr/include/giomm-2.4/giomm/dbusmessage.h:707: error: expected declaration before ‘}’ token
make[4]: *** [bmp2_bin-core.o] error 1
make[4]: Leaving directory `/media/sdc1/bmpx-0.40.14/src'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/media/sdc1/bmpx-0.40.14/src'
make[2]: *** [all] error 2
make[2]: Leaving directory `/media/sdc1/bmpx-0.40.14/src'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/media/sdc1/bmpx-0.40.14'
make: *** [all] error 2
Comment 1 Simon McVittie 2011-01-10 07:05:12 UTC
You don't seem to be using dbus-glib at all here; /usr/include/giomm-2.4/giomm/dbusconnection.h is provided by giomm, part of glibmm (see <https://bugzilla.gnome.org/browse.cgi?product=glibmm>).


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.