Bug 7787 - Problem compiling libXfont-X11R7.1 1.1.0
Summary: Problem compiling libXfont-X11R7.1 1.1.0
Status: RESOLVED DUPLICATE of bug 6918
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xfont (show other bugs)
Version: 7.1 (2006.05)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-06 04:50 UTC by Pierre
Modified: 2006-08-08 14:50 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Pierre 2006-08-06 04:50:56 UTC
# make
make  all-recursive
make[1]: Entering directory `/tmp/libXfont-X11R7.1-1.1.0'
Making all in src
make[2]: Entering directory `/tmp/libXfont-X11R7.1-1.1.0/src'
Making all in fontfile
make[3]: Entering directory `/tmp/libXfont-X11R7.1-1.1.0/src/fontfile'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/libXfont-X11R7.1-1.1.0/src/fontfile'
Making all in FreeType
make[3]: Entering directory `/tmp/libXfont-X11R7.1-1.1.0/src/FreeType'
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -I../../include/X11/fonts -I../../include  
-I/usr/local/include/freetype2 -I/usr/local/include   -Wall -Wpointer-arith
-Wstrict-prototypes  -Wmissing-prototypes -Wmissing-declarations    
-Wnested-externs -fno-strict-aliasing -s -O3 -march=i686 -D_BSD_SOURCE
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/local/include   -D_XOPEN_SOURCE -MT
ftfuncs.lo -MD -MP -MF ".deps/ftfuncs.Tpo" -c -o ftfuncs.lo ftfuncs.c; \
then mv -f ".deps/ftfuncs.Tpo" ".deps/ftfuncs.Plo"; else rm -f
".deps/ftfuncs.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include/X11/fonts -I../../include
-I/usr/local/include/freetype2 -I/usr/local/include -Wall -Wpointer-arith
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -s -O3 -march=i686 -D_BSD_SOURCE -DHAS_FCHOWN
-DHAS_STICKY_DIR_BIT -I/usr/local/include -D_XOPEN_SOURCE -MT ftfuncs.lo -MD -MP
-MF .deps/ftfuncs.Tpo -c ftfuncs.c  -fPIC -DPIC -o .libs/ftfuncs.o
ftfuncs.c:57:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:59:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c:60:10: #include expects "FILENAME" or <FILENAME>
ftfuncs.c: In function `FreeTypeOpenInstance':
ftfuncs.c:467: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:467: error: (Each undeclared identifier is reported only once
ftfuncs.c:467: error: for each function it appears in.)
ftfuncs.c:467: error: parse error before "tt_face"
ftfuncs.c:471: error: `SFNT_Service' undeclared (first use in this function)
ftfuncs.c:471: error: parse error before "sfnt"
ftfuncs.c:472: error: `tt_face' undeclared (first use in this function)
ftfuncs.c:472: error: parse error before "face"
ftfuncs.c:486: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:486: error: parse error before "tt_face"
ftfuncs.c: In function `tt_get_metrics':
ftfuncs.c:815: error: `TT_LongMetrics' undeclared (first use in this function)
ftfuncs.c:815: error: parse error before "longs_m"
ftfuncs.c:824: error: `longs_m' undeclared (first use in this function)
ftfuncs.c:824: error: parse error before "header"
ftfuncs.c:829: error: `TT_ShortMetrics' undeclared (first use in this function)
ftfuncs.c:829: error: parse error before ')' token
ftfuncs.c:830: error: parse error before "header"
ftfuncs.c: In function `ft_get_very_lazy_bbox':
ftfuncs.c:845: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:845: error: parse error before "ttface"
ftfuncs.c:852: error: `ttface' undeclared (first use in this function)
ftfuncs.c: In function `FT_Do_SBit_Metrics':
ftfuncs.c:914: error: `SFNT_Service' undeclared (first use in this function)
ftfuncs.c:914: error: parse error before "sfnt"
ftfuncs.c:915: error: `TT_Face' undeclared (first use in this function)
ftfuncs.c:918: error: `TT_SBit_Strike' undeclared (first use in this function)
ftfuncs.c:918: error: parse error before "strike"
ftfuncs.c:919: error: `TT_SBit_Range' undeclared (first use in this function)
ftfuncs.c:920: error: `TT_SBit_MetricsRec' undeclared (first use in this function)
ftfuncs.c:931: error: `face' undeclared (first use in this function)
ftfuncs.c:931: error: parse error before "ft_face"
ftfuncs.c:932: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:932: error: parse error before "face"
ftfuncs.c:938: error: `range' undeclared (first use in this function)
ftfuncs.c:938: error: `strike' undeclared (first use in this function)
ftfuncs.c:955: warning: implicit declaration of function `FT_STREAM_POS'
ftfuncs.c:955: warning: nested extern declaration of `FT_STREAM_POS'
ftfuncs.c:958: warning: implicit declaration of function `FT_STREAM_SEEK'
ftfuncs.c:958: warning: nested extern declaration of `FT_STREAM_SEEK'
ftfuncs.c:961: error: `elem_metrics' undeclared (first use in this function)
make[3]: *** [ftfuncs.lo] Error 1
make[3]: Leaving directory `/tmp/libXfont-X11R7.1-1.1.0/src/FreeType'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/libXfont-X11R7.1-1.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/libXfont-X11R7.1-1.1.0'
make: *** [all] Error 2
Comment 1 Alan Coopersmith 2006-08-06 09:39:50 UTC
What version of FreeType do you have installed in /usr/local ?
Those errors indicate incompatible FreeType headers.
Comment 2 Pierre 2006-08-08 14:06:21 UTC
I have freetype 2.2.1
Comment 3 Alan Coopersmith 2006-08-08 14:50:19 UTC
FreeType 2.2 broke compatibility with some older software, including libXfont.

You need at least libXfont 1.2.0 to be able to build with FreeType 2.2.0 or later.
(This has been released since X11R7.1 - you will need to download from the
individual releases directory until X11R7.2 is released this fall.)

*** This bug has been marked as a duplicate of 6918 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.