[yocto] Build failure on recent yocto download

Khem Raj raj.khem at gmail.com
Wed Aug 3 18:44:56 PDT 2011


On Wednesday, August 03, 2011 05:08:43 PM Tim Bird wrote:
> |                  from cairo-scaled-font-private.h:45,
> |                  from cairoint.h:380,
> |
> |                  from cairo-arc.c:37:
> | cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
> | implementation found.  Cairo will not work with multiple
> | threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
> | limitation
> and compile cairo without thread-safety support."
> 
> | In file included from cairo-mutex-type-private.h:45:0,
> |
> |                  from cairo-scaled-font-private.h:45,
> |                  from cairoint.h:380,
> |
> |                  from cairo-arc.c:37:
> | cairo-mutex-impl-private.h:271:30: error: expected '=', ',', ';', 'asm'
> | or '__attribute__' before 'cairo_recursive_mutex_impl_t' In file
> | included from cairo-scaled-font-private.h:45:0,
> |
> |                  from cairoint.h:380,
> |
> |                  from cairo-arc.c:37:
> | cairo-mutex-type-private.h:49:3: error: #error "CAIRO_MUTEX_IMPL_LOCK
> | not defined.  Check cairo-mutex-impl-private.h."
> | cairo-mutex-type-private.h:52:3: error: #error "CAIRO_MUTEX_IMPL_UNLOCK
> | not defined.  Check cairo-mutex-impl-private.h."
> | cairo-mutex-type-private.h:55:3: error: #error
> | "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined.  Check
> | cairo-mutex-impl-private.h." cairo-mutex-type-private.h:139:3: error:
> | #error "CAIRO_MUTEX_IMPL_LOCK not defined"
> | cairo-mutex-type-private.h:142:3: error: #error
> | "CAIRO_MUTEX_IMPL_UNLOCK not defined" cairo-mutex-type-private.h:151:3:
> | error: #error "CAIRO_MUTEX_IMPL_NIL_INITIALIZER not defined"
> | cairo-mutex-type-private.h:161:28: error: expected '=', ',', ';', 'asm'
> | or '__attribute__' before 'cairo_mutex_t'
> | cairo-mutex-type-private.h:162:38: error: expected '=', ',', ';', 'asm'
> | or '__attribute__' before 'cairo_recursive_mutex_t' In file included
> | from cairoint.h:380:0,
> |
> |                  from cairo-arc.c:37:
> | cairo-scaled-font-private.h:108:5: error: expected
> | specifier-qualifier-list before 'cairo_mutex_t' In file included from
> | cairo-mutex-type-private.h:45:0,
> |
> |                  from cairo-scaled-font-private.h:45,
> |                  from cairoint.h:380,
> |
> |                  from cairo-base64-stream.c:39:
> | cairo-mutex-impl-private.h:262:3: error: #error "XXX: No mutex
> | implementation found.  Cairo will not work with multiple
> | threads.  Define CAIRO_NO_MUTEX to 1 to acknowledge and accept this
> | limitation
> and compile cairo without thread-safety support."

hmmm this error means you dont have libc headers installed properly.
Seems something is broken in your environment. Its probably using some tools 
from your build system which are not quite in line with what configure wanted
Can you post the config.log of cairo somewhere ?

-- 
Khem Raj



More information about the yocto mailing list