[oe] package gobject-introspection-native-0.9.10-r1: task do_compile: Failed

Martin Jansa martin.jansa at gmail.com
Mon Sep 17 13:41:16 UTC 2012


On Mon, Sep 17, 2012 at 3:31 PM, Burton, Ross <ross.burton at intel.com> wrote:
> On 17 September 2012 14:13, Lucas <lucas.gerads at gmail.com> wrote:
>> symbol lookup error: /usr/lib/libgirepository-1.0.so.1: undefined symbol:
>> g_mutex_lock
>
> /usr/lib?  Broken build environment, that's picking up dependencies
> (libgirepository, but the look of it) from the host instead of inside
> the build.
>
> But that's not the problem.  The *real* problem is that
> gobject-instrospection doesn't work when cross-compiling.  oe-core
> master has a gtk-doc-stub package that also doubles as a
> gobject-introspection-stub, so I recommend pulling that in/using it
> and changing any gobject-introspection-native dependencies to
> gobject-instrospection-stub.
>
> Ross

>From recipe path it looks like he is using OE-classic and he is not
building target gobject-instrospection but
gobject-instrospection-native which should work.

I guess distro has newer glib which needs added #include or
glib-2.0-native dependency.

Cheers,




More information about the Openembedded-devel mailing list