Keith Packard
2005-Nov-21  08:50 UTC
[Fontconfig] Xft compilation error, unchecked X version dependency
Around 17 o''clock on Jun 13, Phil Pennock wrote:> xftfreetype.c: In function `XftFontOpenInfo'': > xftfreetype.c:705: `PictStandardARGB32'' undeclared (first use in this function)You can get updated versions of the Render extension headers and libraries from CVS at fontconfig.org; pre-packaged versions of these are also available at http://fontconfig.org/release -keith
Phil Pennock
2005-Nov-21  08:50 UTC
[Fontconfig] Xft compilation error, unchecked X version dependency
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>