[Telepathy] Request for "Hello World" program for XMPP-Link-Local

Danielle Madeley danielle.madeley at collabora.co.uk
Mon May 7 04:22:41 PDT 2012


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 at 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.madeley at 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



More information about the telepathy mailing list