On Saturday 10 November 2007 14:20:22 Nicolas FRANCOIS wrote:

> /sources/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:202: error:
> 'PictStandardA8' was not declared in this scope
> /sources/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:205: error:
> 'PictStandardRGB24' was not declared in this scope
> /sources/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:209: error:
> 'PictStandardARGB32' was not declared in this scope
> /sources/OOG680_m5/canvas/source/cairo/cairo_cairo.cxx:213: error:
> 'XRenderFindStandardFormat' was not declared in this scope dmake:  Error
> code 1, while making '../../unxlngi6.pro/slo/cairo_cairo.obj' ---*
> tg_merge.mk *---

Hi Nicolas, the various PictStandard* and XRenderFindStandardFormat
are defined in Xrender.h
For example:

[EMAIL PROTECTED] ~$ grep PictStandard /usr/include/X11/extensions/Xrender.h
#define PictStandardARGB32  0
#define PictStandardRGB24   1
#define PictStandardA8      2
#define PictStandardA4      3
#define PictStandardA1      4
#define PictStandardNUM     5
[EMAIL PROTECTED] ~$ grep XRenderFindStandardFormat -A1 \
        /usr/include/X11/extensions/Xrender.h
XRenderFindStandardFormat (Display              *dpy,
                           int                  format);

The problem seems to be that OO use by default an internal Xrender.h file
without these definitions.
So, it seems that you are obliged to use the switch

--with-system-xrender-headers

if you want to compile OO with --enable-cairo
(At least, I had the same problem with OO-2.2.1)
Bye, AA
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to