[yocto] glib-2.0-native build fails on bernard

jani.uusi-rantala at nokia.com jani.uusi-rantala at nokia.com
Fri Aug 12 01:32:17 PDT 2011


I had the same issue on 64-bit fedora R15. This patch fixed it for me:

http://patchwork.openembedded.org/patch/8233/

- Jani Uusi-Rantala

________________________________________
From: yocto-bounces at yoctoproject.org [yocto-bounces at yoctoproject.org] on behalf of ext Andre Haupt [andre at bitwigglers.org]
Sent: Friday, August 12, 2011 11:26
To: yocto at yoctoproject.org
Subject: [yocto] glib-2.0-native build fails on bernard

Hi all,

Bitbake glib-2.0-native for the qemux86 target on poky bernard fails
with:

octo-git/builds/qemux86-bernard/tmp/sysroots/x86_64-linux/usr/lib
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_REALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_SLICE_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_ALLOC'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_MEM_FREE'
| ./.libs/libglib-2.0.so: undefined reference to `GLIB_QUARK_NEW'
| collect2: ld returned 1 exit status
| make[4]: *** [gtester] Error 1
| make[4]: Leaving directory
`/home/ahaupt/yocto-git/builds/qemux86-bernard/tmp/work/x86_64-linux/glib-2.0-native-1_2.26.1-r0/glib-2.26.1/glib'
| make[3]: *** [all-recursive] Error 1
| make[3]: Leaving directory
`/home/ahaupt/yocto-git/builds/qemux86-bernard/tmp/work/x86_64-linux/glib-2.0-native-1_2.26.1-r0/glib-2.26.1/glib'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory
`/home/ahaupt/yocto-git/builds/qemux86-bernard/tmp/work/x86_64-linux/glib-2.0-native-1_2.26.1-r0/glib-2.26.1/glib'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/home/ahaupt/yocto-git/builds/qemux86-bernard/tmp/work/x86_64-linux/glib-2.0-native-1_2.26.1-r0/glib-2.26.1'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/ahaupt/yocto-git/builds/qemux86-bernard/tmp/work/x86_64-linux/glib-2.0-native-1_2.26.1-r0/temp/log.do_compile.20434
for further information)
NOTE: package glib-2.0-native-1_2.26.1-r0: task do_compile: Failed
ERROR: Task 8
(virtual:native:/home/ahaupt/yocto-git/meta/recipes-core/glib-2.0/glib-2.0_2.26.1.bb,
do_compile) failed with exit code '1'

This is on a freshly set up Fedora 15 x86-64 build host. I am using the
bernard branch of git.yoctoproject.org/poky.git.

What do i miss here?

cheers,

Andre



More information about the yocto mailing list