[cairo] Build cairo-1.12.6 failed

gps locator gpslocator at gmail.com
Tue Nov 27 07:04:56 PST 2012


Build error log:

  CC     cairo-xlib-display.lo
In file included from cairo-xlib-private.h:41,
                 from cairo-xlib-display.c:40:
cairo-xlib-xrender-private.h:102: error: redefinition of 'struct
_XLinearGradient'
cairo-xlib-xrender-private.h:105: error: conflicting types for
'XLinearGradient'
/usr/include/X11/extensions/Xrender.h:189: note: previous declaration of
'XLinearGradient' was here
cairo-xlib-xrender-private.h:111: error: redefinition of 'struct _XCircle'
cairo-xlib-xrender-private.h:115: error: conflicting types for 'XCircle'
/usr/include/X11/extensions/Xrender.h:150: note: previous declaration of
'XCircle' was here
cairo-xlib-xrender-private.h:116: error: redefinition of 'struct
_XRadialGradient'
cairo-xlib-xrender-private.h:119: error: conflicting types for
'XRadialGradient'
/usr/include/X11/extensions/Xrender.h:194: note: previous declaration of
'XRadialGradient' was here
cairo-xlib-xrender-private.h:125: error: redefinition of 'struct
_XConicalGradient'
cairo-xlib-xrender-private.h:128: error: conflicting types for
'XConicalGradient'
/usr/include/X11/extensions/Xrender.h:199: note: previous declaration of
'XConicalGradient' was here
make[3]: *** [cairo-xlib-display.lo] Error 1

Here is a similar issue:
http://lists.cairographics.org/archives/cairo/2011-March/021822.html

I wondered that no one met this issue now and what's the best solution for
that?

Thanks,
L.J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo/attachments/20121127/e214310b/attachment-0001.html>


More information about the cairo mailing list