[Xorg] cvs compile errors

Eric Anholt eta at lclark.edu
Wed Jul 21 18:54:17 PDT 2004


On Wed, 2004-07-21 at 18:35, Alex Deucher wrote:
> FYI looks like freetype is broken in cvs:
> 
> gcc -m32 -c -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         -O2 -fno-strength-reduce
> -fno-strict-aliasing   ftfuncs.c -o unshared/ftfuncs.o
> 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'

I've been seeing this issue on multiple systems as well, including the
FreeBSD tinderbox.  I think the Linux build defaults to using system
Freetype, like FreeBSD does, and that this error might be something new
from freetype 2.1.8 usage.  FreeBSD would have updated to freetype
2.1.9, but there are concerns about the rendering quality having
decreased since 2.1.7.
-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org





More information about the xorg mailing list