error compiling with Glib

Kalle Vahlman kalle.vahlman at
Fri Oct 5 03:50:06 PDT 2007

2007/10/5, hamdi Srihi <hamdi_gl4 at>:
>  Hi all
> when compiling the exemple-client.c given with dbus-glib package i found
> this errors
>  gcc `pkg-config --cflags dbus-1 dbus-glib-1 glib-2.0` example-client.c

You need to give the '--libs' argument too to pkg-config.

Kalle Vahlman, zuh at
Powered by
Interesting stuff at

More information about the dbus mailing list