Skip site navigation (1)Skip section navigation (2)
Date:      24 Jan 2003 13:39:37 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        jason-exp-1044124094.b34435@mastaler.com
Cc:        FreeBSD GNOME Users <gnome@freebsd.org>
Subject:   Re: x11-fonts/Xft: XGlyphElt8 undeclared
Message-ID:  <1043433576.325.66.camel@gyros>
In-Reply-To: <x7iswetnb9.fsf@aguirre.la.mastaler.com>
References:  <x7iswetnb9.fsf@aguirre.la.mastaler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-01-24 at 13:28, Jason R. Mastaler wrote:
> The FreeBSD port x11-fonts/Xft seems broken. Any known fixes for this
> problem?

The port is fine.  However, there are some things you have to consider. 
First, you are not allowed to report bugs unless you're reproduced the
problem without -O2 and -march=i686.  You should also always include
this list of installed ports/packages.

First, what is supported/required:

* FreeBSD 4.5 or later
* Latest freetype2 and latest XFree86 4.2.1 bits

What isn't supported:

* Anything prior to FreeBSD 4.5
* XFree86 < 4.2.1 or > 4.2.1 (e.g. Eric's 4.2.99 ports)
* Versions of FreeType2 < 2.1.2.

Now, if you meet the above supported requirements, please try to build
without -O2 and -march=i686, and send a list of your installed
ports/packages as well as the version of FreeBSD on which you're trying
to build.

If you're not running a supported setup, upgrade/downgrade to a
supported setup, and you should be fine.  If you still encounter
problems, see above.

Joe

> 
> ===>  Extracting for Xft-2.1
> >> Checksum OK for fcpackage.2_1.tar.gz.
> ===>   Xft-2.1 depends on executable: gmake - found
> ===>   Xft-2.1 depends on file: /usr/local/bin/sed_inplace - found
> ===>   Xft-2.1 depends on shared library: fontconfig.1 - found
> ===>   Xft-2.1 depends on shared library: X11.6 - found
> ===>  Patching for Xft-2.1
> ===>  Applying FreeBSD patches for Xft-2.1
> ===>  Configuring for Xft-2.1
> creating cache ./config.cache
> checking for gcc... cc
> checking whether the C compiler (cc -O2 -pipe -march=i686  ) works... yes
> checking whether the C compiler (cc -O2 -pipe -march=i686  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether cc accepts -g... yes
> checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
> checking whether ln -s works... yes
> checking how to run the C preprocessor... cc -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... fontconfig-config
> checking for fontconfig/fontconfig.h... yes
> checking for FcInit... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> creating xft.pc
> creating xft-config
> creating config.h
> ===>  Building for Xft-2.1
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftcolor.c -o xftcolor.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftcore.c -o xftcore.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdbg.c -o xftdbg.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftdpy.c -o xftdpy.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -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 `XftDrawRect':
> xftdraw.c:811: warning: passing arg 4 of `XRenderFillRectangle' discards qualifiers from pointer target type
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftextent.c -o xftextent.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfont.c -o xftfont.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftfreetype.c -o xftfreetype.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftglyphs.c -o xftglyphs.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftinit.c -o xftinit.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftlist.c -o xftlist.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -fPIC -DPIC -c xftname.c -o xftname.o
> cc -O2 -pipe -march=i686  -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include -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: syntax 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: syntax error before `)'
> xftrender.c:340: `XGlyphElt32' undeclared (first use in this function)
> xftrender.c:340: syntax 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: syntax 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: syntax error before `)'
> xftrender.c:601: `XGlyphElt32' undeclared (first use in this function)
> xftrender.c:601: syntax error before `)'
> gmake: *** [xftrender.o] Error 1
> *** Error code 2
> 
> Stop in /usr/ports/x11-fonts/Xft.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-gnome" in the body of the message
-- 
PGP Key : http://www.marcuscom.com/pgp.asc




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1043433576.325.66.camel>