[Xorg] Error building CVS xc on Linux from Scratch 5.0 on a i586 -futher problems

Roland Mainz roland.mainz at nrubsig.org
Thu May 13 00:58:36 PDT 2004


Phil Bertram wrote:
[snip] 
> Thanks for that information above.
> #define HasMotif NO and #define HasMotif2 NO in host.def got me further
> through the build.
> However, now I have struck another problem.
> I can see that there has been some development activity in the CVS in this
> area but I really do not understand enough to know if it may or may not
> relate to my problem.
> Any further ideas to help me solve my problem ?
> 
> from World.log ............
> rm -f xttcap.o
> gcc -m32 -c -O2 -fomit-frame-pointer -march=i586  -ansi -pedantic -pipe
> -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"'    -fPIC xttcap.c
> rm -f ftfuncs.o unshared/ftfuncs.o
> gcc -m32 -c -ansi -pedantic -pipe  -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"'    -O2 -fomit-frame-pointer -march=i586
> 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'
> make[5]: *** [ftfuncs.o] Error 1
> make[5]: Leaving directory `/home/phil/src/xc_build/lib/font/FreeType'
> make[4]: *** [FreeType] Error 2
> make[4]: Leaving directory `/home/phil/src/xc_build/lib/font'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory `/home/phil/src/xc_build/lib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/phil/src/xc_build'
> make[1]: *** [World] Error 2
> make[1]: Leaving directory `/home/phil/src/xc_build'
> make: *** [World] Error 2

It seems the FreeType2 version on your build machine is too old - try
setting...
-- snip --
#define HasFreetype2 NO
-- snip --
... in your build config file...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 2426 901568 FAX +49 2426 901569
 (;O/ \/ \O;)




More information about the xorg mailing list