On Mon, 2012-05-07 at 16:50 +0530, Ajay Garg wrote: > I forgot to specify the exact link > http://cgit.freedesktop.org/telepathy/telepathy-doc/tree/docs/examples/glib_mc5_presence_app > > Compiling "example.c" requires object for "connections-monitor.c" > first. > So, using your technique on "connections-monitor.c", I get the > following dump ::
The marshallers file is generated by glib-genmarshals. Have a look at the Makefile. Alternatively in new glib, all marshallers can be replaced by g_cclosure_marshal_generic(), no need to generate marshaller stubs. > > ##################################################################################################### > [ajay@localhost telepathy]$ gcc -o connections-monitor `pkg-config > --cflags --libs telepathy-glib` connections-monitor.c > connections-monitor.c:4:25: fatal error: marshallers.h: No such file > or directory > compilation terminated. > ##################################################################################################### > > > > However, there isn't any "marshallers.h" at the link, nor is it > immediately apparent as to what (package) may contain this. > > Any quick help in this regard ;-) ? > > > Thanks and Regards, > Ajay > > > On Mon, May 7, 2012 at 4:42 PM, Danielle Madeley > <danielle.made...@collabora.co.uk> wrote: > On Mon, 2012-05-07 at 16:38 +0530, Ajay Garg wrote: > > Hi Danielle. > > > > I am trying the example given at your link. > > I have been able to get the "includes" done, however, I > don't know how to > > figure out the libraries that need to be linked. > > > Try: gcc -o blah `pkg-config --cflags --libs telepathy-glib` > blah.c > > Note backticks ` not single quotes. > > -- > Danielle Madeley > Senior Software Engineer, Collabora Ltd. > > www.collabora.co.uk > > > -- Danielle Madeley Senior Software Engineer, Collabora Ltd. www.collabora.co.uk _______________________________________________ telepathy mailing list telepathy@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/telepathy