Thank you very much Emil!!
I installed the glib library v2.24 (and installed some needed new libraries because of dependencies) and I could complete the sigrok installation in Ubuntu 9.04.

Best regards,
Marc



De: "Emil Brink" <emil@obsession.se>
A: "Marc Ciurana" <marc.ciurana@ctae.org>
Cc: sigrok-devel@lists.sourceforge.net
Enviat: Wednesday, March 2, 2011 8:50:41 AM
Assumpte: Re: [sigrok-devel] undefined reference to `g_ptr_array_new_with_free_func'

On Mon, Feb 28, 2011 at 12:31 PM, Marc Ciurana <marc.ciurana@ctae.org> wrote:
> Hi all,

Hi.

> I am trying to build sigrok on Linux Ubuntu 9.04.
> ./configure runs with no errors, but make gives this error:
>
> libsigrok/.libs/libsigrok.so: undefined reference to
> `g_ptr_array_new_with_free_func'

See this page for the API documentation:

http://library.gnome.org/devel/glib/stable/glib-Pointer-Arrays.html#g-ptr-array-new-with-free-func

It seems you need at least version 2.22 of glib, so verify that you
indeed have that installed.

I've had issues with software I've written that the rules in the
configure script were out of date, then things like these can happen.
I'm not saying that is the case with sigrok, just an idea (I don't
have the code handy).

/Emil