[Fontconfig] Xft compilation error, unchecked X version dependency

Phil Pennock phil.pennock at globnix.org
Sat Jun 14 03:48:08 EST 2003


Hi,

You probably can't directly help me here, since I think that I'm SOL
without rebuilding both X and any depencies, but this info might help
you make your configure stuff more robust, rather than having the actual
"make" bomb out ...

When compiling xft-2.1.2 on FreeBSD 4.x without the latest XFree86
version (using 4.2.0), linking fails with:

-----------------------------< cut here >-------------------------------
xftfreetype.c: In function `XftFontOpenInfo':
xftfreetype.c:705: `PictStandardARGB32' undeclared (first use in this function)
xftfreetype.c:705: (Each undeclared identifier is reported only once
xftfreetype.c:705: for each function it appears in.)
xftfreetype.c:705: warning: assignment makes pointer from integer without a cast
xftfreetype.c:708: `PictStandardA8' undeclared (first use in this function)
xftfreetype.c:708: warning: assignment makes pointer from integer without a cast
xftfreetype.c:714: `PictStandardA1' undeclared (first use in this function)
xftfreetype.c:714: warning: assignment makes pointer from integer without a cast
-----------------------------< cut here >-------------------------------

I've tracked these down to defines in <X11/extensions/Xrender.h> under
XFree86 4.3.0.  That appears to be the release version in which they
were introduced.  Xrender.h v1.12, according to "cvs annotate", whereas
the CVS tags are:
        xf-4_2_99_2: 1.16
        xf-4_2_1_1: 1.10
This is also the version in which XRenderFindStandardFormat() appeared.

Perhaps worthy of a configure check, with a warning about needing to use
a more modern X release?

Ta,
-- 
2001: Blogging invented. Promises to change the way people bore strangers with
banal anecdotes about their pets. <http://www.thelemon.net/issues/timeline.php>




More information about the Fontconfig mailing list