Thank you,<br>&nbsp; the problem is solved. Always right Jussy!&nbsp; ;-)<br><br><div class="gmail_quote">On Wed, Apr 16, 2008 at 9:00 PM,  &lt;<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Send GeoClue mailing list submissions to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a><br>
<br>
You can reach the person managing the list at<br>
 &nbsp; &nbsp; &nbsp; &nbsp;<a href="mailto:geoclue-owner@lists.freedesktop.org">geoclue-owner@lists.freedesktop.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of GeoClue digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
 &nbsp; 1. compiling problem (Emanuele Leomanni)<br>
 &nbsp; 2. Re: compiling problem (Jussi Kukkonen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 16 Apr 2008 10:16:02 +0200<br>
From: &quot;Emanuele Leomanni&quot; &lt;<a href="mailto:emanuele183@gmail.com">emanuele183@gmail.com</a>&gt;<br>
Subject: compiling problem<br>
To: &quot;GeoClue mailinglist&quot; &lt;<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a>&gt;<br>
Message-ID:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;&lt;<a href="mailto:96766a3f0804160116t75bae3b3n2e184f5850e2f4c7@mail.gmail.com">96766a3f0804160116t75bae3b3n2e184f5850e2f4c7@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Dear all,<br>
 &nbsp;I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into<br>
/usr/local/lib<br>
 &nbsp;Then, I tried to compile a simple program by using geoclue API including<br>
geoclue library with -lgeoclue and this is what I have.<br>
<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferAdd&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeObject&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathRegisterNs&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_type_get_map&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathCastNodeSetToString&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferFree&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathCastNodeSetToNumber&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlURIEscapeStr&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_new_for_name&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_register_marshaller&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_bus_get&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPClose&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_struct_set&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_connection_register_g_object&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathNewContext&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_connect_signal&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_end_call&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_add_signal&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_type_install_info&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferContent&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_path_get_g_type&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlStrndup&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferLength&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_begin_call&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPRead&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeContext&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathEvalExpression&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferCreate&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPMethod&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_specialized_construct&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPInit&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlParseDoc&#39;<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_get_struct&#39;<br>
<br>
How should I have to configure paths and libraries to make things working?<br>
There is a configuration command that I should add?<br>
Have you already seen this problem?<br>
<br>
Thanks<br>
Emanuele<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.freedesktop.org/archives/geoclue/attachments/20080416/83759803/attachment-0001.html" target="_blank">http://lists.freedesktop.org/archives/geoclue/attachments/20080416/83759803/attachment-0001.html</a><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Wed, 16 Apr 2008 11:44:51 +0300<br>
From: Jussi Kukkonen &lt;<a href="mailto:jku@o-hand.com">jku@o-hand.com</a>&gt;<br>
Subject: Re: compiling problem<br>
To: GeoClue mailinglist &lt;<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a>&gt;<br>
Message-ID: &lt;<a href="mailto:4805BC83.6000400@o-hand.com">4805BC83.6000400@o-hand.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
Emanuele Leomanni wrote:<br>
&gt; Dear all,<br>
&gt; &nbsp; I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into<br>
&gt; /usr/local/lib<br>
&gt; &nbsp; Then, I tried to compile a simple program by using geoclue API including<br>
&gt; geoclue library with -lgeoclue and this is what I have.<br>
&gt;<br>
&gt; /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferAdd&#39;<br>
&gt; /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call&#39;<br>
<br>
...<br>
<br>
&gt; How should I have to configure paths and libraries to make things working?<br>
<br>
You&#39;re not linking the dependency libs, I&#39;m guessing: &quot;pkg-config --libs<br>
geoclue&quot; outputs them, currently the list is<br>
 &nbsp;-lgeoclue -ldbus-glib-1 -lxml2 -ldbus-1 -lgobject-2.0 -lglib-2.0<br>
<br>
Jussi<br>
<br>
<br>
--<br>
Jussi Kukkonen &lt;<a href="mailto:jku@o-hand.com">jku@o-hand.com</a>&gt;<br>
OpenedHand Ltd &lt;<a href="http://o-hand.com" target="_blank">http://o-hand.com</a>&gt;<br>
<br>
<br>
-------------- next part --------------<br>
A non-text attachment was scrubbed...<br>
Name: signature.asc<br>
Type: application/pgp-signature<br>
Size: 307 bytes<br>
Desc: OpenPGP digital signature<br>
Url : <a href="http://lists.freedesktop.org/archives/geoclue/attachments/20080416/0fb7b456/attachment-0001.pgp" target="_blank">http://lists.freedesktop.org/archives/geoclue/attachments/20080416/0fb7b456/attachment-0001.pgp</a><br>

<br>
------------------------------<br>
<br>
_______________________________________________<br>
GeoClue mailing list<br>
<a href="mailto:GeoClue@lists.freedesktop.org">GeoClue@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/geoclue" target="_blank">http://lists.freedesktop.org/mailman/listinfo/geoclue</a><br>
<br>
<br>
End of GeoClue Digest, Vol 12, Issue 2<br>
**************************************<br>
</blockquote></div><br>