[Fontconfig] fcpackage 2.1 - compiling problem
Axel Braun
Axel.Braun at gmx.de
Fri Jan 2 03:40:49 EST 2004
Gentlemen,
as I was trying to compile some software, Xft was needed. I downloaded
fcpackage 2.1 from fontconfig.org and tried to compile on an older SuSE 7.3
release.
./configure runs fine, bute the 'make' produces an error:
home:~/fcpackage.2_1/Xft # ./configure --prefix=/usr
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for X11/extensions/Xrender.h... yes
checking for XRenderQueryVersion... no
checking for freetype-config... freetype-config
checking for freetype/freetype.h... yes
checking for FT_Init_FreeType... yes
checking for fontconfig-config... no
checking for fontconfig/fontconfig.h... yes
checking for FcInit... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating xft.pc
creating xft-config
creating config.h
home:~/fcpackage.2_1/Xft # make && make install
[1] 15328
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftcolor.c -o xftcolor.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftcolor.c -o xftcolor.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftcore.c -o xftcore.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftcore.c -o xftcore.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdbg.c -o xftdbg.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdbg.c -o xftdbg.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdpy.c -o xftdpy.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdpy.c -o xftdpy.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdraw.c -o xftdraw.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftdraw.c -o xftdraw.o
xftdraw.c: In function `XftDrawSrcPicture':
xftdraw.c:373: warning: passing arg 4 of `XRenderFillRectangle' discards
qualifiers from pointer target type
xftdraw.c: In function `XftDrawSrcPicture':
xftdraw.c:373: warning: passing arg 4 of `XRenderFillRectangle' discards
qualifiers from pointer target type
xftdraw.c: In function `XftDrawRect':
xftdraw.c:811: warning: passing arg 4 of `XRenderFillRectangle' discards
qualifiers from pointer target type
xftdraw.c: In function `XftDrawRect':
xftdraw.c:811: warning: passing arg 4 of `XRenderFillRectangle' discards
qualifiers from pointer target type
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftextent.c -o xftextent.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftextent.c -o xftextent.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftfont.c -o xftfont.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftfont.c -o xftfont.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftfreetype.c -o xftfreetype.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftfreetype.c -o xftfreetype.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftglyphs.c -o xftglyphs.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftglyphs.c -o xftglyphs.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftinit.c -o xftinit.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftinit.c -o xftinit.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftlist.c -o xftlist.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftlist.c -o xftlist.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftname.c -o xftname.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftname.c -o xftname.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftrender.c -o xftrender.o
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -DPIC -c
xftrender.c -o xftrender.o
xftrender.c: In function `XftGlyphSpecRender':
xftrender.c:170: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:170: (Each undeclared identifier is reported only once
xftrender.c:170: for each function it appears in.)
xftrender.c:170: `elts' undeclared (first use in this function)
xftrender.c:171: parse error before `elts_local'
xftrender.c:186: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:234: `nelt' undeclared (first use in this function)
xftrender.c:247: `x' undeclared (first use in this function)
xftrender.c:248: `y' undeclared (first use in this function)
xftrender.c:272: `elts_local' undeclared (first use in this function)
xftrender.c:335: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:335: parse error before `)'
xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:340: parse error before `)'
xftrender.c: In function `XftGlyphSpecRender':
xftrender.c:170: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:170: (Each undeclared identifier is reported only once
xftrender.c:170: for each function it appears in.)
xftrender.c:170: `elts' undeclared (first use in this function)
xftrender.c:171: parse error before `elts_local'
xftrender.c:186: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:234: `nelt' undeclared (first use in this function)
xftrender.c:247: `x' undeclared (first use in this function)
xftrender.c:248: `y' undeclared (first use in this function)
xftrender.c:272: `elts_local' undeclared (first use in this function)
xftrender.c:335: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:335: parse error before `)'
xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:340: parse error before `)'
xftrender.c: In function `XftGlyphFontSpecRender':
xftrender.c:414: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:414: `elts' undeclared (first use in this function)
xftrender.c:415: parse error before `elts_local'
xftrender.c:428: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:480: `nelt' undeclared (first use in this function)
xftrender.c:499: `x' undeclared (first use in this function)
xftrender.c:500: `y' undeclared (first use in this function)
xftrender.c:528: `elts_local' undeclared (first use in this function)
xftrender.c:596: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:596: parse error before `)'
xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:601: parse error before `)'
xftrender.c: In function `XftGlyphFontSpecRender':
xftrender.c:414: `XGlyphElt8' undeclared (first use in this function)
xftrender.c:414: `elts' undeclared (first use in this function)
xftrender.c:415: parse error before `elts_local'
xftrender.c:428: `glyphs_loaded' undeclared (first use in this function)
xftrender.c:480: `nelt' undeclared (first use in this function)
xftrender.c:499: `x' undeclared (first use in this function)
xftrender.c:500: `y' undeclared (first use in this function)
xftrender.c:528: `elts_local' undeclared (first use in this function)
xftrender.c:596: `XGlyphElt16' undeclared (first use in this function)
xftrender.c:596: parse error before `)'
xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
xftrender.c:601: parse error before `)'
make: *** [xftrender.o] Error 1
home:~/fcpackage.2_1/Xft # make: *** [xftrender.o] Error 1
Any idea how to fix this?
Thx,
Axel
--
+++ GMX - die erste Adresse für Mail, Message, More +++
Neu: Preissenkung für MMS und FreeMMS! http://www.gmx.net
More information about the Fontconfig
mailing list