GeoClue Digest, Vol 12, Issue 2
Emanuele Leomanni
emanuele183 at gmail.com
Thu Apr 17 01:07:21 PDT 2008
Thank you,
the problem is solved. Always right Jussy! ;-)
On Wed, Apr 16, 2008 at 9:00 PM, <geoclue-request at lists.freedesktop.org>
wrote:
> Send GeoClue mailing list submissions to
> geoclue at lists.freedesktop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freedesktop.org/mailman/listinfo/geoclue
> or, via email, send a message with subject or body 'help' to
> geoclue-request at lists.freedesktop.org
>
> You can reach the person managing the list at
> geoclue-owner at lists.freedesktop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of GeoClue digest..."
>
>
> Today's Topics:
>
> 1. compiling problem (Emanuele Leomanni)
> 2. Re: compiling problem (Jussi Kukkonen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 16 Apr 2008 10:16:02 +0200
> From: "Emanuele Leomanni" <emanuele183 at gmail.com>
> Subject: compiling problem
> To: "GeoClue mailinglist" <geoclue at lists.freedesktop.org>
> Message-ID:
> <96766a3f0804160116t75bae3b3n2e184f5850e2f4c7 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear all,
> I compiled geoclue on my Ubuntu and I have installed libgeoclue.so into
> /usr/local/lib
> Then, I tried to compile a simple program by using geoclue API including
> geoclue library with -lgeoclue and this is what I have.
>
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferAdd'
> /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeObject'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathRegisterNs'
> /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_type_get_map'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `xmlXPathCastNodeSetToString'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferFree'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `xmlXPathCastNodeSetToNumber'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlURIEscapeStr'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_proxy_new_for_name'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_object_register_marshaller'
> /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_bus_get'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPClose'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_type_struct_set'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_connection_register_g_object'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathNewContext'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_proxy_connect_signal'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_proxy_end_call'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_proxy_add_signal'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_object_type_install_info'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferContent'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_object_path_get_g_type'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlStrndup'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferLength'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_proxy_begin_call'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPRead'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlXPathFreeContext'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `xmlXPathEvalExpression'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferCreate'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPMethod'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_type_specialized_construct'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlNanoHTTPInit'
> /usr/local/lib/libgeoclue.so: undefined reference to `xmlParseDoc'
> /usr/local/lib/libgeoclue.so: undefined reference to
> `dbus_g_type_get_struct'
>
> How should I have to configure paths and libraries to make things working?
> There is a configuration command that I should add?
> Have you already seen this problem?
>
> Thanks
> Emanuele
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.freedesktop.org/archives/geoclue/attachments/20080416/83759803/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 16 Apr 2008 11:44:51 +0300
> From: Jussi Kukkonen <jku at o-hand.com>
> Subject: Re: compiling problem
> To: GeoClue mailinglist <geoclue at lists.freedesktop.org>
> Message-ID: <4805BC83.6000400 at o-hand.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Emanuele Leomanni wrote:
> > Dear all,
> > I compiled geoclue on my Ubuntu and I have installed libgeoclue.so
> into
> > /usr/local/lib
> > Then, I tried to compile a simple program by using geoclue API
> including
> > geoclue library with -lgeoclue and this is what I have.
> >
> > /usr/local/lib/libgeoclue.so: undefined reference to `xmlBufferAdd'
> > /usr/local/lib/libgeoclue.so: undefined reference to `dbus_g_proxy_call'
>
> ...
>
> > How should I have to configure paths and libraries to make things
> working?
>
> You're not linking the dependency libs, I'm guessing: "pkg-config --libs
> geoclue" outputs them, currently the list is
> -lgeoclue -ldbus-glib-1 -lxml2 -ldbus-1 -lgobject-2.0 -lglib-2.0
>
> Jussi
>
>
> --
> Jussi Kukkonen <jku at o-hand.com>
> OpenedHand Ltd <http://o-hand.com>
>
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 307 bytes
> Desc: OpenPGP digital signature
> Url :
> http://lists.freedesktop.org/archives/geoclue/attachments/20080416/0fb7b456/attachment-0001.pgp
>
> ------------------------------
>
> _______________________________________________
> GeoClue mailing list
> GeoClue at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/geoclue
>
>
> End of GeoClue Digest, Vol 12, Issue 2
> **************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/geoclue/attachments/20080417/3c006e11/attachment.html
More information about the GeoClue
mailing list