Build cairo-1.12.6 failed

gps locator <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAPJEYe8cwm4XFvPaNKoLX9Q3qx2JbF5+soe8=4cPc48XiHgOLA@mail.gmail.com>
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

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.