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:396, from cairo-arc.c:37: cairo-mutex-impl-private.h:271:3: error: unknown type name 'cairo_mutex_impl_t' In file included from cairo-scaled-font-private.h:45:0, from cairoint.h:396, 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:1: error: unknown type name 'cairo_mutex_impl_t' make[4]: *** [cairo-atomic.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from cairo-analysis-surface.c:45:0: cairo-surface-snapshot-inline.h: In function '_cairo_surface_snapshot_get_target': cairo-surface-snapshot-inline.h:54:5: error: implicit declaration of function 'CAIRO_MUTEX_IMPL_LOCK' [-Werror=implicit-function-declaration] cairo-surface-snapshot-inline.h:54:5: warning: nested extern declaration of 'CAIRO_MUTEX_IMPL_LOCK' [-Wnested-externs] cairo-surface-snapshot-inline.h:56:5: error: implicit declaration of function 'CAIRO_MUTEX_IMPL_UNLOCK' [-Werror=implicit-function-declaration] cairo-surface-snapshot-inline.h:56:5: warning: nested extern declaration of 'CAIRO_MUTEX_IMPL_UNLOCK' [-Wnested-externs] In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, from cairo-array.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." In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, from cairo-array.c:39: cairo-mutex-impl-private.h:271:3: error: unknown type name 'cairo_mutex_impl_t' In file included from cairo-scaled-font-private.h:45:0, from cairoint.h:396, from cairo-array.c:39: 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:1: error: unknown type name 'cairo_mutex_impl_t' make[4]: *** [cairo-base85-stream.lo] Error 1 cc1: some warnings being treated as errors make[4]: *** [cairo-analysis-surface.lo] Error 1 make[4]: *** [cairo-bentley-ottmann-rectangular.lo] Error 1 make[4]: *** [cairo-arc.lo] Error 1 make[4]: *** [cairo-array.lo] Error 1 In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, from cairo-bentley-ottmann.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." In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, from cairo-bentley-ottmann.c:39: cairo-mutex-impl-private.h:271:3: error: unknown type name 'cairo_mutex_impl_t' In file included from cairo-scaled-font-private.h:45:0, from cairoint.h:396, from cairo-bentley-ottmann.c:39: 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:1: error: unknown type name 'cairo_mutex_impl_t' In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, 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." In file included from cairo-mutex-type-private.h:45:0, from cairo-scaled-font-private.h:45, from cairoint.h:396, from cairo-base64-stream.c:39: cairo-mutex-impl-private.h:271:3: error: unknown type name 'cairo_mutex_impl_t' In file included from cairo-scaled-font-private.h:45:0, from cairoint.h:396, from cairo-base64-stream.c:39: 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:1: error: unknown type name 'cairo_mutex_impl_t' make[4]: *** [cairo-base64-stream.lo] Error 1 make[4]: *** [cairo-bentley-ottmann.lo] Error 1 make[4]: Leaving directory `/home/test/test/output2/build/cairo-1.12.10/src' make[3]: *** [all] Error 2 make[3]: Leaving directory `/home/test/test/output2/build/cairo-1.12.10/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/test/test/output2/build/cairo-1.12.10' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/test/test/output2/build/cairo-1.12.10' make: *** [/home/test/test/output2/build/cairo-1.12.10/.stamp_built] Error 2