Thank you,<br> the problem is solved. Always right Jussy! ;-)<br><br><div class="gmail_quote">On Wed, Apr 16, 2008 at 9:00 PM, <<a href="mailto:geoclue-request@lists.freedesktop.org">geoclue-request@lists.freedesktop.org</a>> 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>
<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>
<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 'help' to<br>
<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>
<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 "Re: Contents of GeoClue digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. compiling problem (Emanuele Leomanni)<br>
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: "Emanuele Leomanni" <<a href="mailto:emanuele183@gmail.com">emanuele183@gmail.com</a>><br>
Subject: compiling problem<br>
To: "GeoClue mailinglist" <<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a>><br>
Message-ID:<br>
<<a href="mailto:96766a3f0804160116t75bae3b3n2e184f5850e2f4c7@mail.gmail.com">96766a3f0804160116t75bae3b3n2e184f5850e2f4c7@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Dear all,<br>
I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into<br>
/usr/local/lib<br>
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'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeObject'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathRegisterNs'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_type_get_map'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathCastNodeSetToString'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferFree'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathCastNodeSetToNumber'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlURIEscapeStr'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_new_for_name'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_register_marshaller'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_bus_get'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPClose'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_struct_set'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_connection_register_g_object'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathNewContext'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_connect_signal'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_end_call'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_add_signal'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_type_install_info'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferContent'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_object_path_get_g_type'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlStrndup'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferLength'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_proxy_begin_call'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPRead'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeContext'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`xmlXPathEvalExpression'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferCreate'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPMethod'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_specialized_construct'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPInit'<br>
/usr/local/lib/libgeoclue.so: undefined reference to `xmlParseDoc'<br>
/usr/local/lib/libgeoclue.so: undefined reference to<br>
`dbus_g_type_get_struct'<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 <<a href="mailto:jku@o-hand.com">jku@o-hand.com</a>><br>
Subject: Re: compiling problem<br>
To: GeoClue mailinglist <<a href="mailto:geoclue@lists.freedesktop.org">geoclue@lists.freedesktop.org</a>><br>
Message-ID: <<a href="mailto:4805BC83.6000400@o-hand.com">4805BC83.6000400@o-hand.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Emanuele Leomanni wrote:<br>
> Dear all,<br>
> I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into<br>
> /usr/local/lib<br>
> 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'<br>
> /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call'<br>
<br>
...<br>
<br>
> How should I have to configure paths and libraries to make things working?<br>
<br>
You're not linking the dependency libs, I'm guessing: "pkg-config --libs<br>
geoclue" outputs them, currently the list is<br>
-lgeoclue -ldbus-glib-1 -lxml2 -ldbus-1 -lgobject-2.0 -lglib-2.0<br>
<br>
Jussi<br>
<br>
<br>
--<br>
Jussi Kukkonen <<a href="mailto:jku@o-hand.com">jku@o-hand.com</a>><br>
OpenedHand Ltd <<a href="http://o-hand.com" target="_blank">http://o-hand.com</a>><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>