Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
NetworkManagerDbus.c: In function ‘nm_dbus_init’: NetworkManagerDbus.c:837: error: ‘DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT’ undeclared (first use in this function) NetworkManagerDbus.c:837: error: (Each undeclared identifier is reported only once NetworkManagerDbus.c:837: error: for each function it appears in.) make[3]: *** [NetworkManager-NetworkManagerDbus.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/networkmanager-0.6.4_pre20061028-r1/work/NetworkManager' make: *** [all] Error 2 !!! ERROR: net-misc/networkmanager-0.6.4_pre20061028-r1 failed. Call stack: ebuild.sh, line 1569: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 1262: Called gnome2_src_compile gnome2.eclass, line 64: Called die !!! compile failure !!! If you need support, post the topmost build error, and the call stack if relevant. Reproducible: Always --- src/NetworkManagerDbus.c 2006-11-12 22:00:43.000000000 +0100 +++ src/NetworkManagerDbus.c 2006-11-12 21:59:36.000000000 +0100 @@ -833,10 +833,10 @@ } dbus_error_init (&error); -#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR >= 60) - flags = DBUS_NAME_FLAG_DO_NOT_QUEUE; /* Prohibit replacement is now the default */ -#else +#if (DBUS_VERSION_MAJOR == 0) && (DBUS_VERSION_MINOR < 60) flags = DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT; +#else + flags = DBUS_NAME_FLAG_DO_NOT_QUEUE; /* Prohibit replacement is now the default */ +#endif #endif ret = dbus_bus_request_name (connection, NM_DBUS_SERVICE, flags, &error); if (dbus_error_is_set (&error)) In pathes on Web is failure. with inserting row +#endif is all ok.
Reopen to dupe.
*** This bug has been marked as a duplicate of bug 155279 ***