GNOME Bugzilla – Bug 621871
build failure: nautilus-mime-actions.c error: implicit declaration of function ‘g_bus_unwatch_proxy’
Last modified: 2010-06-19 04:22:22 UTC
I am building git master on Fedora 13 via JHBuild. I am building against glib git master. g_bus_watch_proxy, g_bus_unwatch_proxy have been removed from glib's gio as per: http://git.gnome.org/browse/glib/commit/?id=32f2e9a85beedeea36ac7623f68f6eb878465d44 build failure is: ------------------------ libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/gnome-desktop-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/startup-notification-1.0 -I/opt/gnome2/lib64/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/pixman-1 -I/opt/gnome2/include/gio-unix-2.0/ -I/opt/gnome2/include/unique-1.0 -I/opt/gnome2/include/gail-1.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib64/dbus-1.0/include -I/opt/gnome2/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Werror -Wstrict-aliasing=0 -Wno-pointer-sign -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DDATADIR=\"/opt/gnome2/share\" -DSYSCONFDIR=\"/opt/gnome2/etc\" -DNAUTILUS_DATADIR=\"/opt/gnome2/share/nautilus\" -DNAUTILUS_EXTENSIONDIR=\"/opt/gnome2/lib64/nautilus/extensions-2.0\" -O0 -g -MT nautilus-metadata.lo -MD -MP -MF .deps/nautilus-metadata.Tpo -c nautilus-metadata.c -fPIC -DPIC -o .libs/nautilus-metadata.o mv -f .deps/nautilus-metadata.Tpo .deps/nautilus-metadata.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/gnome-desktop-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/startup-notification-1.0 -I/opt/gnome2/lib64/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/pixman-1 -I/opt/gnome2/include/gio-unix-2.0/ -I/opt/gnome2/include/unique-1.0 -I/opt/gnome2/include/gail-1.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib64/dbus-1.0/include -I/opt/gnome2/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Werror -Wstrict-aliasing=0 -Wno-pointer-sign -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DDATADIR=\""/opt/gnome2/share"\" -DSYSCONFDIR=\""/opt/gnome2/etc"\" -DNAUTILUS_DATADIR=\""/opt/gnome2/share/nautilus"\" -DNAUTILUS_EXTENSIONDIR=\""/opt/gnome2/lib64/nautilus/extensions-2.0"\" -O0 -g -MT nautilus-mime-actions.lo -MD -MP -MF .deps/nautilus-mime-actions.Tpo -c -o nautilus-mime-actions.lo nautilus-mime-actions.c cc1: warnings being treated as errors nautilus-mime-actions.c: In function ‘activate_parameters_install_free’: nautilus-mime-actions.c:1161: error: implicit declaration of function ‘g_bus_unwatch_proxy’ nautilus-mime-actions.c:1161: error: nested extern declaration of ‘g_bus_unwatch_proxy’ nautilus-mime-actions.c: In function ‘application_unhandled_uri’: nautilus-mime-actions.c:1514: error: implicit declaration of function ‘g_bus_watch_proxy’ nautilus-mime-actions.c:1514: error: nested extern declaration of ‘g_bus_watch_proxy’ make[2]: *** [nautilus-mime-actions.lo] Error 1 libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../cut-n-paste-code -pthread -DORBIT2=1 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -I/opt/gnome2/include/gnome-desktop-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/startup-notification-1.0 -I/opt/gnome2/lib64/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/pixman-1 -I/opt/gnome2/include/gio-unix-2.0/ -I/opt/gnome2/include/unique-1.0 -I/opt/gnome2/include/gail-1.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib64/dbus-1.0/include -I/opt/gnome2/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib64/glib-2.0/include -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Werror -Wstrict-aliasing=0 -Wno-pointer-sign -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DDATADIR=\"/opt/gnome2/share\" -DSYSCONFDIR=\"/opt/gnome2/etc\" -DNAUTILUS_DATADIR=\"/opt/gnome2/share/nautilus\" -DNAUTILUS_EXTENSIONDIR=\"/opt/gnome2/lib64/nautilus/extensions-2.0\" -O0 -g -MT nautilus-mime-actions.lo -MD -MP -MF .deps/nautilus-mime-actions.Tpo -c nautilus-mime-actions.c -fPIC -DPIC -o .libs/nautilus-mime-actions.o make[2]: Leaving directory `/home/oxyde/gnome2/nautilus/libnautilus-private' make[1]: Leaving directory `/home/oxyde/gnome2/nautilus' make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
*** This bug has been marked as a duplicate of bug 621879 ***