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 &quot;example.c&quot; requires object for &quot;connections-monitor.c&quot; first.<br>So, using your technique on &quot;connections-monitor.c&quot;, 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&#39;t any &quot;marshallers.h&quot; 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">&lt;<a href="mailto:danielle.madeley@collabora.co.uk" target="_blank">danielle.madeley@collabora.co.uk</a>&gt;</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>
&gt; Hi Danielle.<br>
&gt;<br>
&gt; I am trying the example given at your link.<br>
&gt; I have been able to get the &quot;includes&quot; done, however, I don&#39;t know how to<br>
&gt; 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>