Error while compiling Xft

Augusto Jun Devegili freebsd at devegili.org
Sat Jun 21 04:56:45 PDT 2003


Hi all,

I'm trying to compile Xft (I need it for Qt) and the following error 
occur. I'm using 5.1-RELEASE. Any ideas?

TIA and regards,

Augusto Jun Devegili

-=-=-=-=-=-=-=-=-=-=-=-

/usr/ports/x11-fonts/Xft/work/xft-2.1.2


===>  Building for Xft-2.1.2
gmake  all-am
gmake[1]: Entering directory `/usr/ports/x11-fonts/Xft/work/xft-2.1.2'
if /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. 
-I/usr/X11R6/include -I/usr/X11R6/include 
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include 
-O -pipe -mcpu=pentiumpro -MT xftfreetype.lo -MD -MP -MF 
".deps/xftfreetype.Tpo" \
   -c -o xftfreetype.lo `test -f 'xftfreetype.c' || echo 
'./'`xftfreetype.c; \
then mv ".deps/xftfreetype.Tpo" ".deps/xftfreetype.Plo"; \
else rm -f ".deps/xftfreetype.Tpo"; exit 1; \
fi
  cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/X11R6/include 
-I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/X11R6/include -O -pipe -mcpu=pentiumpro -MT xftfreetype.lo -MD 
-MP -MF .deps/xftfreetype.Tpo -c xftfreetype.c  -fPIC -o .libs/xftfreetype.o
xftfreetype.c: In function `XftFontOpenInfo':
xftfreetype.c:705: `PictStandardARGB32' undeclared (first use in this 
function)
xftfreetype.c:705: (Each undeclared identifier is reported only once
xftfreetype.c:705: for each function it appears in.)
xftfreetype.c:705: warning: assignment makes pointer from integer 
without a cast
xftfreetype.c:708: `PictStandardA8' undeclared (first use in this function)
xftfreetype.c:708: warning: assignment makes pointer from integer 
without a cast
xftfreetype.c:714: `PictStandardA1' undeclared (first use in this function)
xftfreetype.c:714: warning: assignment makes pointer from integer 
without a cast
gmake[1]: *** [xftfreetype.lo] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fonts/Xft/work/xft-2.1.2'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/x11-fonts/Xft.



More information about the freebsd-questions mailing list