Thanks Danielle.<br><br>Almost there :)<br><br>I forgot to specify the exact link<br><a href="http://cgit.freedesktop.org/telepathy/telepathy-doc/tree/docs/examples/glib_mc5_presence_app">http://cgit.freedesktop.org/telepathy/telepathy-doc/tree/docs/examples/glib_mc5_presence_app</a><br>
<br>Compiling "example.c" requires object for "connections-monitor.c" first.<br>So, using your technique on "connections-monitor.c", I get the following dump ::<br><br><br>#####################################################################################################<br>
[ajay@localhost telepathy]$ gcc -o connections-monitor `pkg-config --cflags --libs telepathy-glib` connections-monitor.c <br>connections-monitor.c:4:25: fatal error: marshallers.h: No such file or directory<br>compilation terminated.<br>
#####################################################################################################<br><br><br><br>However, there isn't any "marshallers.h" at the link, nor is it immediately apparent as to what (package) may contain this.<br>
<br>Any quick help in this regard ;-) ?<br><br><br>Thanks and Regards,<br>Ajay<br><br><br><div class="gmail_quote">On Mon, May 7, 2012 at 4:42 PM, Danielle Madeley <span dir="ltr"><<a href="mailto:danielle.madeley@collabora.co.uk" target="_blank">danielle.madeley@collabora.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="im">On Mon, 2012-05-07 at 16:38 +0530, Ajay Garg wrote:<br>
> Hi Danielle.<br>
><br>
> I am trying the example given at your link.<br>
> I have been able to get the "includes" done, however, I don't know how to<br>
> figure out the libraries that need to be linked.<br>
<br>
</div>Try: gcc -o blah `pkg-config --cflags --libs telepathy-glib` blah.c<br>
<br>
Note backticks ` not single quotes.<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
Danielle Madeley<br>
Senior Software Engineer, Collabora Ltd.<br>
<br>
<a href="http://www.collabora.co.uk" target="_blank">www.collabora.co.uk</a><br>
<br>
</div></div></blockquote></div><br>