error compiling code with dbus

Ralf Habacker ralf.habacker at freenet.de
Fri Mar 16 01:33:17 PDT 2007


Loreno Oliveira schrieb:
> Hi there,
>
> i am trying to compile a simple program but it seems that the dbus
> headers
> are someway broken.
>
> The program is:
>
> #include <stdio.h>
> #include <stdlib.h >
> #include <dbus/dbus.h>
>
> int main( int argc, char **argv ) {
>    return 0;
> }
>
> Yes, there is no body in the program, just the #include. When I
> compile this
> code I get:
>
> /usr/include/dbus/dbus.h:33:33: error: dbus/dbus- arch-deps.h: No such
> file or directory
The error message above shows the reals problem problem, your dbus
installation is not complete or corrupted
in /usr/include/dbus/ there should be  a file named dbus/dbus- arch-deps.h.

Ralf



More information about the dbus mailing list