Bug 7042 - Can't compile libXFont-X11R7.1-1.1.0
Summary: Can't compile 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-05-26 16:29 UTC by Nick Kurshev
Modified: 2006-05-26 09:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Nick Kurshev 2006-05-26 16:29:39 UTC
I have installed freetype-2.2.1 and can't compile SUBJ!
Compiler prints these lines:

Making all in FreeType
make[3]: Entering directory `/tmp/tt/X/R7/d/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/X11R6/include/freetype2   -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs
-fno-strict-aliasing -O2 -m32 -march=athlon-xp -fomit-frame-pointer
-fschedule-insns2 -mfpmath=sse,387 -mfancy-math-387 -pipe -D_BSD_SOURCE
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/X11R6/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/X11R6/include/freetype2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -O2 -m32 -march=athlon-xp -fomit-frame-pointer
-fschedule-insns2 -mfpmath=sse,387 -mfancy-math-387 -pipe -D_BSD_SOURCE
-DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/X11R6/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: syntax error before "tt_face"
ftfuncs.c:471: error: `SFNT_Service' undeclared (first use in this function)
ftfuncs.c:471: error: syntax error before "sfnt"
ftfuncs.c:472: error: `tt_face' undeclared (first use in this function)
ftfuncs.c:472: error: syntax error before "face"
ftfuncs.c:486: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:486: error: syntax 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: syntax error before "longs_m"
ftfuncs.c:824: error: `longs_m' undeclared (first use in this function)
ftfuncs.c:824: error: syntax error before "header"
ftfuncs.c:829: error: `TT_ShortMetrics' undeclared (first use in this function)
ftfuncs.c:829: error: syntax error before ')' token
ftfuncs.c:830: error: syntax 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: syntax 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: syntax 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: syntax 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: syntax error before "ft_face"
ftfuncs.c:932: error: `sfnt' undeclared (first use in this function)
ftfuncs.c:932: error: syntax 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

Any ideas please!
Comment 1 Alan Coopersmith 2006-05-27 02:07:51 UTC
FreeType 2.2.x is intentionally incompatible - see:
http://freetype.sourceforge.net/freetype2/freetype-2.2.0.html

*** 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.