[Xorg] Build failure for mkfontscale.c?

Roland Mainz roland.mainz at nrubsig.org
Sat Aug 7 18:42:55 PDT 2004

Deron Johnson wrote:
> While trying to compile the latest xorg cvs head, I get the following
> build error. I got this when I did a fresh checkout (around 6:00
> last night) and also after I did a cvs update -d this morning.
> gcc -m32 -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic
> -Wall -Wpointer-arith -Wundef   -I/usr/include/freetype2
> -I/usr/include/freetype2/config  -I../../exports/include/X11  -I../..
> -I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
> -DXFREE86_FT2    -c -o mkfontscale.o mkfontscale.c
> mkfontscale.c: In function `doDirectory':
> mkfontscale.c:858: `BDF_PropertyRec' undeclared (first use in this function)
> mkfontscale.c:858: (Each undeclared identifier is reported only once
> mkfontscale.c:858: for each function it appears in.)
> mkfontscale.c:858: parse error before "prop"
> mkfontscale.c:859: warning: implicit declaration of function
> `FT_Get_BDF_Property'
> mkfontscale.c:859: `prop' undeclared (first use in this function)
> mkfontscale.c:860: `BDF_PROPERTY_TYPE_ATOM' undeclared (first use in
> this function)

Add the following line to xc/config/cf/host.def
-- snip --
#define HasFreetype2           NO
-- snip --
(Both JDS and Solaris ship with very very old versions of FreeType2
which aren't sufficient for the Xorg tree (minimum is FreeType 2.1.7,
recommended is >= 2.1.8))



  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

More information about the xorg mailing list