error compiling code with dbus

Nallammai S snallammai at novell.com
Thu Mar 15 20:19:09 PDT 2007


 
Hi,
 
> The program is:

> #include <stdio.h>
> #include <stdlib.h >
> #include <dbus/dbus.h>

> int main( int argc, char **argv ) {
>    return 0;
> }

Try compiling the program using 

gcc -o example `pkg-config --cflags --libs dbus-1` example.c

Your problem may get solved.


Nallammai.S 




More information about the dbus mailing list