Image 01
profile-image

deathmetal

Alex Tokarev
kdbus

System Software by rohanpm 12 comments

Sorry for my triple posting, it seems, the browser submitted the form every time on reload :( - Feb 18 2006
kdbus

System Software by rohanpm 12 comments

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :) - Feb 18 2006
kdbus

System Software by rohanpm 12 comments

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :) - Feb 18 2006
kdbus

System Software by rohanpm 12 comments

First of all, thanks to the developers, great work!

But: I got the same problem during compilation...

Here is the workaround:

According to http://dbus.freedesktop.org/doc/dbus-specification.html
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has a value 0x1, and DBUS_NAME_FLAG_REPLACE_EXISTING (also used in qdbusconnection.cpp) 0x2.

So, add the following lines to kdbus-0.8.5/src/dbus-qt3-backport/dbus/qdbusconnection.h:

#ifndef DBUS_NAME_FLAG_ALLOW_REPLACEMENT
#define DBUS_NAME_FLAG_ALLOW_REPLACEMENT 0x1
#endif

#ifndef DBUS_NAME_FLAG_REPLACE_EXISTING
#define DBUS_NAME_FLAG_REPLACE_EXISTING 0x2
#endif

I know, this is, to say the least, a real dirty solution, but it works fine :) - Feb 18 2006