error compiling with Glib

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


2007/10/5, hamdi Srihi <hamdi_gl4 at hotmail.com>:
>
>  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 iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the dbus mailing list