compiling problem

Jussi Kukkonen jku at o-hand.com
Wed Apr 16 01:44:51 PDT 2008


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.pgp 


More information about the GeoClue mailing list