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

From: ext-swetha.swetha at nokia.com ext-swetha.swetha at nokia.com
Date: Tue Apr 10 13:38:39 EEST 2007
Hi!

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?

Thanks & Regards,
Swetha


 <<dbusping.c>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070410/82654a35/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbusping.c
Type: application/octet-stream
Size: 2217 bytes
Desc: dbusping.c
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20070410/82654a35/attachment.obj 
More information about the maemo-developers mailing list