[maemo-developers] Error while compiling a dbus ping program

From: Mika Yrjölä exploderi at gmail.com
Date: Tue Apr 10 14:03:43 EEST 2007
On 4/10/07, ext-swetha.swetha at nokia.com <ext-swetha.swetha at nokia.com> wrote:

> I am trying to compile a program dbusping.c. I've attached the program with
> this mail. When I try to compile the program with the following command,
>
> gcc `pkg-config --libs --cflags dbus-glib-1` -o dbusping dbusping.c
>
> I get the following error:
>
> dbusping.c: In function `signal_filter':
>  dbusping.c:40: error:
> `DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL' undeclared (first
> use in this function)
>  dbusping.c:40: error: (Each undeclared identifier is reported only once
>  dbusping.c:40: error: for each function it appears in.)
>
>
> Can anyone pls tell me what the cause of the error is? How can I rectify the
> same?

Hi,

I think the DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL is these days known
as DBUS_INTERFACE_LOCAL.

More information about the maemo-developers mailing list