Hi...can u suggest me solution?

John (J5) Palmieri johnp at redhat.com
Mon Oct 23 08:03:02 PDT 2006


On Mon, 2006-10-23 at 11:35 +0200, Thiago Macieira wrote:
> venkateswarlu rachamalla wrote:
> >I am getting following errors in a dbus program....
> >can anybody suggest the solution...
> >
> >ping-service.c:406: error: 'DBUS_SERVICE_REPLY_PRIMARY_OWNER' undeclared
> >(first use in this function)
> >ping-service.c:410: error: 'DBUS_SERVICE_REPLY_ALREADY_OWNER' undeclared
> >(first use in this function)
> >ping-service.c:416: error: 'DBUS_SERVICE_REPLY_SERVICE_EXISTS'
> > undeclared (first use in this function)
> >ping-service.c:421: error: 'DBUS_SERVICE_REPLY_IN_QUEUE' undeclared
> > (first use in this function)
> 
> Upgrade your code, please.
> 
> D-Bus code has changed a lot since 0.23. The constants you're looking for 
> are now called DBUS_REQUEST_NAME_REPLY_*.

Either that or he is developing on 0.23 and hasn't sent in the requisite
-DDBUS_API_SUBJECT_TO_CHANGE CFLAG.
 
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list