[Xorg] build failing in /xc/lib/font/FreeType

Roland Mainz roland.mainz at nrubsig.org
Mon May 24 10:41:07 PDT 2004


Jim Gettys wrote:
> Something seems broken.
> 
> jg at laptop:/home/xc/lib/font/FreeType$ make
> rm -f ftfuncs.o
> gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi
> -pedantic -Wall -Wpointer-arith -Wundef  -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I. -I../../../include/fonts
> -I../include -I../../../exports/include/X11
> -I../../../programs/Xserver/include
> -I../../../exports/include  -I../../.. -I../../../exports/include
> -Dlinux -D__i386__
> -D_POSIX_C_SOURCE=199309L
> -D_POSIX_SOURCE -D_XOPEN_SOURCE        -D_BSD_SOURCE
> -D_SVID_SOURCE                              -D_GNU_SOURCE
> -DFUNCPROTO=15 -DNARROWPROTO   -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
> -DSINGLEDEPTH                           -DXFreeXDGA
> -DXvExtension                      -DXFree86LOADER
> -DXFree86Server                                 -DXF86VIDMODE
> -DXvMCExtension
> -DSMART_SCHEDULE                       -DBUILDDEBUG
> -DXResExtension
> -DX_BYTE_ORDER=X_LITTLE_ENDIAN
> -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) *
> 1000) + 0)"           -DXFREE86_FT2   -DXVENDORNAME='"The X.Org
> Foundation"' -DXVENDORNAMESHORT='"X.Org"'  ftfuncs.c
> ftfuncs.c: In function `FT_Do_SBit_Metrics':
> ftfuncs.c:931: error: structure has no member named `find_sbit_image'
> ftfuncs.c:955: error: structure has no member named `load_sbit_metrics'

The Freetype2 library version installed on your machine is too old
(requirement is >= 2.1.8).
Put
-- snip --
#define HasFreetype2 NO
-- snip --
in your host.def and the build should work perfecty... :)

----

Bye,
Roland

-- 
  __ .  . __
 (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